Just cleaned up a bit, removed unnecessary headers ETC.
Next revision is 1337 ;)
This commit is contained in:
parent
c7374b797e
commit
6da6496222
|
@ -1,6 +1,5 @@
|
|||
#include <set>
|
||||
#include <fstream>
|
||||
#include <iostream> //Allows us to save the project and other data :)
|
||||
|
||||
#include "common.h"
|
||||
#include "tasedit.h"
|
||||
|
|
|
@ -4,6 +4,16 @@
|
|||
//Contains all the TASEDit project and all files/settings associated with it
|
||||
//Also contains all methods for manipulating the project files/settings, and saving them to disk
|
||||
|
||||
/*
|
||||
//Private members
|
||||
//The TASEdit Project's name
|
||||
std::string projectName;
|
||||
//The FM2's file name
|
||||
std::string fm2FileName;
|
||||
//The TASEdit Project's filename (For saving purposes)
|
||||
std::string projectFile;
|
||||
*/
|
||||
|
||||
#include <string>
|
||||
#include <iostream>
|
||||
#include <fstream>
|
||||
|
@ -42,7 +52,7 @@ void TASEDIT_PROJECT::SaveProject()
|
|||
const char* filename = PFN.c_str();
|
||||
std::ofstream ofs;
|
||||
ofs.open(filename);
|
||||
ofs << GetProjectName() << endl;
|
||||
ofs << GetFM2Name() << endl;
|
||||
ofs << GetProjectName() << std::endl;
|
||||
ofs << GetFM2Name() << std::endl;
|
||||
ofs.close();
|
||||
}
|
|
@ -8,18 +8,9 @@
|
|||
|
||||
#include <string>
|
||||
|
||||
using namespace std;
|
||||
|
||||
class TASEDIT_PROJECT
|
||||
{
|
||||
public:
|
||||
//The TASEdit Project's name
|
||||
std::string projectName;
|
||||
//The FM2's file name
|
||||
std::string fm2FileName;
|
||||
//The TASEdit Project's filename (For saving purposes)
|
||||
std::string projectFile;
|
||||
|
||||
std::string GetProjectName();
|
||||
void SetProjectName(std::string e);
|
||||
|
||||
|
@ -31,4 +22,12 @@ public:
|
|||
|
||||
//Guess what this function is for...
|
||||
void SaveProject();
|
||||
|
||||
private:
|
||||
//The TASEdit Project's name
|
||||
std::string projectName;
|
||||
//The FM2's file name
|
||||
std::string fm2FileName;
|
||||
//The TASEdit Project's filename (For saving purposes)
|
||||
std::string projectFile;
|
||||
};
|
Loading…
Reference in New Issue