fortschritt plottyfile

This commit is contained in:
Tristan Krause 2019-03-27 16:08:28 +01:00
parent 0f71e121fa
commit 71b156aa6f
13 changed files with 71 additions and 17 deletions

View file

@ -4,14 +4,19 @@
#include <iostream>
#include <fstream>
#include <exception>
#include <vector>
#include "dot.h"
class PlottyFile
{
public:
void addDot(Dot& dot);
void writeToFile(std::string filename);
private:
void prepStr(std::string& str, uint8_t len);
std::vector<Dot> dots;
int8_t command;
std::string title;
std::string filetype;