Version: 0.6.0
Main Page
Related Pages
Classes
Files
File List
All
Classes
Functions
Variables
Pages
plugin.h
1
/******************************************************************************
2
* Project: wxGIS (GIS Server)
3
* Purpose: Some plugin interface and implementation classes
4
* Author: Bishop (aka Barishnikov Dmitriy), polimax@mail.ru
5
******************************************************************************
6
* Copyright (C) 2008-2010 Bishop
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
#pragma once
22
/*
23
#include "wxgissrv/srv_framework/framework.h"
24
25
#include "wx/dir.h"
26
#include "wx/filename.h"
27
#include "wx/file.h"
28
#include "wx/ffile.h"
29
#include "wx/datetime.h"
30
#include "wx/intl.h"
31
#include "wx/dynload.h"
32
#include "wx/dynlib.h"
33
34
50
/*
51
class WXDLLIMPEXP_GIS_FRW wxGISWorkPlugin
52
{
53
public:
54
wxGISWorkPlugin(void);
55
virtual ~wxGISWorkPlugin(void);
56
virtual bool Start(wxString sAppName, wxString sConfigDir, wxCmdLineParser& parser);
57
virtual void Stop();
58
typedef std::map<wxString, wxDynamicLibrary*> LIBMAP;
59
protected:
60
virtual void LoadLibs(wxXmlNode* pRootNode);
61
virtual void UnLoadLibs(void);
62
virtual bool SetupSys(wxString sSysPath);
63
virtual void SetDebugMode(bool bDebugMode);
64
virtual bool SetupLog(wxString sLogPath, wxString sNamePrefix);
65
virtual bool SetupLoc(wxString sLoc, wxString sLocPath);
66
protected:
67
wxLocale* m_pLocale; // locale we'll be using
68
char* m_pszOldLocale;
69
wxFFile m_LogFile;
70
wxGISAppConfig* m_pConfig;
71
LIBMAP m_LibMap;
72
};
73
*/
include
wxgissrv
srv_framework
plugin.h
Generated on Fri Sep 26 2014 01:10:56 for ngm by
1.8.6