--- /dev/null
+\r
+#ifndef __DEVCPP_H__\r
+#define __DEVCPP_H__\r
+\r
+#include <fstream>\r
+#include <vector>\r
+#include <string>\r
+\r
+#include "../backend.h"\r
+\r
+class FileUnit\r
+{\r
+ public:\r
+ std::string filename;\r
+ std::string folder;\r
+};\r
+\r
+class DevCppBackend : public Backend\r
+{\r
+ public:\r
+\r
+ DevCppBackend(Project &project);\r
+ virtual ~DevCppBackend() {}\r
+\r
+ virtual void Process();\r
+\r
+ private:\r
+\r
+ void ProcessModules();\r
+ void ProcessFile(std::string &filename);\r
+ \r
+ bool CheckFolderAdded(std::string &folder);\r
+ void AddFolders(std::string &folder);\r
+\r
+ void OutputFolders();\r
+ void OutputFileUnits();\r
+ \r
+ std::vector<FileUnit> m_fileUnits;\r
+ std::vector<std::string> m_folders;\r
+\r
+ int m_unitCount;\r
+\r
+ std::ofstream m_devFile;\r
+};\r
+\r
+#endif // __DEVCPP_H__\r
+\r