1/*************************************************************************
2 *
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4 *
5 * Copyright 2000, 2010 Oracle and/or its affiliates.
6 *
7 * OpenOffice.org - a multi-platform office productivity suite
8 *
9 * This file is part of OpenOffice.org.
10 *
11 * OpenOffice.org is free software: you can redistribute it and/or modify
12 * it under the terms of the GNU Lesser General Public License version 3
13 * only, as published by the Free Software Foundation.
14 *
15 * OpenOffice.org is distributed in the hope that it will be useful,
16 * but WITHOUT ANY WARRANTY; without even the implied warranty of
17 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
18 * GNU Lesser General Public License version 3 for more details
19 * (a copy is included in the LICENSE file that accompanied this code).
20 *
21 * You should have received a copy of the GNU Lesser General Public License
22 * version 3 along with OpenOffice.org.  If not, see
23 * <http://www.openoffice.org/license.html>
24 * for a copy of the LGPLv3 License.
25 *
26 ************************************************************************/
27
28#if ! defined INCLUDED_com_sun_star_deployment_ui_PackageManagerDialog_idl
29#define INCLUDED_com_sun_star_deployment_ui_PackageManagerDialog_idl
30
31#include <com/sun/star/ui/dialogs/XAsynchronousExecutableDialog.idl>
32#include <com/sun/star/awt/XWindow.idl>
33
34
35module com { module sun { module star { module deployment { module ui {
36
37/** The <type>PackageManagerDialog</type> is used to visually manage installed
38    packages of the user and shared installation as well as currently open
39    documents.
40
41    @since OOo 2.0
42*/
43service PackageManagerDialog : com::sun::star::ui::dialogs::XAsynchronousExecutableDialog
44{
45    /** Create a default GUI.
46     */
47    createDefault();
48
49    /** Create a GUI using the specific parent window and focus on the
50        given context.
51
52        @param xParent
53               parent window
54        @param focussedContext
55               context to be focussed
56    */
57    create( [in] com::sun::star::awt::XWindow xParent,
58            [in] string focussedContext );
59
60    /** Create a GUI and pass the URL of the extension which shall be installed right away.
61        This constructor is intended for the case when unopkg is run as result of
62        clicking an extension in a file browser, etc. The extensions will always be installed
63        for the current user.
64
65        @param extensionURL
66            URL of extension
67    */
68     createAndInstall( [in] string extensionURL);
69
70};
71
72}; }; }; }; };
73
74#endif
75