diff options
author | Noel Grandin <noel@peralex.com> | 2013-05-16 16:17:14 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2013-05-21 08:23:59 +0200 |
commit | be50ad28f5bbdaeff527f646481ce263843c2401 (patch) | |
tree | 65ecdaa5762dda2d9a42cff394a536bf568ed4f6 /offapi/com | |
parent | 6c61b20a8d4a6dcac28801cde82a211fb7e30654 (diff) |
fdo#46808, Convert awt::XUnoControlDialog to new style
Change-Id: I40d2e2ddd92186a2ba22ebfbdda8367391e8d355
Diffstat (limited to 'offapi/com')
-rw-r--r-- | offapi/com/sun/star/awt/UnoControlDialog.idl | 20 | ||||
-rw-r--r-- | offapi/com/sun/star/awt/XUnoControlDialog.idl | 58 |
2 files changed, 61 insertions, 17 deletions
diff --git a/offapi/com/sun/star/awt/UnoControlDialog.idl b/offapi/com/sun/star/awt/UnoControlDialog.idl index 4cc079e4f082..67e0b79b8381 100644 --- a/offapi/com/sun/star/awt/UnoControlDialog.idl +++ b/offapi/com/sun/star/awt/UnoControlDialog.idl @@ -19,28 +19,14 @@ #ifndef __com_sun_star_awt_UnoControlDialog_idl__ #define __com_sun_star_awt_UnoControlDialog_idl__ -#include <com/sun/star/awt/UnoControlContainer.idl> +#include <com/sun/star/awt/XUnoControlDialog.idl> -#include <com/sun/star/awt/XTopWindow.idl> - -#include <com/sun/star/awt/XDialog2.idl> - - - - module com { module sun { module star { module awt { +module com { module sun { module star { module awt { /** specifies a dialog control. */ -published service UnoControlDialog -{ - service com::sun::star::awt::UnoControlContainer; - - interface com::sun::star::awt::XTopWindow; - - interface com::sun::star::awt::XDialog2; - -}; +published service UnoControlDialog : XUnoControlDialog; }; }; }; }; diff --git a/offapi/com/sun/star/awt/XUnoControlDialog.idl b/offapi/com/sun/star/awt/XUnoControlDialog.idl new file mode 100644 index 000000000000..3d513b71adc3 --- /dev/null +++ b/offapi/com/sun/star/awt/XUnoControlDialog.idl @@ -0,0 +1,58 @@ +/* -*- 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_awt_XUnoControlDialog_idl__ +#define __com_sun_star_awt_XUnoControlDialog_idl__ + +#include <com/sun/star/container/XNameContainer.idl> +#include <com/sun/star/awt/XControl.idl> +#include <com/sun/star/awt/XDialog2.idl> +#include <com/sun/star/awt/XTopWindow.idl> +#include <com/sun/star/awt/XControlContainer.idl> +#include <com/sun/star/awt/XWindow.idl> + + +module com { module sun { module star { module awt { + +/** + The interface for the UnoControlDialog service. + This service actually implements a whole whack of interfaces. This is the just + the subset that our code needs. + + @since LibreOffice 4.1 + */ +published interface XUnoControlDialog +{ + + interface com::sun::star::awt::XControlContainer; // -> XInterface + + interface com::sun::star::awt::XControl; // -> XComponent + + interface com::sun::star::awt::XWindow; // -> XComponent + + interface com::sun::star::awt::XTopWindow; // -> XInterface + + interface com::sun::star::awt::XDialog2; // -> XDialog -> XInterface +}; + + +}; }; }; }; + +#endif + +/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ |