Diffpack Documentation


Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members   Search  

BtGuiCallback.h

Go to the documentation of this file.
00001 
00005 class BtGuiCallback : public virtual BtGuiBase
00006 
00007 {
00008   
00009   String actionName_;
00010 
00011   
00012   bool (*callback_ (int,char**);)
00013 
00014   
00015   StringList  tclCommands_;
00016 
00017 public:
00018   BtGuiCallback(const BtGuiTkInterpreter& interf,
00019                 const String& actionName="");
00020   ~BtGuiCallback();
00021 
00022   String actionName() const;
00023 
00024   void addTclCommand(const String& tclcommand);
00025 
00026   virtual void setCallbackRoutine(bool (*callback (int,char**));)
00027   virtual void createCallback();
00028 
00029   virtual bool performeAction(int argc, char** argv);
00030 
00031   void bindToEvent(const String& tag, const String& event,
00032                    const String& cmdopt="");
00033 };
00034 
00035 

Copyright © 2003 inuTech GmbH. All rights reserved.