comparison src/MatchMarkers.h @ 51:6f6461b0d07f

Marker loading and saving via dialog box
author Andrew N Robertson <andrew.robertson@eecs.qmul.ac.uk>
date Thu, 14 Jun 2012 23:12:36 +0100
parents 93d21c20cfbc
children
comparison
equal deleted inserted replaced
50:93d21c20cfbc 51:6f6461b0d07f
14 #include <iostream> 14 #include <iostream>
15 #include <fstream> 15 #include <fstream>
16 using namespace std; 16 using namespace std;
17 17
18 #include "ofMain.h" 18 #include "ofMain.h"
19 #include "ofxFileDialogOSX.h"
19 20
20 class MatchMarkers{ 21 class MatchMarkers{
21 22
22 public: 23 public:
23 MatchMarkers(); 24 MatchMarkers();
32 33
33 //text file stuff 34 //text file stuff
34 void saveMarkers(); 35 void saveMarkers();
35 void saveMarkers(const std::string& filePath); 36 void saveMarkers(const std::string& filePath);
36 37
38 void loadMarkerFile(std::string filePath);
39 void load();
40
41 void loadFile();//from dialog box
42 void saveFile();
43
37 ofstream markerOutputFile; 44 ofstream markerOutputFile;
45 string output;
38 46
39 }; 47 };
40 #endif 48 #endif