diff options
author | Noel Grandin <noel@peralex.com> | 2013-02-06 15:22:34 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2013-02-12 10:14:46 +0200 |
commit | 4d23fcf0c0444aaa8b3d6ad99f0d741a80a2a247 (patch) | |
tree | 4b0d31a3f4cdeb359013c4f1e3595b5037bb4788 /offapi | |
parent | fdo#46808, convert some svtools code to XComponentContext (diff) | |
download | core-4d23fcf0c0444aaa8b3d6ad99f0d741a80a2a247.tar.gz core-4d23fcf0c0444aaa8b3d6ad99f0d741a80a2a247.zip |
fdo#46808, Adapt cui::ColorPicker UNO service to new style
The service already existed, it just did not have an IDL file
Change-Id: I7a43b3f8c1299afde3a613dc7ec1c522c4b7a057
Diffstat (limited to 'offapi')
-rw-r--r-- | offapi/UnoApi_offapi.mk | 3 | ||||
-rw-r--r-- | offapi/com/sun/star/cui/ColorPicker.idl | 42 |
2 files changed, 45 insertions, 0 deletions
diff --git a/offapi/UnoApi_offapi.mk b/offapi/UnoApi_offapi.mk index 1d7f4bb1ec59..5854aafdc108 100644 --- a/offapi/UnoApi_offapi.mk +++ b/offapi/UnoApi_offapi.mk @@ -71,6 +71,9 @@ $(eval $(call gb_UnoApi_add_idlfiles_nohdl,offapi,offapi/com/sun/star/configurat Update \ theDefaultProvider \ )) +$(eval $(call gb_UnoApi_add_idlfiles_nohdl,offapi,offapi/com/sun/star/cui,\ + ColorPicker \ +)) $(eval $(call gb_UnoApi_add_idlfiles_nohdl,offapi,offapi/com/sun/star/datatransfer,\ DataFormatTranslator \ MimeContentTypeFactory \ diff --git a/offapi/com/sun/star/cui/ColorPicker.idl b/offapi/com/sun/star/cui/ColorPicker.idl new file mode 100644 index 000000000000..215b3f7b580a --- /dev/null +++ b/offapi/com/sun/star/cui/ColorPicker.idl @@ -0,0 +1,42 @@ +/* -*- 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_cui_ColorPicker_idl__ +#define __com_sun_star_cui_ColorPicker_idl__ + +#include <com/sun/star/ui/dialogs/XExecutableDialog.idl> +#include <com/sun/star/awt/XWindow.idl> + + +module com { module sun { module star { module cui { + +/** + @since LibreOffice 4.1 + */ +service ColorPicker : com::sun::star::ui::dialogs::XExecutableDialog +{ + createWithParent([in] com::sun::star::awt::XWindow Parent); +}; + + +}; }; }; }; + +#endif + + +/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ |