2004-02-25 10:33:28 -06:00
|
|
|
/*************************************************************************
|
|
|
|
*
|
2005-09-08 18:08:42 -05:00
|
|
|
* OpenOffice.org - a multi-platform office productivity suite
|
2004-02-25 10:33:28 -06:00
|
|
|
*
|
2005-09-08 18:08:42 -05:00
|
|
|
* $RCSfile: sfxhelperfunctions.hxx,v $
|
2004-02-25 10:33:28 -06:00
|
|
|
*
|
2005-09-08 18:08:42 -05:00
|
|
|
* $Revision: 1.5 $
|
2004-02-25 10:33:28 -06:00
|
|
|
*
|
2005-09-08 18:08:42 -05:00
|
|
|
* last change: $Author: rt $ $Date: 2005-09-09 00:08:42 $
|
2004-02-25 10:33:28 -06:00
|
|
|
*
|
2005-09-08 18:08:42 -05:00
|
|
|
* The Contents of this file are made available subject to
|
|
|
|
* the terms of GNU Lesser General Public License Version 2.1.
|
2004-02-25 10:33:28 -06:00
|
|
|
*
|
|
|
|
*
|
2005-09-08 18:08:42 -05:00
|
|
|
* GNU Lesser General Public License Version 2.1
|
|
|
|
* =============================================
|
|
|
|
* Copyright 2005 by Sun Microsystems, Inc.
|
|
|
|
* 901 San Antonio Road, Palo Alto, CA 94303, USA
|
2004-02-25 10:33:28 -06:00
|
|
|
*
|
2005-09-08 18:08:42 -05:00
|
|
|
* This library is free software; you can redistribute it and/or
|
|
|
|
* modify it under the terms of the GNU Lesser General Public
|
|
|
|
* License version 2.1, as published by the Free Software Foundation.
|
2004-02-25 10:33:28 -06:00
|
|
|
*
|
2005-09-08 18:08:42 -05:00
|
|
|
* This library 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 for more details.
|
2004-02-25 10:33:28 -06:00
|
|
|
*
|
2005-09-08 18:08:42 -05:00
|
|
|
* You should have received a copy of the GNU Lesser General Public
|
|
|
|
* License along with this library; if not, write to the Free Software
|
|
|
|
* Foundation, Inc., 59 Temple Place, Suite 330, Boston,
|
|
|
|
* MA 02111-1307 USA
|
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-02-25 10:33:28 -06:00
|
|
|
|
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 );
|
|
|
|
|
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 );
|
|
|
|
|
2004-07-06 10:49:29 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
#endif // __FRAMEWORK_CLASSES_SFXHELPERFUNCTIONS_HXX_
|