]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/mac/corefoundation/hid.h
use -Wunused-parameter with gcc for consistency with MSVC and other compilers which...
[wxWidgets.git] / include / wx / mac / corefoundation / hid.h
index 077a4c44359d528a08602e1f82ac44f2ca80d654..e6df5cb45ff7dd21fd445123c416fc77ac438553 100644 (file)
@@ -54,7 +54,7 @@ extern "C" {
 // Quite good, as is the sample program associated with it
 // (Depite the author's protests!).
 // ---------------------------------------------------------------------------
-class wxHIDDevice
+class WXDLLIMPEXP_CORE wxHIDDevice
 {
 public:
     wxHIDDevice() : m_ppDevice(NULL), m_ppQueue(NULL), m_pCookies(NULL) {}
@@ -91,7 +91,7 @@ protected:
     wxString    m_szProductName; //product name
     int         m_nProductId; //product id
     int         m_nManufacturerId; //manufacturer id
-    mach_port_t                        m_pPort;            //mach port to use
+    mach_port_t m_pPort;            //mach port to use
 };
 
 // ---------------------------------------------------------------------------
@@ -100,7 +100,7 @@ protected:
 // Semi-simple implementation that opens a connection to the first
 // keyboard of the machine. Used in wxGetKeyState.
 // ---------------------------------------------------------------------------
-class wxHIDKeyboard : public wxHIDDevice
+class WXDLLIMPEXP_CORE wxHIDKeyboard : public wxHIDDevice
 {
 public:
     static int GetCount();
@@ -112,4 +112,5 @@ public:
 
 #endif //__DARWIN__
 
-#endif //WX_MACCARBONHID_H
+#endif
+    // _WX_MACCARBONHID_H_