summaryrefslogtreecommitdiff
path: root/sfx2/source/appl/shutdownicon.hxx
diff options
context:
space:
mode:
authorVladimir Glazounov <vg@openoffice.org>2006-11-22 09:56:09 +0000
committerVladimir Glazounov <vg@openoffice.org>2006-11-22 09:56:09 +0000
commit539cb9d3c650699739b524dd36438112f7830356 (patch)
tree020ec94fb8e12aed3a8fd5067a23595bec7c3336 /sfx2/source/appl/shutdownicon.hxx
parentf16abfe9b263c15d760fdb66c938b8f1a12c60c7 (diff)
INTEGRATION: CWS asyncdialogs (1.18.206); FILE MERGED
2006/10/31 17:55:54 pb 1.18.206.2: RESYNC: (1.18-1.20); FILE MERGED 2005/11/11 10:11:40 pb 1.18.206.1: fix: #i57125# asynchronous execute of file dialog
Diffstat (limited to 'sfx2/source/appl/shutdownicon.hxx')
-rw-r--r--sfx2/source/appl/shutdownicon.hxx17
1 files changed, 13 insertions, 4 deletions
diff --git a/sfx2/source/appl/shutdownicon.hxx b/sfx2/source/appl/shutdownicon.hxx
index f51f5df0be..be48c319fb 100644
--- a/sfx2/source/appl/shutdownicon.hxx
+++ b/sfx2/source/appl/shutdownicon.hxx
@@ -49,6 +49,10 @@
#endif
class ResMgr;
+namespace sfx2
+{
+ class FileDialogHelper;
+}
typedef ::cppu::WeakComponentImplHelper3<
::com::sun::star::lang::XInitialization,
@@ -67,9 +71,10 @@ typedef ::cppu::WeakComponentImplHelper3<
class SFX2_DLLPUBLIC ShutdownIcon : public ShutdownIconServiceBase
{
- ::osl::Mutex m_aMutex;
- bool m_bVeto;
- ResMgr *m_pResMgr;
+ ::osl::Mutex m_aMutex;
+ bool m_bVeto;
+ ResMgr* m_pResMgr;
+ sfx2::FileDialogHelper* m_pFileDlg;
::com::sun::star::uno::Reference< ::com::sun::star::lang::XMultiServiceFactory > m_xServiceManager;
static ShutdownIcon *pShutdownIcon; // one instance
@@ -125,6 +130,10 @@ class SFX2_DLLPUBLIC ShutdownIcon : public ShutdownIconServiceBase
void SetVeto( bool bVeto ) { m_bVeto = bVeto;}
bool GetVeto() { return m_bVeto; }
+ void StartFileDialog();
+ sfx2::FileDialogHelper* GetFileDialog() const { return m_pFileDlg; }
+ static long DialogClosedHdl_Impl( ShutdownIcon*, sfx2::FileDialogHelper* );
+
static bool IsQuickstarterInstalled();
// Component Helper - force override
@@ -147,7 +156,7 @@ class SFX2_DLLPUBLIC ShutdownIcon : public ShutdownIconServiceBase
::com::sun::star::uno::Reference< ::com::sun::star::frame::XDesktop > m_xDesktop;
#ifdef WNT
- static void EnableAutostartW32( const rtl::OUString &aShortcutName );
+ static void EnableAutostartW32( const rtl::OUString &aShortcutName );
static rtl::OUString GetAutostartFolderNameW32();
#endif
};