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

Revision 15, 1.8 KB checked in by lucsch, 11 years ago (diff)

Adding UML analysis and skeleton code

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
27
28class TmDmCopier;
29
30class TmDmProcessor {
31  protected:
32    TmDmCopier * m_Copier;
33
34
35  public:
36    TmDmProcessor();
37
38    virtual ~TmDmProcessor();
39
40    int FindBlock(const wxString & blockname);
41
42    virtual bool ProcessBlock(int blockstart, TmDmCopier * copier) = 0;
43
44};
45class TmDmProcessorSimple : public TmDmProcessor {
46  public:
47    TmDmProcessorSimple();
48
49    virtual ~TmDmProcessorSimple();
50
51    virtual bool ProcessBlock(int blockstart, TmDmCopier * copier);
52
53};
54class TmDmProcessorAttributs : public TmDmProcessor {
55  public:
56    TmDmProcessorAttributs();
57
58    virtual ~TmDmProcessorAttributs();
59
60    virtual bool ProcessBlock(int blockstart, TmDmCopier * copier);
61
62};
63#endif
Note: See TracBrowser for help on using the repository browser.