b679a2a021
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
51 lines
1.7 KiB
Text
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: */
|