]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/mac/carbon/private/hid.h
Documentation patch from Olly Betts
[wxWidgets.git] / include / wx / mac / carbon / private / hid.h
index 2947ee357590d3f75882145b034cc5cfdc639816..cf43a804d2d41ff2002327ce73ceb66557998747 100644 (file)
@@ -1,4 +1,38 @@
-#include <wx/wx.h>
+/////////////////////////////////////////////////////////////////////////////
+// Name:        hid.h
+// Purpose:     DARWIN HID layer for WX
+// Author:      Ryan Norton
+// Modified by:
+// Created:     11/11/2003
+// RCS-ID:      $Id$
+// Copyright:   (c) Ryan Norton
+// Licence:     wxWindows licence
+/////////////////////////////////////////////////////////////////////////////
+// ===========================================================================
+// declarations
+// ===========================================================================
+
+// ---------------------------------------------------------------------------
+// headers
+// ---------------------------------------------------------------------------
+
+#ifndef _WX_MACCARBONHID_H_
+#define _WX_MACCARBONHID_H_
+
+#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
+    #pragma interface "hid.h"
+#endif
+
+#include "wx/defs.h"
+
+
+// ---------------------------------------------------------------------------
+// definitions
+// ---------------------------------------------------------------------------
+
+//Mac OSX only
+#ifdef __DARWIN__
+
 #include <IOKit/IOKitLib.h>
 #include <IOKit/IOCFPlugIn.h>
 #include <IOKit/hid/IOHIDLib.h>
@@ -60,4 +94,9 @@ class wxHIDKeyboard : public wxHIDDevice
 public:
        bool Create();
        virtual void BuildCookies(wxCFArray& Array);
-};
\ No newline at end of file
+};
+
+#endif //__DARWIN__
+
+#endif 
+        //WX_MACCARBONHID_H
\ No newline at end of file