diff options
author | Ivo Hinkelmann <ihi@openoffice.org> | 2008-07-17 14:20:05 +0000 |
---|---|---|
committer | Ivo Hinkelmann <ihi@openoffice.org> | 2008-07-17 14:20:05 +0000 |
commit | 6274bef405ce372a6770ec0e358baaf5fd345084 (patch) | |
tree | 0e367aace4d1010e0aa432ae5ec2dddb88a5ea6b /framework/inc/dispatch | |
parent | 04b2c9c982593b0d803f0df6b4d59a7e9332c8ca (diff) |
INTEGRATION: CWS logger2 (1.1.4); FILE ADDED
2008/05/13 14:43:39 b_michaelsen 1.1.4.2: merged logger cws
2008/05/09 12:51:37 b_michaelsen 1.1.4.1: file dispatchlogging.hxx was added on branch cws_dev300_logger2 on 2008-05-13 14:43:39 +0000
Diffstat (limited to 'framework/inc/dispatch')
-rw-r--r-- | framework/inc/dispatch/dispatchlogging.hxx | 57 |
1 files changed, 57 insertions, 0 deletions
diff --git a/framework/inc/dispatch/dispatchlogging.hxx b/framework/inc/dispatch/dispatchlogging.hxx new file mode 100644 index 000000000000..4be61a7f61a3 --- /dev/null +++ b/framework/inc/dispatch/dispatchlogging.hxx @@ -0,0 +1,57 @@ +/************************************************************************* +* 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 +* +* $RCSfile: dispatchlogging.hxx,v $ +* +* $Revision: 1.2 $ +* +* This file is part of OpenOffice.org. +* +* 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. +* +* 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). +* +* 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. +************************************************************************/ + +#ifndef __FRAMEWORK_HELPER_DISPATCHLOGGING_HXX_ +#define __FRAMEWORK_HELPER_DISPATCHLOGGING_HXX_ + +#include <com/sun/star/frame/XDispatchProvider.hpp> +#include <com/sun/star/frame/XDispatchProviderInterception.hpp> +#include <com/sun/star/frame/XDispatch.hpp> +#include <com/sun/star/frame/XFrame.hpp> +#include <com/sun/star/frame/DispatchDescriptor.hpp> + +#include <cppuhelper/weak.hxx> +#include <cppuhelper/weakref.hxx> + +namespace framework { + class DispatchLogging : + public ::com::sun::star::frame::XDispatchProvider, + public ::com::sun::star::frame::XDispatchProviderInterception, + public ::com::sun::star::lang::XEventListener, + public ::cppu::OWeakObject + { + public: + static ::com::sun::star::uno::Reference< ::com::sun::star::frame::XDispatchProvider > createInstance( + const ::com::sun::star::uno::Reference< ::com::sun::star::frame::XDispatchProvider>& slave); + protected: + DispatchLogging() {}; + }; +} + +#endif // #ifndef __FRAMEWORK_HELPER_DISPATCHLOGGING_HXX_ |