summaryrefslogtreecommitdiff
path: root/desktop/inc
diff options
context:
space:
mode:
authorCarsten Driesner <cd@openoffice.org>2001-10-09 11:12:08 +0000
committerCarsten Driesner <cd@openoffice.org>2001-10-09 11:12:08 +0000
commit3c3019ac2a7984da36b7da1102eccb80117b6320 (patch)
tree2735156710f0724bbe0f1935864e929c54dc8c96 /desktop/inc
parent0e369220b6b6e9666537b20258b91077d2db9b84 (diff)
#91283# use resources to show bootstrap problems with correct language
Diffstat (limited to 'desktop/inc')
-rw-r--r--desktop/inc/app.hxx16
1 files changed, 14 insertions, 2 deletions
diff --git a/desktop/inc/app.hxx b/desktop/inc/app.hxx
index 0586aeaaf2ca..c1a7944c203f 100644
--- a/desktop/inc/app.hxx
+++ b/desktop/inc/app.hxx
@@ -2,9 +2,9 @@
*
* $RCSfile: app.hxx,v $
*
- * $Revision: 1.10 $
+ * $Revision: 1.11 $
*
- * last change: $Author: cd $ $Date: 2001-08-09 05:43:13 $
+ * last change: $Author: cd $ $Date: 2001-10-09 12:10:47 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -104,11 +104,23 @@ class Desktop : public Application //public SfxApplicationClass
static ResMgr* GetDesktopResManager();
void HandleBootstrapErrors( BootstrapError );
+ void SetBootstrapError( BootstrapError nError )
+ {
+ if ( m_aBootstrapError == BE_OK )
+ m_aBootstrapError = nError;
+ }
private:
void HandleBootstrapPathErrors( ::utl::Bootstrap::Status, const ::rtl::OUString& aMsg );
void StartSetup( const ::rtl::OUString& aParameters );
+ // Get a resource message string securely e.g. if resource cannot be retrieved return aFaultBackMsg
+ ::rtl::OUString GetMsgString( USHORT nId, const ::rtl::OUString& aFaultBackMsg );
+
+ // Create a error message depending on bootstrap failure code and an optional file url
+ ::rtl::OUString CreateErrorMsgString( utl::Bootstrap::FailureCode nFailureCode,
+ const ::rtl::OUString& aFileURL );
+
void OpenStartupScreen();
void CloseStartupScreen();
void EnableOleAutomation();