diff options
author | Ivo Hinkelmann <ihi@openoffice.org> | 2007-11-19 15:48:13 +0000 |
---|---|---|
committer | Ivo Hinkelmann <ihi@openoffice.org> | 2007-11-19 15:48:13 +0000 |
commit | 1f705ede5bd7c771896b962d467f1dc9da9cb486 (patch) | |
tree | 9761552824ea33692e62ce8440ed6ca467b4d14a | |
parent | 3d823d55e8674e16b936e6b414f666149f5d0f8a (diff) |
INTEGRATION: CWS updchk10 (1.3.2); FILE MERGED
2007/10/29 13:26:40 dv 1.3.2.2: #i82851# Extension manager notifies update check about found updates
2007/10/23 10:54:05 dv 1.3.2.1: #i82851# Support automatic checking for extension updates
-rw-r--r-- | extensions/source/update/check/updatecheck.hxx | 16 |
1 files changed, 13 insertions, 3 deletions
diff --git a/extensions/source/update/check/updatecheck.hxx b/extensions/source/update/check/updatecheck.hxx index 3bd20f1ab..fed350b96 100644 --- a/extensions/source/update/check/updatecheck.hxx +++ b/extensions/source/update/check/updatecheck.hxx @@ -4,9 +4,9 @@ * * $RCSfile: updatecheck.hxx,v $ * - * $Revision: 1.3 $ + * $Revision: 1.4 $ * - * last change: $Author: hr $ $Date: 2007-07-31 15:56:55 $ + * last change: $Author: ihi $ $Date: 2007-11-19 16:48:13 $ * * The Contents of this file are made available subject to * the terms of GNU Lesser General Public License Version 2.1. @@ -124,6 +124,10 @@ public: // Returns true if the update dialog is currently showing bool isDialogShowing() const; + bool shouldShowExtUpdDlg() const { return ( m_bShowExtUpdDlg && m_bHasExtensionUpdate ); } + void showExtensionDialog(); + void setHasExtensionUpdates( bool bHasUpdates ) { m_bHasExtensionUpdate = bHasUpdates; } + bool hasOfficeUpdate() const { return (m_aUpdateInfo.BuildId.getLength() > 0); } // DownloadInteractionHandler virtual bool downloadTargetExists(const rtl::OUString& rFileName); @@ -173,7 +177,11 @@ private: // stores the release note url on disk to be used by setup app static bool storeReleaseNote(sal_Int8 nNum, const rtl::OUString &rURL); - + + /* This method turns on the menubar icon and triggers the bubble window + */ + void handleMenuBarUI( rtl::Reference< UpdateHandler > rUpdateHandler, + UpdateState& eState, bool suppressBubble ); enum State { NOT_INITIALIZED, DISABLED, @@ -190,6 +198,8 @@ private: UpdateInfo m_aUpdateInfo; rtl::OUString m_aImageName; + bool m_bHasExtensionUpdate; + bool m_bShowExtUpdDlg; rtl::Reference<UpdateHandler> m_aUpdateHandler; com::sun::star::uno::Reference<com::sun::star::beans::XPropertySet> m_xMenuBarUI; |