home *** CD-ROM | disk | FTP | other *** search
- //----------------------------------------------------------------------------
- // Clipbrd.hpp - dcc32 generated hdr (DO NOT EDIT) rev: -2
- // From: Clipbrd.pas
- //----------------------------------------------------------------------------
- #ifndef ClipbrdHPP
- #define ClipbrdHPP
- //----------------------------------------------------------------------------
- #ifndef GraphicsHPP
- #include <Graphics.hpp>
- #endif
-
- #ifndef ClassesHPP
- #include <Classes.hpp>
- #endif
-
- #ifndef MessagesHPP
- #include <Messages.hpp>
- #endif
-
- #ifndef WindowsHPP
- #include <Windows.hpp>
- #endif
-
- #ifndef SystemHPP
- #include <System.hpp>
- #endif
-
- namespace Clipbrd
- {
- //-- type declarations -------------------------------------------------------
- class __declspec(delphiclass) TClipboard;
- class __declspec(pascalimplementation) TClipboard : public Classes::TPersistent
- {
- typedef TClipboard ThisClass;
- typedef Classes::TPersistent inherited;
-
- private:
- System::Integer FOpenRefCount;
- System::Integer FClipboardWindow;
- System::Boolean FAllocated;
- System::Boolean FEmptied;
- void __fastcall Adding(void);
- void __fastcall AssignGraphic(Graphics::TGraphic *Source);
- void __fastcall AssignPicture(Graphics::TPicture *Source);
- void __fastcall AssignToBitmap(Graphics::TBitmap *Dest);
- void __fastcall AssignToMetafile(Graphics::TMetafile *Dest);
- void __fastcall AssignToPicture(Graphics::TPicture *Dest);
- System::AnsiString __fastcall GetAsText(void);
- System::Integer __fastcall GetFormatCount(void);
- System::Word __fastcall GetFormats(System::Integer Index);
- void __fastcall SetAsText(const System::AnsiString Value);
- void __fastcall SetBuffer(System::Word Format, void *Buffer, System::Integer Size);
- void __fastcall WndProc(Messages::TMessage &Message);
-
- protected:
- virtual void __fastcall AssignTo(Classes::TPersistent *Dest);
-
- public:
- virtual void __fastcall Assign(Classes::TPersistent *Source);
- void __fastcall Clear(void);
- void __fastcall Close(void);
- Classes::TComponent *__fastcall GetComponent(Classes::TComponent *Owner, Classes::TComponent *Parent
- );
- System::Integer __fastcall GetAsHandle(System::Word Format);
- System::Integer __fastcall GetTextBuf(System::PChar Buffer, System::Integer BufSize);
- System::Boolean __fastcall HasFormat(System::Word Format);
- void __fastcall Open(void);
- void __fastcall SetComponent(Classes::TComponent *Component);
- void __fastcall SetAsHandle(System::Word Format, System::Integer Value);
- void __fastcall SetTextBuf(System::PChar Buffer);
- __property System::AnsiString AsText = {read=GetAsText, write=SetAsText, nodefault};
- __property System::Integer FormatCount = {read=GetFormatCount, nodefault};
- __property System::Word Formats[System::Integer Index] = {read=GetFormats};
- public:
- /* !! TObject.Create */ __fastcall TClipboard(void) : Classes::TPersistent() { }
- /* !! TObject.Destroy */ __fastcall virtual ~TClipboard(void) { }
-
- };
-
- //-- var, const, procedure ---------------------------------------------------
- extern System::Word CF_PICTURE;
- extern System::Word CF_COMPONENT;
- extern TClipboard *__fastcall Clipboard(void);
- extern TClipboard *__fastcall SetClipboard(TClipboard *NewClipboard);
-
- } /* namespace Clipbrd */
- #if !defined(NO_IMPLICIT_NAMESPACE_USE)
- using namespace Clipbrd;
- #endif
- //-- end unit ----------------------------------------------------------------
- #endif // Clipbrd
-