1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
3 * This file is part of the LibreOffice project.
5 * This Source Code Form is subject to the terms of the Mozilla Public
6 * License, v. 2.0. If a copy of the MPL was not distributed with this
7 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
9 * This file incorporates work covered by the following license notice:
11 * Licensed to the Apache Software Foundation (ASF) under one or more
12 * contributor license agreements. See the NOTICE file distributed
13 * with this work for additional information regarding copyright
14 * ownership. The ASF licenses this file to you under the Apache
15 * License, Version 2.0 (the "License"); you may not use this file
16 * except in compliance with the License. You may obtain a copy of
17 * the License at http://www.apache.org/licenses/LICENSE-2.0 .
19 #ifndef __com_sun_star_mozilla_XProfileDiscover_idl__
20 #define __com_sun_star_mozilla_XProfileDiscover_idl__
22 #include
<com
/sun
/star
/uno
/XInterface.idl
>
23 #include
<com
/sun
/star
/mozilla
/MozillaProductType.idl
>
26 module com
{ module sun
{ module star
{ module mozilla
{
30 /** is the interface used to list and get information for Mozilla/Thunderbird profiles
33 @see com::sun::star::mozilla::XProfileManager
34 @see com::sun::star::mozilla::MozillaBootstrap
36 published
interface XProfileDiscover
: com
::sun
::star
::uno
::XInterface
39 /** attempts to get the profiles count.
42 is the product name to get profiles count.Currently support "Mozilla" and "Thunderbird".
44 the profiles count of selected product.
47 long getProfileCount
( [in]MozillaProductType product
);
49 /** attempts to get the profile list for the given product.
52 is the product name to get profile list.Currently support "Mozilla" and "Thunderbird".
54 is a list of all profile of the given product.
56 the profile count for the given product.
59 long getProfileList
( [in]MozillaProductType product
,[out] sequence
<string> list
);
61 /** attempts to get the default profile name for the given product.
64 is the product name to get default profile.Currently support "Mozilla" and "Thunderbird".
66 the default profile name for the given product.
69 string getDefaultProfile
( [in]MozillaProductType product
);
72 /** attempts to get the full path for the given profile.
75 is the product name to get profile path.Currently support "Mozilla" and "Thunderbird".
77 the profile name to get full path.
79 the full path of the given profile.
82 string getProfilePath
( [in]MozillaProductType product
,[in]string profileName
);
84 /** attempts to get whether profile is locked by other applications.
87 is the product name to get profile path.Currently support "Mozilla" and "Thunderbird".
89 the profile name to check.
91 true is the given profile is locked.
94 boolean isProfileLocked
( [in]MozillaProductType product
,[in]string profileName
);
96 /** return true if the given profile exists
99 is the product name to get profile path.Currently support "Mozilla" and "Thunderbird".
101 the profile name to check.
103 whether given profile exists
106 boolean getProfileExists
( [in]MozillaProductType product
,[in]string profileName
);
116 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */