office-gobmx/offapi/com/sun/star/frame/GlobalEventBroadcaster.idl
Noel Grandin cd693ff598 fdo#46808, Adapt frame::GlobalEventBroadcaster UNO service to new style
Create a merged XGlobalEventBroadcaster interface for this service to implement.
Which is backwards-compatible, but does not require creating a new service.

Also add two interfaces to the IDL, which the service already implemented,
and existing client code already used.

Change-Id: Ib7a9a30c0e50146ef621f3fe5227f8aad3190516
2012-09-27 10:30:42 +02:00

41 lines
1.5 KiB
Text

/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/*
* This file is part of the LibreOffice project.
*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*
* This file incorporates work covered by the following license notice:
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed
* with this work for additional information regarding copyright
* ownership. The ASF licenses this file to you under the Apache
* License, Version 2.0 (the "License"); you may not use this file
* except in compliance with the License. You may obtain a copy of
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
#ifndef __com_sun_star_frame_GlobalEventBroadcaster_idl__
#define __com_sun_star_frame_GlobalEventBroadcaster_idl__
#include <com/sun/star/frame/XGlobalEventBroadcaster.idl>
module com { module sun { module star { module frame {
/**
This service offers the document event functionality that can be found at any
<type scope="com::sun::star::document">OfficeDocument</type>, but it does it for all existing documents.
So it is a single place where a listener can be registered for all events in all
documents.
*/
service GlobalEventBroadcaster : XGlobalEventBroadcaster;
}; }; }; };
#endif
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */