ec7ab0c811
* NEW: Support for installing control icons in native components. [64 BITS] * BUG: Fixed some uses of long datatype in the gb.qt.ext component, the Splitter and the Container class of gb.qt. * BUG: Fixed some declarations in the gb.net.curl component. * NEW: Pointer[] is a new class that represents an array of Pointer values. * BUG: All gb.qt, gb.gtk and gb.desktop methods that deal with X11 Window identifiers now use Pointer and Pointer[] datatypes instead of Integer and Integer[]. * BUG: The Embedder example was updated according to the change above. [INTERPRETER] * BUG: Fixed the static array management that was broken by the 64 bits changes. [GB.DEBUG] * BUG: Debug.Write now does nothing if Debug.Start has not been called. [GB.GTK] * BUG: Fixed the implementation of the Message class that was broken. * BUG: Fixed a crash in the Watcher class. * BUG: Fixed the Image.Flip() and Image.Mirror() methods. * BUG: Fixed a potential crash in timer management. * NEW: The GridView Select event was implemented. git-svn-id: svn://localhost/gambas/trunk@1033 867c0c6c-44f3-4631-809d-bfa615b0a4ec
23 lines
393 B
C++
23 lines
393 B
C++
#ifndef __GPLUGIN_H
|
|
#define __GPLUGIN_H
|
|
|
|
class gPlugin : public gControl
|
|
{
|
|
public:
|
|
gPlugin(gContainer *parent);
|
|
void plug(long id,bool prepared=true);
|
|
void discard();
|
|
//"Properties"
|
|
long client();
|
|
|
|
int getBorder() { return getFrameBorder(); }
|
|
void setBorder(int vl) { setFrameBorder(vl); }
|
|
|
|
//"Signals"
|
|
void (*onPlug)(gControl *sender);
|
|
void (*onUnplug)(gControl *sender);
|
|
|
|
};
|
|
|
|
#endif
|