Revision 21,
1.7 KB
checked in by lucsch, 12 years ago
(diff) |
- TmDmCreator is now working (supports language selection)
- Adding swisstopo data model definition
|
Line | |
---|
1 | /*************************************************************************** |
---|
2 | tmdmcreator.h |
---|
3 | ------------------- |
---|
4 | copyright : (C) 2012 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 _TMDMCREATOR_H_ |
---|
17 | #define _TMDMCREATOR_H_ |
---|
18 | |
---|
19 | #include "wx/wxprec.h" |
---|
20 | #ifndef WX_PRECOMP |
---|
21 | #include <wx/wx.h> |
---|
22 | #endif |
---|
23 | #include <wx/filename.h> |
---|
24 | |
---|
25 | class TmDmCreator { |
---|
26 | private: |
---|
27 | wxFileName m_FileNameBaseSQL; |
---|
28 | wxFileName m_FileNameUserSQL; |
---|
29 | wxFileName m_FileNameUserContent; |
---|
30 | wxFileName m_FileNameOutSQL; |
---|
31 | |
---|
32 | bool _CheckExistsAndExt(const wxFileName & filename, const wxString & extension, wxArrayString * errormsg); |
---|
33 | |
---|
34 | public: |
---|
35 | TmDmCreator(); |
---|
36 | virtual ~TmDmCreator(); |
---|
37 | |
---|
38 | void SetBaseSQL(wxFileName value); |
---|
39 | void SetUserSQL(wxFileName value); |
---|
40 | void SetUserContent(wxFileName value); |
---|
41 | void SetOutSQL(wxFileName value); |
---|
42 | |
---|
43 | bool CheckFiles(wxArrayString & errormsg); |
---|
44 | bool ProcessFiles(wxArrayString & errorsmsg, int languagecolumn); |
---|
45 | }; |
---|
46 | #endif |
---|
Note: See
TracBrowser
for help on using the repository browser.