source: trunk/tmdmcreator/src/tmdmprocessor.h @ 16

Revision 16, 1.8 KB checked in by lucsch, 12 years ago (diff)

Copying Base and User SQL files into output file is now working

Line 
1/***************************************************************************
2 tmdmprocessor.h
3 -------------------
4 copyright            : (C) 2013 CREALP Lucien Schreiber
5 email                : lucien.schreiber at crealp dot vs dot ch
6 ***************************************************************************/
7
8/***************************************************************************
9 *                                                                         *
10 *   This program is free software; you can redistribute it and/or modify  *
11 *   it under the terms of the GNU General Public License as published by  *
12 *   the Free Software Foundation; either version 2 of the License, or     *
13 *   (at your option) any later version.                                   *
14 *                                                                         *
15 ***************************************************************************/
16#ifndef _TMDMPROCESSOR_H_
17#define _TMDMPROCESSOR_H_
18
19// For compilers that support precompilation, includes "wx/wx.h".
20#include "wx/wxprec.h"
21
22// Include wxWidgets' headers
23#ifndef WX_PRECOMP
24#include <wx/wx.h>
25#endif
26
27class TmDmCopier;
28class TmDmProcessor {
29protected:
30    TmDmCopier * m_Copier;
31   
32public:
33    TmDmProcessor();
34    virtual ~TmDmProcessor();
35   
36    int FindBlock(const wxString & blockname);
37    virtual bool ProcessBlock(int blockstart, TmDmCopier * copier) = 0;
38};
39
40
41
42
43
44
45
46class TmDmProcessorSimple : public TmDmProcessor {
47public:
48    TmDmProcessorSimple();
49    virtual ~TmDmProcessorSimple();
50   
51    virtual bool ProcessBlock(int blockstart, TmDmCopier * copier);
52};
53
54
55
56
57
58
59
60class TmDmProcessorAttributs : public TmDmProcessor {
61public:
62    TmDmProcessorAttributs();
63    virtual ~TmDmProcessorAttributs();
64   
65    virtual bool ProcessBlock(int blockstart, TmDmCopier * copier);
66};
67#endif
Note: See TracBrowser for help on using the repository browser.