summaryrefslogtreecommitdiff
path: root/desktop/win32/source/setup/setup_main.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'desktop/win32/source/setup/setup_main.hxx')
-rw-r--r--desktop/win32/source/setup/setup_main.hxx7
1 files changed, 6 insertions, 1 deletions
diff --git a/desktop/win32/source/setup/setup_main.hxx b/desktop/win32/source/setup/setup_main.hxx
index 38435ff674..fd50bec443 100644
--- a/desktop/win32/source/setup/setup_main.hxx
+++ b/desktop/win32/source/setup/setup_main.hxx
@@ -7,7 +7,7 @@
* OpenOffice.org - a multi-platform office productivity suite
*
* $RCSfile: setup_main.hxx,v $
- * $Revision: 1.8 $
+ * $Revision: 1.9 $
*
* This file is part of OpenOffice.org.
*
@@ -38,6 +38,7 @@ class SetupApp
DWORD m_nMinorVersion;
boolean m_bIsWin9x : 1;
boolean m_bNeedReboot : 1;
+ boolean m_bAdministrative : 1;
public:
UINT m_uiRet;
@@ -48,6 +49,7 @@ public:
virtual boolean Initialize( HINSTANCE hInst ) = 0;
virtual boolean AlreadyRunning() const = 0;
virtual boolean ReadProfile() = 0;
+ virtual boolean GetPatches() = 0;
virtual boolean ChooseLanguage( long& rLanguage ) = 0;
virtual boolean CheckVersion() = 0;
virtual boolean Install( long nLanguage ) = 0;
@@ -60,6 +62,9 @@ public:
DWORD GetOSVersion() const { return m_nOSVersion; }
DWORD GetMinorVersion() const { return m_nMinorVersion; }
+ boolean IsAdminInstall() { return m_bAdministrative; }
+ void SetAdminInstall( boolean bValue ) { m_bAdministrative = bValue; }
+
void SetRebootNeeded( boolean bNeedReboot ) { m_bNeedReboot = bNeedReboot; }
boolean NeedReboot() const { return m_bNeedReboot; }
};