Changeset 17 for trunk/tmdmcreator/src/tmdmprocessor.h
- Timestamp:
- 02/21/13 17:14:39 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tmdmcreator/src/tmdmprocessor.h
r16 r17 17 17 #define _TMDMPROCESSOR_H_ 18 18 19 // For compilers that support precompilation, includes "wx/wx.h".20 19 #include "wx/wxprec.h" 21 22 // Include wxWidgets' headers23 20 #ifndef WX_PRECOMP 24 21 #include <wx/wx.h> 25 22 #endif 23 #include <wx/filename.h> 24 #include <wx/wfstream.h> 25 #include <wx/txtstrm.h> 26 26 27 27 28 class TmDmCopier; 28 29 class TmDmProcessor { 29 30 protected: 30 TmDmCopier * m_Copier; 31 wxFileName m_FileSrc; 32 wxFileName m_FileDst; 31 33 32 34 public: 33 TmDmProcessor( );35 TmDmProcessor(const wxFileName & src, const wxFileName & dest); 34 36 virtual ~TmDmProcessor(); 35 37 36 38 int FindBlock(const wxString & blockname); 37 virtual bool ProcessBlock(int blockstart , TmDmCopier * copier) = 0;39 virtual bool ProcessBlock(int blockstart) = 0; 38 40 }; 39 41 … … 46 48 class TmDmProcessorSimple : public TmDmProcessor { 47 49 public: 48 TmDmProcessorSimple( );50 TmDmProcessorSimple(const wxFileName & src, const wxFileName & dest); 49 51 virtual ~TmDmProcessorSimple(); 50 52 51 virtual bool ProcessBlock(int blockstart , TmDmCopier * copier);53 virtual bool ProcessBlock(int blockstart); 52 54 }; 53 55 … … 60 62 class TmDmProcessorAttributs : public TmDmProcessor { 61 63 public: 62 TmDmProcessorAttributs( );64 TmDmProcessorAttributs(const wxFileName & src, const wxFileName & dest); 63 65 virtual ~TmDmProcessorAttributs(); 64 66 65 virtual bool ProcessBlock(int blockstart , TmDmCopier * copier);67 virtual bool ProcessBlock(int blockstart); 66 68 }; 67 69 #endif
Note: See TracChangeset
for help on using the changeset viewer.