Back to home page

EIC code displayed by LXR

 
 

    


Warning, file /include/root/TApplicationImp.h was not indexed or was modified since last indexation (in which case cross-reference links may be missing, inaccurate or erroneous).

0001 // @(#)root/base:$Id$
0002 // Author: Fons Rademakers   22/12/95
0003 
0004 /*************************************************************************
0005  * Copyright (C) 1995-2000, Rene Brun and Fons Rademakers.               *
0006  * All rights reserved.                                                  *
0007  *                                                                       *
0008  * For the licensing terms see $ROOTSYS/LICENSE.                         *
0009  * For the list of contributors see $ROOTSYS/README/CREDITS.             *
0010  *************************************************************************/
0011 
0012 
0013 #ifndef ROOT_TApplicationImp
0014 #define ROOT_TApplicationImp
0015 
0016 //////////////////////////////////////////////////////////////////////////
0017 //                                                                      //
0018 // TApplicationImp                                                      //
0019 //                                                                      //
0020 // ABC describing GUI independent application implementation protocol.  //
0021 //                                                                      //
0022 //////////////////////////////////////////////////////////////////////////
0023 
0024 #include "TString.h"
0025 
0026 class TGWin32Command;
0027 
0028 
0029 class TApplicationImp {
0030 
0031 protected:
0032    TString   fApplicationName;    // application name
0033 
0034 public:
0035    TApplicationImp(): fApplicationName() { }
0036    TApplicationImp(const char *appClassName, int *argc, char **argv) : fApplicationName(appClassName) { (void) argc; (void) argv; }
0037    virtual ~TApplicationImp() {}
0038 
0039    virtual const char *ApplicationName() const { return fApplicationName.Data(); }
0040    virtual void        Show() {}
0041    virtual void        Hide() {}
0042    virtual void        Iconify() {}
0043    virtual Bool_t      IsCmdThread() { return kTRUE; } // by default (for UNIX) ROOT is a single thread application
0044    virtual void        Init() {}
0045    virtual void        Open() {}
0046    virtual void        Raise() {}
0047    virtual void        Lower() {}
0048    virtual Int_t       ExecCommand(TGWin32Command *code, Bool_t synch) { (void) code; (void) synch; return 0; }
0049 
0050    ClassDef(TApplicationImp,0)  //ABC describing application protocol
0051 };
0052 
0053 #endif