office-gobmx/framework/inc/classes/eventsconfiguration.hxx
Rüdiger Timm ab318016b7 INTEGRATION: CWS changefileheader (1.2.758); FILE MERGED
2008/04/01 15:18:14 thb 1.2.758.2: #i85898# Stripping all external header guards
2008/04/01 10:57:43 thb 1.2.758.1: #i85898# Stripping all external header guards
2008-04-11 05:48:07 +00:00

39 lines
1.1 KiB
C++

#ifndef __FRAMEWORK_CLASSES_EVENTSCONFIGURATION_HXX_
#define __FRAMEWORK_CLASSES_EVENTSCONFIGURATION_HXX_
#include <svtools/svarray.hxx>
#include <tools/string.hxx>
#include <tools/stream.hxx>
#include <com/sun/star/uno/Sequence.hxx>
#include <com/sun/star/beans/PropertyValue.hpp>
// #110897#
#include <com/sun/star/lang/XMultiServiceFactory.hpp>
namespace framework
{
struct EventsConfig
{
::com::sun::star::uno::Sequence< ::rtl::OUString > aEventNames;
::com::sun::star::uno::Sequence< ::com::sun::star::uno::Any > aEventsProperties;
};
class EventsConfiguration
{
public:
// #110897#
static sal_Bool LoadEventsConfig(
const ::com::sun::star::uno::Reference< ::com::sun::star::lang::XMultiServiceFactory >& xServiceFactory,
SvStream& rInStream, EventsConfig& aItems );
// #110897#
static sal_Bool StoreEventsConfig(
const ::com::sun::star::uno::Reference< ::com::sun::star::lang::XMultiServiceFactory >& xServiceFactory,
SvStream& rOutStream, const EventsConfig& aItems );
};
} // namespace framework
#endif // __FRAMEWORK_CLASSES_EVENTSCONFIGURATION_HXX_