summaryrefslogtreecommitdiff
path: root/desktop/inc
diff options
context:
space:
mode:
authorCarsten Driesner <cd@openoffice.org>2001-07-16 11:55:47 +0000
committerCarsten Driesner <cd@openoffice.org>2001-07-16 11:55:47 +0000
commitee3351d78c9b6ffbc4dfe62853e81b84e65879c7 (patch)
tree3889d7fef67ad266ed3d1eb9e00a9959d3588905 /desktop/inc
parent07f5efbf08aa8b5c0b65f3c0e72de0e730bd8dad (diff)
#89023# splash screen optimization
Diffstat (limited to 'desktop/inc')
-rw-r--r--desktop/inc/app.hxx57
1 files changed, 36 insertions, 21 deletions
diff --git a/desktop/inc/app.hxx b/desktop/inc/app.hxx
index ed45acf699d2..c6b3add09de8 100644
--- a/desktop/inc/app.hxx
+++ b/desktop/inc/app.hxx
@@ -2,9 +2,9 @@
*
* $RCSfile: app.hxx,v $
*
- * $Revision: 1.3 $
+ * $Revision: 1.4 $
*
- * last change: $Author: mba $ $Date: 2001-07-10 11:33:27 $
+ * last change: $Author: cd $ $Date: 2001-07-16 12:53:12 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -62,33 +62,48 @@
#ifndef _DESK_APP_HXX
#define _DESK_APP_HXX
-#ifndef _OFF_APP_HXX //autogen
-#include <sfx2/app.hxx>
+#ifndef _SV_SVAPP_HXX
+#include <vcl/svapp.hxx>
+#endif
+#ifndef _TOOLS_RESMGR_HXX
+#include <tools/resmgr.hxx>
#endif
/*--------------------------------------------------------------------
- Beschreibung: Applikations-Klasse
+ Description: Application-class
--------------------------------------------------------------------*/
class IntroWindow_Impl;
-class Desktop : public SfxApplicationClass
+class Desktop : public Application //public SfxApplicationClass
{
-public:
- Desktop();
- virtual void Main();
- virtual void SystemSettingsChanging( AllSettings& rSettings, Window* pFrame );
+ public:
+ Desktop();
+ virtual void Main( );
+ virtual void Init();
+ virtual void DeInit();
+ virtual BOOL QueryExit();
+ virtual USHORT Exception(USHORT nError);
+ virtual void Property( ApplicationProperty& );
+ virtual void SystemSettingsChanging( AllSettings& rSettings, Window* pFrame );
+ virtual void AppEvent( const ApplicationEvent& rAppEvent );
+
+ DECL_LINK( OpenClients_Impl, void* );
- DECL_LINK( OpenClients_Impl, void* );
+ static void OpenClients();
+ static void OpenDefault();
+ static void HandleAppEvent( const ApplicationEvent& rAppEvent );
+ static ResMgr* GetDesktopResManager();
-private:
- void ParseCommandLine();
- void OpenStartupScreen( const char* );
- void CloseStartupScreen();
+ private:
+ void OpenStartupScreen( const char* );
+ void CloseStartupScreen();
- sal_Bool m_bMinimized;
- sal_Bool m_bInvisible;
- USHORT m_nAppEvents;
- ResMgr* m_pLabelResMgr;
- IntroWindow_Impl* m_pIntro;
+ sal_Bool m_bMinimized;
+ sal_Bool m_bInvisible;
+ USHORT m_nAppEvents;
+ ResMgr* m_pLabelResMgr;
+ IntroWindow_Impl* m_pIntro;
+
+ static ResMgr* pResMgr;
};
-#endif
+#endif // DESK_APP_HXX_