2004-02-25 10:33:28 -06:00
|
|
|
/*************************************************************************
|
|
|
|
*
|
2008-04-11 00:52:30 -05:00
|
|
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
2004-02-25 10:33:28 -06:00
|
|
|
*
|
2008-04-11 00:52:30 -05:00
|
|
|
* Copyright 2008 by Sun Microsystems, Inc.
|
2004-02-25 10:33:28 -06:00
|
|
|
*
|
2008-04-11 00:52:30 -05:00
|
|
|
* OpenOffice.org - a multi-platform office productivity suite
|
2004-02-25 10:33:28 -06:00
|
|
|
*
|
2008-04-11 00:52:30 -05:00
|
|
|
* $RCSfile: sfxhelperfunctions.hxx,v $
|
|
|
|
* $Revision: 1.7 $
|
2004-02-25 10:33:28 -06:00
|
|
|
*
|
2008-04-11 00:52:30 -05:00
|
|
|
* This file is part of OpenOffice.org.
|
2004-02-25 10:33:28 -06:00
|
|
|
*
|
2008-04-11 00:52:30 -05:00
|
|
|
* OpenOffice.org is free software: you can redistribute it and/or modify
|
|
|
|
* it under the terms of the GNU Lesser General Public License version 3
|
|
|
|
* only, as published by the Free Software Foundation.
|
2004-02-25 10:33:28 -06:00
|
|
|
*
|
2008-04-11 00:52:30 -05:00
|
|
|
* OpenOffice.org is distributed in the hope that it will be useful,
|
|
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
* GNU Lesser General Public License version 3 for more details
|
|
|
|
* (a copy is included in the LICENSE file that accompanied this code).
|
2004-02-25 10:33:28 -06:00
|
|
|
*
|
2008-04-11 00:52:30 -05:00
|
|
|
* You should have received a copy of the GNU Lesser General Public License
|
|
|
|
* version 3 along with OpenOffice.org. If not, see
|
|
|
|
* <http://www.openoffice.org/license.html>
|
|
|
|
* for a copy of the LGPLv3 License.
|
2004-02-25 10:33:28 -06:00
|
|
|
*
|
|
|
|
************************************************************************/
|
|
|
|
|
2004-07-06 10:49:29 -05:00
|
|
|
#ifndef __FRAMEWORK_CLASSES_SFXHELPERFUNCTIONS_HXX_
|
|
|
|
#define __FRAMEWORK_CLASSES_SFXHELPERFUNCTIONS_HXX_
|
2004-02-25 10:33:28 -06:00
|
|
|
|
|
|
|
#include <com/sun/star/frame/XFrame.hpp>
|
|
|
|
#include <rtl/ustring.hxx>
|
2004-07-06 10:49:29 -05:00
|
|
|
#include <vcl/toolbox.hxx>
|
2004-09-09 11:06:24 -05:00
|
|
|
#include <vcl/status.hxx>
|
2004-07-06 10:49:29 -05:00
|
|
|
#include <svtools/toolboxcontroller.hxx>
|
2004-09-09 11:06:24 -05:00
|
|
|
#include <svtools/statusbarcontroller.hxx>
|
2004-02-25 10:33:28 -06:00
|
|
|
|
2004-07-06 10:49:29 -05:00
|
|
|
typedef svt::ToolboxController* ( *pfunc_setToolBoxControllerCreator)( const ::com::sun::star::uno::Reference< ::com::sun::star::frame::XFrame >& rFrame, ToolBox* pToolbox, unsigned short nID, const ::rtl::OUString& aCommandURL );
|
2004-09-09 11:06:24 -05:00
|
|
|
typedef svt::StatusbarController* ( *pfunc_setStatusBarControllerCreator)( const ::com::sun::star::uno::Reference< ::com::sun::star::frame::XFrame >& rFrame, StatusBar* pStatusBar, unsigned short nID, const ::rtl::OUString& aCommandURL );
|
2006-04-07 04:17:29 -05:00
|
|
|
typedef void ( *pfunc_getRefreshToolbars)( ::com::sun::star::uno::Reference< ::com::sun::star::frame::XFrame >& rFrame );
|
2004-09-09 11:06:24 -05:00
|
|
|
|
2004-07-06 10:49:29 -05:00
|
|
|
namespace framework
|
|
|
|
{
|
2004-02-25 10:33:28 -06:00
|
|
|
|
2004-07-06 10:49:29 -05:00
|
|
|
pfunc_setToolBoxControllerCreator SAL_CALL SetToolBoxControllerCreator( pfunc_setToolBoxControllerCreator pSetToolBoxControllerCreator );
|
2004-02-25 10:33:28 -06:00
|
|
|
|
2004-07-06 10:49:29 -05:00
|
|
|
svt::ToolboxController* SAL_CALL CreateToolBoxController( const ::com::sun::star::uno::Reference< ::com::sun::star::frame::XFrame >& rFrame, ToolBox* pToolbox, unsigned short nID, const ::rtl::OUString& aCommandURL );
|
|
|
|
|
2004-09-09 11:06:24 -05:00
|
|
|
pfunc_setStatusBarControllerCreator SAL_CALL SetStatusBarControllerCreator( pfunc_setStatusBarControllerCreator pSetStatusBarControllerCreator );
|
|
|
|
|
|
|
|
svt::StatusbarController* SAL_CALL CreateStatusBarController( const ::com::sun::star::uno::Reference< ::com::sun::star::frame::XFrame >& rFrame, StatusBar* pStatusBar, unsigned short nID, const ::rtl::OUString& aCommandURL );
|
|
|
|
|
2006-04-07 04:17:29 -05:00
|
|
|
pfunc_getRefreshToolbars SAL_CALL SetRefreshToolbars( pfunc_getRefreshToolbars pRefreshToolbarsFunc );
|
|
|
|
|
|
|
|
void SAL_CALL RefreshToolbars( ::com::sun::star::uno::Reference< ::com::sun::star::frame::XFrame >& rFrame );
|
|
|
|
|
2004-07-06 10:49:29 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
#endif // __FRAMEWORK_CLASSES_SFXHELPERFUNCTIONS_HXX_
|