home *** CD-ROM | disk | FTP | other *** search
- //----------------------------------------------------------------------------
- // Clipbrd.hpp - bcbdcc32 generated hdr (DO NOT EDIT) rev: 0
- // From: Clipbrd.pas
- //----------------------------------------------------------------------------
- #ifndef ClipbrdHPP
- #define ClipbrdHPP
- //----------------------------------------------------------------------------
- #include <Graphics.hpp>
- #include <Classes.hpp>
- #include <Messages.hpp>
- #include <Windows.hpp>
- #include <System.hpp>
- #pragma warn -par
- #pragma warn -hid
- #pragma warn -inl
-
- namespace Clipbrd
- {
- //-- type declarations -------------------------------------------------------
- class __declspec(delphiclass) TClipboard;
- class __declspec(pascalimplementation) TClipboard : public Classes::TPersistent
- {
- typedef Classes::TPersistent inherited;
-
- private:
- int FOpenRefCount;
- HWND FClipboardWindow;
- bool FAllocated;
- bool 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);
- int __fastcall GetFormatCount(void);
- Word __fastcall GetFormats(int Index);
- void __fastcall SetAsText(const System::AnsiString Value);
- void __fastcall SetBuffer(Word Format, void *Buffer, int 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
- );
- int __fastcall GetAsHandle(Word Format);
- int __fastcall GetTextBuf(char * Buffer, int BufSize);
- bool __fastcall HasFormat(Word Format);
- void __fastcall Open(void);
- void __fastcall SetComponent(Classes::TComponent* Component);
- void __fastcall SetAsHandle(Word Format, int Value);
- void __fastcall SetTextBuf(char * Buffer);
- __property System::AnsiString AsText = {read=GetAsText, write=SetAsText, nodefault};
- __property int FormatCount = {read=GetFormatCount, nodefault};
- __property Word Formats[int Index] = {read=GetFormats};
- public:
- /* TObject.Create */ __fastcall TClipboard(void) : Classes::TPersistent() { }
- /* TObject.Destroy */ __fastcall virtual ~TClipboard(void) { }
-
- };
-
- //-- var, const, procedure ---------------------------------------------------
- extern Word CF_PICTURE;
- extern Word CF_COMPONENT;
- extern TClipboard* __fastcall Clipboard(void);
- extern TClipboard* __fastcall SetClipboard(TClipboard* NewClipboard);
- extern void __fastcall finalization(void);
-
- } /* namespace Clipbrd */
-
- #pragma warn .par
- #pragma warn .hid
- #pragma warn .inl
-
- #if !defined(NO_IMPLICIT_NAMESPACE_USE)
- using namespace Clipbrd;
- #endif
- //-- end unit ----------------------------------------------------------------
- #endif // Clipbrd
-