00001 #ifndef IGUANA_GL_BROWSERS_IG_3D_SYSTEM_H
00002 # define IGUANA_GL_BROWSERS_IG_3D_SYSTEM_H
00003
00004
00005
00006 # include "Iguana/GLBrowsers/interface/config.h"
00007 # include <classlib/utils/Callback.h>
00008 # include <list>
00009
00010
00011
00012
00013
00014 class IgState;
00015 class QWidget;
00016
00017
00018
00019
00020
00021 class IGUANA_GL_BROWSERS_API Ig3DSystem
00022 {
00023 public:
00024
00025
00026
00027
00028
00029 static void initAction (lat::Callback action);
00030
00031 static void init (IgState *state, QWidget *mainWindow);
00032 static QWidget * init (IgState *state, int argc, char **argv,
00033 const char *appname, const char *classname);
00034
00035 private:
00036 static void doinit (IgState *state);
00037
00038 static bool s_initialised;
00039 static std::list<lat::Callback> s_actions;
00040 };
00041
00042
00043
00044
00045 #endif // IGUANA_GL_BROWSERS_IG_3D_SYSTEM_H