Version: 0.6.0
catalogapp.h
1 /******************************************************************************
2  * Project: wxGIS (GIS Catalog)
3  * Purpose: Main application class.
4  * Author: Dmitry Baryshnikov (aka Bishop), polimax@mail.ru
5  ******************************************************************************
6 * Copyright (C) 2009,2012,2013 Dmitry Baryshnikov
7 *
8 * This program is free software: you can redistribute it and/or modify
9 * it under the terms of the GNU General Public License as published by
10 * the Free Software Foundation, either version 2 of the License, or
11 * (at your option) any later version.
12 *
13 * This program is distributed in the hope that it will be useful,
14 * but WITHOUT ANY WARRANTY; without even the implied warranty of
15 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 * GNU General Public License for more details.
17 *
18 * You should have received a copy of the GNU General Public License
19 * along with this program. If not, see <http://www.gnu.org/licenses/>.
20  ****************************************************************************/
21 
22 #pragma once
23 
24 #include "wxgis/base.h"
25 #include "wxgis/core/init.h"
26 #include "wxgis/cat_app/catalogframe.h"
27 
28 #include <wx/app.h>
29 
35  public wxApp,
36  public wxGISAppWithLibs
37 {
38 public:
39  wxGISCatalogApp(void);
40  virtual ~wxGISCatalogApp(void);
41  virtual bool OnInit();
42  virtual int OnExit();
43  virtual void OnEventLoopEnter(wxEventLoopBase* loop);
44 protected:
45  wxGISCatalogFrame* m_pMainFrame;
46  bool m_bMainFrameCreated;
47 };
48 
49 wxDECLARE_APP(wxGISCatalogApp);
50 
51 
Definition: catalogframe.h:38
Definition: init.h:44
Definition: catalogapp.h:34