Main Page | Class Hierarchy | Class List | Directories | File List | Class Members | File Members | Related Pages

GClipBoard.h

00001 #ifndef _GCLIPBOARD_H
00002 #define _GCLIPBOARD_H
00003 
00004 class LgiClass GClipBoard
00005 #ifdef XWIN
00006     : public QEventSink
00007 #endif
00008 {
00009     GView *Owner;
00010     bool Open;
00011     char *Txt;
00012     GSurface *pDC;
00013 
00014 #ifdef XWIN
00015     bool GotEvent;
00016     void OnEvent(XEvent *Event);
00017 #endif
00018     
00019 public:
00020     GClipBoard(GView *o);
00021     ~GClipBoard();
00022 
00023     bool IsOpen() { return true; }
00024     bool Empty();
00025 
00026     // Text
00027     bool Text(char *Str, bool AutoEmpty = true);
00028     char *Text();
00029 
00030     bool TextW(char16 *Str, bool AutoEmpty = true);
00031     char16 *TextW();
00032 
00033     // Bitmap
00034     bool Bitmap(GSurface *pDC, bool AutoEmpty = true);
00035     GSurface *Bitmap();
00036     #ifdef WIN32
00037     GSurface *ConvertFromPtr(void *Ptr);
00038     #endif
00039 
00040     // Binary
00041     bool Binary(int Format, uchar *Ptr, int Len, bool AutoEmpty);   // Set
00042     bool Binary(int Format, uchar **Ptr, int *Len); // Get
00043 };
00044 
00045 #endif

Generated on Wed Oct 26 14:46:48 2005 for Lgi by  doxygen 1.4.1