summaryrefslogtreecommitdiffstats
path: root/test/cbot/CBot_console/CBotDoc.h
diff options
context:
space:
mode:
Diffstat (limited to 'test/cbot/CBot_console/CBotDoc.h')
-rw-r--r--test/cbot/CBot_console/CBotDoc.h39
1 files changed, 39 insertions, 0 deletions
diff --git a/test/cbot/CBot_console/CBotDoc.h b/test/cbot/CBot_console/CBotDoc.h
new file mode 100644
index 0000000..c0a3e1d
--- /dev/null
+++ b/test/cbot/CBot_console/CBotDoc.h
@@ -0,0 +1,39 @@
+/*
+ * CBotDoc.h
+ *
+ * Created on: 08-08-2012
+ * Author: michal
+ */
+
+#pragma once
+#ifndef CBOTDOC_H_
+#define CBOTDOC_H_
+
+#include "CClass.h"
+#include <string>
+
+class CBotDoc {
+
+public:
+ CBotDoc(std::string);
+ virtual ~CBotDoc();
+
+// CEdit* m_pEdit; // to memorize the text, and display
+ CBotProgram* m_pProg; // the compiled program
+ std::string m_DocText;
+ CBotStringArray m_Liste;
+
+// Operations
+
+ bool Compile();
+
+// virtual bool OnNewDocument();
+
+ void OnRun();
+ void OnChangeEdit1();
+ void OnTest();
+
+};
+
+
+#endif /* CBOTDOC_H_ */