]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/mac/corefoundation/hid.h
Some corefoundation wrappers, Implement Associate and Unassociate for mac mime types
[wxWidgets.git] / include / wx / mac / corefoundation / hid.h
index 3789e81ff31e7b810d997719b4a39bd5740df260..6ea4535f3a084ab085f43d2c13957dc3e9ffb51c 100644 (file)
 
 #include <mach/mach.h>
 
-//Utility wrapper around CFArray
-class wxCFArray
-{
-public:
-       wxCFArray(CFTypeRef pData) : pArray((CFArrayRef) pData) {}
-       CFTypeRef operator [] (const int& nIndex) {return CFArrayGetValueAtIndex(pArray, nIndex); }
-       int Count() {return CFArrayGetCount(pArray);}
-private:
-       CFArrayRef pArray;
-};
+#include "wx/mac/corefoundation/cfwrappers.h"
 
 //
 //     A wrapper around OS X HID Manager procedures.