office-gobmx/udkapi/com/sun/star/reflection/CoreReflection.idl
Noel Grandin b679a2a021 fdo#46808, Adapt reflection::CoreReflection UNO service to new style
The XComponent part of the interface made no sense for a singleton,
so it was removed.
Explicitly document the 'theCoreReflection' singleton and move it
into it's own file.
Deprecated the now old CoreReflection service.

Change-Id: Ib8befa87c7da7eb53a2f587948fd54a64c082472
2012-09-05 15:46:55 +02:00

51 lines
1.7 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_reflection_CoreReflection_idl__
#define __com_sun_star_reflection_CoreReflection_idl__
#include <com/sun/star/reflection/XIdlReflection.idl>
#include <com/sun/star/lang/XComponent.idl>
module com { module sun { module star { module reflection {
/** This service is the implementation of the reflection API.
You can obtain information about types, modify values of reflected types
and call on objects.
@deprecated Rather use the 'theCoreReflection' singleton.
*/
published service CoreReflection
{
/** Interface to reflect types.
*/
interface com::sun::star::reflection::XIdlReflection;
/** CoreReflection has to be disposed if possible
*/
[optional] interface com::sun::star::lang::XComponent;
};
}; }; }; };
#endif
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */