27 #ifndef SALOMEAPP_APPLICATION_H 
   28 #define SALOMEAPP_APPLICATION_H 
   32 #endif // _MSC_VER > 1000 
   37 #include <omniORB4/CORBA.h> 
   41 #include <SALOME_NamingService.hxx> 
   43 #include "SALOMEDSClient.hxx" 
   49 #ifndef DISABLE_PYCONSOLE 
   53 class SALOME_LifeCycleCORBA;
 
   57 #pragma warning( disable:4251 ) 
   70   enum { MenuToolsId = 5 };
 
   98   static CORBA::ORB_var               orb();
 
   99   static SALOMEDSClient_StudyManager* studyMgr();
 
  100   static SALOME_NamingService*        namingService();
 
  101   static SALOME_LifeCycleCORBA*       lcc();
 
  108   virtual bool                        useStudy( 
const QString& );
 
  111 #ifndef DISABLE_PYCONSOLE 
  117   virtual bool                        renameObject( 
const QString&, 
const QString& );
 
  120   virtual void                        onLoadDoc();
 
  121   virtual void                        onNewWithScript();
 
  122   virtual bool                        onLoadDoc( 
const QString& );
 
  123   virtual void                        onUnloadDoc( 
bool ask = 
true);
 
  129   void                                onSaveGUIState();
 
  130 #ifndef DISABLE_PYCONSOLE 
  131   void                                onUpdateStudy(); 
 
  133   bool                                onRestoreStudy( 
const QString& theDumpScript,
 
  134                                                       const QString& theStudyName,
 
  135                                                       bool theIsStudySaved );
 
  158   virtual bool                        openAction( 
const int, 
const QString& );
 
  163   void                                objectBrowserColumnsVisibility();
 
  165 #ifndef DISABLE_PYCONSOLE 
  173   void                                onDeleteInvalidReferences();
 
  179   void                                onDeleteGUIState();
 
  180   void                                onRestoreGUIState();
 
  188   void                                createExtraActions();
 
  191 #ifndef DISABLE_PYCONSOLE 
  198   void                                dumpedStudyClosed( 
const QString& theDumpScript,
 
  199                                                          const QString& theStudyName,
 
  200                                                          bool theIsStudySaved );
 
  201   void                                notebookVarUpdated( QString theVarName );
 
  206 #pragma warning( default:4251 )