00001 
00002 
00003 
00004 
00005 
00006 
00007 
00008 
00009 
00010 
00011 
00012 
00013 
00014 
00015 
00016 
00017 
00018 
00019 
00020 
00021 
00022 
00023 #ifndef SO_GUI_H
00024 #define SO_GUI_H
00025 
00026 #include <Inventor/sys/port.h>
00027 #include <Inventor/SbBasic.h>
00028 
00029 #include <SoVersion.h>
00030 #ifndef HIDDEN_FROM_DOC
00031 
00032 #if defined(_WIN32)
00033 #  if defined(_DEBUG)
00034 #    define __INVGUILIB  "InventorGuiD.lib"
00035 #    define __INVGUIDLL  "InventorGuiD.dll"
00036 #  else
00037 #    define __INVGUILIB  "InventorGui.lib"
00038 #    define __INVGUIDLL  "InventorGui.dll"
00039 #  endif
00040 #  ifndef InventorGui_EXPORTS
00041 #    ifndef OIV_DISABLE_AUTOLINK
00042 #      pragma comment(lib,__INVGUILIB)
00043 #    endif
00044 #  endif
00045 #else
00046 #  define __INVGUIDLL  "libInventorGui"
00047 #endif
00048 
00049 #endif // HIDDEN_FROM_DOC
00050 
00051 #include <Inventor/SoModule.h>
00052 #ifndef HIDDEN_FROM_DOC
00053 SO_MODULE_HEADER(SoInventorGui, __INVGUIDLL)
00054 #endif
00055 
00056 
00057 class  SoGui
00058 {
00059 private:
00063   static void init();
00064   static void threadInit();
00065 
00069   static void finish();
00070 
00074   static bool isInitialized();
00075 
00076 private:
00077   static int s_initRefCount;
00078   static void remoteInit();
00079   static void remoteFinish();
00080 };
00081 
00082 #endif // SO_GUI_H
00083 
00084