// Name: wx/mac/corefoundation/cfdata.h
// Purpose: wxCFDataRef class
// Author: Stefan Csomor
-// Modified by:
+// Modified by:
// Created: 2007/05/10
// RCS-ID: $Id: cfdataref.h 46095 2007-05-18 07:29:49Z SC $
// Copyright: (c) 2007 Stefan Csomor
#ifndef _WX_MAC_COREFOUNDATION_CFDATAREF_H__
#define _WX_MAC_COREFOUNDATION_CFDATAREF_H__
-#include "wx/mac/corefoundation/cfref.h"
+#include "wx/osx/core/cfref.h"
#include <CoreFoundation/CFData.h>
{}
typedef wxCFRef<CFDataRef> super_type;
-
+
/*! @method wxCFDataRef
@abstract Assumes ownership of p and creates a reference to it.
@templatefield otherType Any type.
@param data The raw data.
@param length The data length.
*/
- wxCFDataRef(const UInt8* data, CFIndex length)
+ wxCFDataRef(const UInt8* data, CFIndex length)
: super_type(CFDataCreate(kCFAllocatorDefault, data, length))
{
}
else
return 0;
}
-
+
/*! @method GetBytes
@abstract Copies the data into an external buffer
@param range The desired range.