summaryrefslogtreecommitdiffstats
path: root/test/cbot/CBot_console/CBotDoc.h
blob: 82af7b06627a5904f93358fe0151b2378a4652e2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
/*
 * CBotDoc.h
 *
 *  Created on: 08-08-2012
 *      Author: michal
 */

#pragma once

#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();

};