Subversion Repositories spk

Rev

Rev 1 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 1 Rev 114
Line 7... Line 7...
7
#define BOD_PARSER_INCLUDED
7
#define BOD_PARSER_INCLUDED
8
 
8
 
9
#include "bod_bob_parser.h"
9
#include "bod_bob_parser.h"
10
#include "bob_dom.h"
10
#include "bob_dom.h"
11
#include "settings.h"
11
#include "settings.h"
12
#include "bob_dom_filestream.h"
12
#include "bob_stream.h"
13
 
13
 
14
class bod_parser : public bod_parser_base
14
class bod_parser : public bod_parser_base
15
{
15
{
16
	private:
16
	private:
17
		const Settings *m_settings;
17
		const Settings *m_settings;
Line 28... Line 28...
28
	
28
	
29
		bod_parser(const Settings *settings) { m_settings=settings; }
29
		bod_parser(const Settings *settings) { m_settings=settings; }
30
		
30
		
31
		bob_dom_document * parseBuffer(char *pszBuffer, size_t size, fileType type);
31
		bob_dom_document * parseBuffer(char *pszBuffer, size_t size, fileType type);
32
		
32
		
33
		bool compile(char *pszBuffer, size_t size, fileType type, bob_dom_obinaryfilestream& os);
33
		bool compile(char *pszBuffer, size_t size, fileType type, obinaryfilestream& os);
34
};
34
};
35
 
35
 
36
#endif // !defined(BOD_PARSER_INCLUDED)
36
#endif // !defined(BOD_PARSER_INCLUDED)