#ifndef ClipBoard_First #define ClipBoard_First #ifdef __GNUG__ #pragma interface #endif #include "Object.h" class View; class Data; class Command; //---- clipboard types --------------------------------------------------------- class ClipBoard : public Object { protected: Data *data; public: MetaDef(ClipBoard); ClipBoard(); ~ClipBoard(); void SetData(Data *data); Data *GetType() { return data; } void SelectionToClipboard(Object *op, bool makecopy= TRUE); Command *PasteClipboard(View*); bool CanPaste(View*); }; extern ClipBoard *gClipBoard; #endif