Bump for 3.6-28
[LibreOffice.git] / offapi / com / sun / star / mozilla / XProfileManager.idl
blob2222b3f2eda36cb3bd93c3c19515fae37e55eb2e
1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 /*************************************************************************
4 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
6 * Copyright 2000, 2010 Oracle and/or its affiliates.
8 * OpenOffice.org - a multi-platform office productivity suite
10 * This file is part of OpenOffice.org.
12 * OpenOffice.org is free software: you can redistribute it and/or modify
13 * it under the terms of the GNU Lesser General Public License version 3
14 * only, as published by the Free Software Foundation.
16 * OpenOffice.org is distributed in the hope that it will be useful,
17 * but WITHOUT ANY WARRANTY; without even the implied warranty of
18 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19 * GNU Lesser General Public License version 3 for more details
20 * (a copy is included in the LICENSE file that accompanied this code).
22 * You should have received a copy of the GNU Lesser General Public License
23 * version 3 along with OpenOffice.org. If not, see
24 * <http://www.openoffice.org/license.html>
25 * for a copy of the LGPLv3 License.
27 ************************************************************************/
28 #ifndef __com_sun_star_mozilla_XProfileManager_idl__
29 #define __com_sun_star_mozilla_XProfileManager_idl__
31 #include <com/sun/star/uno/XInterface.idl>
32 #include <com/sun/star/mozilla/MozillaProductType.idl>
36 module com { module sun { module star { module mozilla {
40 /** is the interface to boot up and switch Mozilla/Thunderbird profiles
42 @see com::sun::star::mozilla::MozillaProductType
43 @see com::sun::star::mozilla::XProfileDiscover
44 @see com::sun::star::mozilla::MozillaBootstrap
46 published interface XProfileManager: com::sun::star::uno::XInterface
49 // DocMerge from xml: method com::sun::star::mozilla::XProfileManager::bootupProfile
50 /** attempts to init XPCOM runtime using given profile.
52 @param product
53 is the product to start up.
54 @param profileName
55 the profile name to be used.
56 @returns
57 the current reference count for the given profile.
60 long bootupProfile( [in]MozillaProductType product,[in]string profileName);
62 /** attempts to shutdown the current profile.
64 @returns
65 the current reference count for the current profile.
68 long shutdownProfile();
70 /** attempts to get the current product.
72 @returns
73 the current used product.
76 MozillaProductType getCurrentProduct();
78 /** attempts to get the current profile name.
80 @returns
81 the current used profile.
84 string getCurrentProfile();
86 /** attempts to check whether the current profile locked or not
88 @returns
89 return sal_True is current profile is locked
92 boolean isCurrentProfileLocked();
94 /** attempts to set the current used profile name for the given product.
96 @param product
97 is the product to be used.
98 @param profileName
99 the profile name to be used.
100 @returns
101 the current used profile name for the given product.
104 string setCurrentProfile( [in]MozillaProductType product,[in]string profileName);
109 //=============================================================================
111 }; }; }; };
113 #endif
115 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */