summaryrefslogtreecommitdiff
path: root/framework/inc/helper/titlebarupdate.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'framework/inc/helper/titlebarupdate.hxx')
-rw-r--r--framework/inc/helper/titlebarupdate.hxx34
1 files changed, 17 insertions, 17 deletions
diff --git a/framework/inc/helper/titlebarupdate.hxx b/framework/inc/helper/titlebarupdate.hxx
index 96549bfe30..5a6538409a 100644
--- a/framework/inc/helper/titlebarupdate.hxx
+++ b/framework/inc/helper/titlebarupdate.hxx
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2008 by Sun Microsystems, Inc.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -93,7 +93,7 @@
//_________________________________________________________________________________________________________________
#ifndef INCLUDED_SVTOOLS_MODULEOPTIONS_HXX
-#include <svtools/moduleoptions.hxx>
+#include <unotools/moduleoptions.hxx>
#endif
#ifndef _CPPUHELPER_WEAK_HXX_
@@ -137,7 +137,7 @@ class TitleBarUpdate : // interfaces
// structs, types
private:
-
+
struct TModuleInfo
{
/// internal id of this module
@@ -155,10 +155,10 @@ class TitleBarUpdate : // interfaces
/// may we need an uno service manager to create own services
css::uno::Reference< css::lang::XMultiServiceFactory > m_xSMGR;
-
+
/// reference to the frame which was created by the office himself
css::uno::WeakReference< css::frame::XFrame > m_xFrame;
-
+
//________________________________
// interface
@@ -189,7 +189,7 @@ class TitleBarUpdate : // interfaces
// XTitleChangeListener
virtual void SAL_CALL titleChanged(const css::frame::TitleChangedEvent& aEvent)
throw (css::uno::RuntimeException);
-
+
//____________________________
// XEventListener
virtual void SAL_CALL disposing(const css::lang::EventObject& aEvent)
@@ -199,53 +199,53 @@ class TitleBarUpdate : // interfaces
// helper
private:
-
+
//____________________________
/** @short identify the application module, which is used behind the component
of our frame.
-
+
@param xFrame
contains the component, wich must be identified.
-
+
@param rInfo
describe the module in its details.
Is set only if return value is true.
-
+
@return [sal_Bool]
TRUE in casee module could be identified and all needed values could be read.
FALSE otherwise.
*/
::sal_Bool implst_getModuleInfo(const css::uno::Reference< css::frame::XFrame >& xFrame,
TModuleInfo& rInfo );
-
+
//____________________________
/** @short set a new icon and title on the title bar of our connected frame window.
-
+
@descr It does not check if an update is realy needed. That has to be done outside.
It retrieves all needed informations and update the title bar - nothing less -
nothing more.
*/
void impl_forceUpdate();
-
+
//____________________________
/** @short identify the current component (inside the connected frame)
and set the right module icon on the title bar.
-
+
@param xFrame
the frame which contains the component and where the icon must be set
on the window title bar.
*/
void impl_updateIcon(const css::uno::Reference< css::frame::XFrame >& xFrame);
-
+
//____________________________
/** @short gets the current title from the frame and set it on the window.
-
+
@param xFrame
the frame which contains the component and where the title must be set
on the window title bar.
*/
void impl_updateTitle(const css::uno::Reference< css::frame::XFrame >& xFrame);
-
+
}; // class TitleBarUpdate
} // namespace framework