Choreonoid  1.8
App.h
Go to the documentation of this file.
1 
5 #ifndef CNOID_BASE_APP_H
6 #define CNOID_BASE_APP_H
7 
8 #ifdef _WIN32
9 #include <windows.h>
10 #endif
11 
12 #include "exportdecl.h"
13 
14 namespace cnoid {
15 
16 class CNOID_EXPORT App
17 {
18 
19 public:
20  App(int& argc, char** argv);
21 
22 #ifdef _WIN32
23  App(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR lpCmdLine, int nCmdShow);
24 #endif
25 
26  ~App();
27 
28  void initialize(const char* appName, const char* vendorName, const char* pluginPathList = nullptr);
29 
30  int exec();
31 
32 private:
33  class Impl;
34  Impl* impl;
35 };
36 
37 }
38 
39 #endif
cnoid::App
Definition: App.h:16
cnoid
Definition: AbstractSceneLoader.h:11