/////////////////////////////////////////////////////////////////////////////
-// Name: wx/mac/corefoundation/cfdata.h
+// Name: wx/osx/core/cfdataref.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
// Licence: wxWindows licence
// Notes: See http://developer.apple.com/documentation/CoreFoundation/Conceptual/CFBinaryData/index.html
/////////////////////////////////////////////////////////////////////////////
-/*! @header wx/mac/corefoundation/cfref.h
+/*! @header wx/osx/core/cfdataref.h
@abstract wxCFDataRef template class
*/
{}
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.