Planeshift
navgen.h
Go to the documentation of this file.
1 /*
2  * navgen.h - Author: Matthieu Kraus
3  *
4  * Copyright (C) 2010 Atomic Blue (info@planeshift.it, http://www.atomicblue.org)
5  *
6  *
7  * This program is free software; you can redistribute it and/or
8  * modify it under the terms of the GNU General Public License
9  * as published by the Free Software Foundation (version 2 of the License)
10  * This program is distributed in the hope that it will be useful,
11  * but WITHOUT ANY WARRANTY; without even the implied warranty of
12  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13  * GNU General Public License for more details.
14  * You should have received a copy of the GNU General Public License
15  * along with this program; if not, write to the Free Software
16  * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
17  *
18  */
19 
20 #include <cssysdef.h>
21 #include <iutil/document.h>
22 #include <iutil/vfs.h>
23 #include <iutil/cfgmgr.h>
24 #include <iengine/engine.h>
25 #include <ibgloader.h>
26 #include <tools/celhpf.h>
27 
28 class NavGen
29 {
30 public:
31  NavGen(iObjectRegistry* object_reg);
32  ~NavGen();
33 
34  void Run();
35 
36 private:
37  void PrintHelp();
38  csRef<iBgLoader> loader;
39  csRef<iVFS> vfs;
40  csRef<iEngine> engine;
41  csRef<iCelHNavStructBuilder> builder;
42  csRef<iConfigManager> config;
43  iObjectRegistry* object_reg;
44 };
45 
void Run()
Definition: navgen.h:28
NavGen(iObjectRegistry *object_reg)