Version: 0.6.0
catalog.h
1 /******************************************************************************
2  * Project: wxGIS (GIS Server)
3  * Purpose: wxGxServerCatalog class.
4  * Author: Bishop (aka Barishnikov Dmitriy), polimax@mail.ru
5  ******************************************************************************
6 * Copyright (C) 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 #include "wxgis/catalog/gxcatalog.h"
25 #include "wxgis/networking/message.h"
26 
32 /*
33 class WXDLLIMPEXP_GIS_FRW wxRxCatalog :
34  public wxGxCatalog,
35  public IService,
36  public INetMessageReceiver
37 {
38 public:
39  wxRxCatalog(void);
40  virtual ~wxRxCatalog(void);
41  //wxGxCatalog
42  void Init(void);
43  virtual wxString GetName(void){return wxString(wxT("root"));};
44  virtual void LoadChildren(wxXmlNode* pNode);
45  //IService
46  virtual bool Start(IServerApplication* pApp, wxXmlNode* pConfig);
47  virtual bool Stop(void);
48  //INetMessageReceiver
49  virtual void ProcessMessage(WXGISMSG msg, wxXmlNode* pChildNode);
50 protected:
51  IServerApplication* m_pApp;
52 };
53 */