Link to: source code | other
interface directory
Copyright Turtle Creek Software 1996-2006. All Rights Reserved.
This class manages the clipboard for copy and paste in the
Goldenseal small business accounting software,
project management software, construction
accounting software
and construction software.
class CTCS_Clipboard
{
public:
CTCS_Clipboard() {}; // static object, usually not created
~CTCS_Clipboard() {};
static void PutData(TCS_Handle theData, ResType theType = cTextResType,
Boolean emptyFirst = true);
static void PutIconSuite(TCS_Handle suiteH);
static TCS_Handle GetData(ResType theType = cTextResType, SInt32 *outOffset = nil);
static TCS_Handle GetPictData() { return GetData(cPictResType); };
static TCS_Handle GetTextData() { return GetData(cTextResType); };
static TCS_Handle GetIconSuite();
static SInt32 GetNumItems();
static Boolean HasIconSuiteData();
static Boolean HasData(ResType theType) { return DataSize(theType) > 0; };
static SInt32 DataSize(ResType theType = cTextResType);
static void Empty();
}; |