Some corefoundation wrappers, Implement Associate and Unassociate for mac mime types

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33732 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Ryan Norton
2005-04-18 21:23:11 +00:00
parent 7fff801f2c
commit dd9b4b7f11
6 changed files with 1110 additions and 43 deletions

View File

@@ -41,16 +41,7 @@
#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.