source: branches/work_304/Main.h @ 333

Revision 333, 1.1 KB checked in by jls17, 6 years ago (diff)
  • few changes to fix or suppress compiler warnings
Line 
1//Copyright (C) 2012 John Luthgers | jls17
2//
3//This file is part of ARInside.
4//
5//    ARInside is free software: you can redistribute it and/or modify
6//    it under the terms of the GNU General Public License as published by
7//    the Free Software Foundation, version 2 of the License.
8//
9//    ARInside is distributed in the hope that it will be useful,
10//    but WITHOUT ANY WARRANTY; without even the implied warranty of
11//    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
12//    GNU General Public License for more details.
13//
14//    You should have received a copy of the GNU General Public License
15//    along with ARInside.  If not, see <http://www.gnu.org/licenses/>.
16
17#pragma once
18
19#include "util/AppTimer.h"
20
21// forward declarations
22class AppConfig;
23
24class CMain
25{
26public:
27        int Run(int argc, char* argv[]);
28
29private:
30        const char* GetPlatformString() const;
31        void OutputARInsideBanner();
32
33        int StartServerMode(AppConfig &appConfig);
34        int StartFileMode(AppConfig &appConfig);
35
36        static void DoDeleteExistingFiles(std::string path);
37
38private:
39        CAppTimer mTimer;
40};
Note: See TracBrowser for help on using the repository browser.