|
|
|
|
| 33 |
* the provisions above, a recipient may use your version of this file under |
33 |
* the provisions above, a recipient may use your version of this file under |
| 34 |
* the terms of any one of the MPL, the GPL or the LGPL. |
34 |
* the terms of any one of the MPL, the GPL or the LGPL. |
| 35 |
* |
35 |
* |
| 36 |
* ***** END LICENSE BLOCK ***** */ |
36 |
* ***** END LICENSE BLOCK ***** */ |
| 37 |
|
37 |
|
| 38 |
#include "nsIShellService.idl" |
38 |
#include "nsIShellService.idl" |
| 39 |
|
39 |
|
| 40 |
[scriptable, uuid(eccda3b0-ea69-4066-8343-ddaf1f435b53)] |
40 |
[scriptable, uuid(5a92782c-a2e8-4dd3-b18a-33acc3af4fd7)] |
| 41 |
interface nsIWindowsShellService : nsIShellService |
41 |
interface nsIWindowsShellService : nsIShellService |
| 42 |
{ |
42 |
{ |
| 43 |
/** |
43 |
/** |
| 44 |
* Restores system settings to what they were before Firefox |
44 |
* Restores system settings to what they were before Firefox |
| 45 |
* modified them. |
45 |
* modified them. |
| 46 |
* |
46 |
* |
| 47 |
* @param aForAllUsers Whether or not Firefox should restore |
47 |
* @param aForAllUsers Whether or not Firefox should restore |
|
Lines 52-80
interface nsIWindowsShellService : nsISh
|
Link Here
|
|---|
|
| 52 |
|
52 |
|
| 53 |
/** |
53 |
/** |
| 54 |
* The number of unread mail messages for the current user. |
54 |
* The number of unread mail messages for the current user. |
| 55 |
* |
55 |
* |
| 56 |
* @return The number of unread (new) mail messages for the current user. |
56 |
* @return The number of unread (new) mail messages for the current user. |
| 57 |
*/ |
57 |
*/ |
| 58 |
readonly attribute unsigned long unreadMailCount; |
58 |
readonly attribute unsigned long unreadMailCount; |
| 59 |
|
|
|
| 60 |
/** |
| 61 |
* Valid starting keys for the Windows Registry. |
| 62 |
*/ |
| 63 |
const long HKCR = 0; // HKEY_CLASSES_ROOT |
| 64 |
const long HKCC = 1; // HKEY_CURRENT_CONFIG |
| 65 |
const long HKCU = 2; // HKEY_CURRENT_USER |
| 66 |
const long HKLM = 3; // HKEY_LOCAL_MACHINE |
| 67 |
const long HKU = 4; // HKEY_USERS |
| 68 |
|
| 69 |
/** |
| 70 |
* Retrieves a Windows Registry entry value. |
| 71 |
* |
| 72 |
* @param aHKeyConstant The starting key, using the constants defined above. |
| 73 |
* @param aSubKeyName The sub key to locate |
| 74 |
* @param aValueName The value to locate in the sub key. The empty string |
| 75 |
* returns the default value of the sub key. |
| 76 |
* @return The value of the specified sub key/value, truncated to 4096 bytes. |
| 77 |
*/ |
| 78 |
string getRegistryEntry(in long aHKeyConstant, in string aSubKeyName, in string aValueName); |
| 79 |
}; |
59 |
}; |
| 80 |
|
60 |
|