commiting fixes from Ettore for building on linux & win 32
[blender.git] / intern / ghost / intern / GHOST_NDOFManager.h
index 2e905ed53d2d085b74ebcdf2aa44cad5b4ca2381..c1f0b2c80af478ceb795bab9f069cb2e003afe70 100644 (file)
 class GHOST_NDOFManager
 {
 public:
-       /**
-        * Constructor.
-        */
        GHOST_NDOFManager();
-
-       /**
-        * Destructor.
-        */
        virtual ~GHOST_NDOFManager();
 
     void deviceOpen(GHOST_IWindow* window,
@@ -46,16 +39,10 @@ public:
         GHOST_NDOFLibraryShutdown_fp setNdofLibraryShutdown,
         GHOST_NDOFDeviceOpen_fp setNdofDeviceOpen);
         
-    void GHOST_NDOFGetDatas(GHOST_TEventNDOFData &datas);
+    void GHOST_NDOFGetDatas(GHOST_TEventNDOFData &datas) const;
         
-//        GHOST_NDOFEventHandler_fp setNdofEventHandler);
-
-    bool available();
-    bool event_present();
-
-/* original patch. unused now */
-    /* to do: abstract for Linux, MacOS, etc. */
-//    GHOST_TEventNDOFData* handle(unsigned int message, unsigned int* wparam, unsigned long* lparam);
+    bool available() const;
+    bool event_present() const;
 
 protected:
     void* m_DeviceHandle;