/usr/share/idl/thunderbird/nsISupportsPrimitives.idl is in thunderbird-dev 1:52.8.0-1~deb8u1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 | /* -*- Mode: IDL; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/* 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/. */
/* nsISupports wrappers for single primitive pieces of data. */
#include "nsISupports.idl"
/**
* Primitive base interface.
*
* These first three are pointer types and do data copying
* using the nsIMemory. Be careful!
*/
[scriptable, uuid(d0d4b136-1dd1-11b2-9371-f0727ef827c0)]
interface nsISupportsPrimitive : nsISupports
{
const unsigned short TYPE_ID = 1;
const unsigned short TYPE_CSTRING = 2;
const unsigned short TYPE_STRING = 3;
const unsigned short TYPE_PRBOOL = 4;
const unsigned short TYPE_PRUINT8 = 5;
const unsigned short TYPE_PRUINT16 = 6;
const unsigned short TYPE_PRUINT32 = 7;
const unsigned short TYPE_PRUINT64 = 8;
const unsigned short TYPE_PRTIME = 9;
const unsigned short TYPE_CHAR = 10;
const unsigned short TYPE_PRINT16 = 11;
const unsigned short TYPE_PRINT32 = 12;
const unsigned short TYPE_PRINT64 = 13;
const unsigned short TYPE_FLOAT = 14;
const unsigned short TYPE_DOUBLE = 15;
const unsigned short TYPE_VOID = 16;
const unsigned short TYPE_INTERFACE_POINTER = 17;
readonly attribute unsigned short type;
};
/**
* Scriptable storage for nsID structures
*/
[scriptable, uuid(d18290a0-4a1c-11d3-9890-006008962422)]
interface nsISupportsID : nsISupportsPrimitive
{
attribute nsIDPtr data;
string toString();
};
/**
* Scriptable storage for ASCII strings
*/
[scriptable, uuid(d65ff270-4a1c-11d3-9890-006008962422)]
interface nsISupportsCString : nsISupportsPrimitive
{
attribute ACString data;
string toString();
};
/**
* Scriptable storage for Unicode strings
*/
[scriptable, uuid(d79dc970-4a1c-11d3-9890-006008962422)]
interface nsISupportsString : nsISupportsPrimitive
{
attribute AString data;
wstring toString();
};
/**
* The rest are truly primitive and are passed by value
*/
/**
* Scriptable storage for booleans
*/
[scriptable, uuid(ddc3b490-4a1c-11d3-9890-006008962422)]
interface nsISupportsPRBool : nsISupportsPrimitive
{
attribute boolean data;
string toString();
};
/**
* Scriptable storage for 8-bit integers
*/
[scriptable, uuid(dec2e4e0-4a1c-11d3-9890-006008962422)]
interface nsISupportsPRUint8 : nsISupportsPrimitive
{
attribute uint8_t data;
string toString();
};
/**
* Scriptable storage for unsigned 16-bit integers
*/
[scriptable, uuid(dfacb090-4a1c-11d3-9890-006008962422)]
interface nsISupportsPRUint16 : nsISupportsPrimitive
{
attribute uint16_t data;
string toString();
};
/**
* Scriptable storage for unsigned 32-bit integers
*/
[scriptable, uuid(e01dc470-4a1c-11d3-9890-006008962422)]
interface nsISupportsPRUint32 : nsISupportsPrimitive
{
attribute uint32_t data;
string toString();
};
/**
* Scriptable storage for 64-bit integers
*/
[scriptable, uuid(e13567c0-4a1c-11d3-9890-006008962422)]
interface nsISupportsPRUint64 : nsISupportsPrimitive
{
attribute uint64_t data;
string toString();
};
/**
* Scriptable storage for NSPR date/time values
*/
[scriptable, uuid(e2563630-4a1c-11d3-9890-006008962422)]
interface nsISupportsPRTime : nsISupportsPrimitive
{
attribute PRTime data;
string toString();
};
/**
* Scriptable storage for single character values
* (often used to store an ASCII character)
*/
[scriptable, uuid(e2b05e40-4a1c-11d3-9890-006008962422)]
interface nsISupportsChar : nsISupportsPrimitive
{
attribute char data;
string toString();
};
/**
* Scriptable storage for 16-bit integers
*/
[scriptable, uuid(e30d94b0-4a1c-11d3-9890-006008962422)]
interface nsISupportsPRInt16 : nsISupportsPrimitive
{
attribute int16_t data;
string toString();
};
/**
* Scriptable storage for 32-bit integers
*/
[scriptable, uuid(e36c5250-4a1c-11d3-9890-006008962422)]
interface nsISupportsPRInt32 : nsISupportsPrimitive
{
attribute int32_t data;
string toString();
};
/**
* Scriptable storage for 64-bit integers
*/
[scriptable, uuid(e3cb0ff0-4a1c-11d3-9890-006008962422)]
interface nsISupportsPRInt64 : nsISupportsPrimitive
{
attribute int64_t data;
string toString();
};
/**
* Scriptable storage for floating point numbers
*/
[scriptable, uuid(abeaa390-4ac0-11d3-baea-00805f8a5dd7)]
interface nsISupportsFloat : nsISupportsPrimitive
{
attribute float data;
string toString();
};
/**
* Scriptable storage for doubles
*/
[scriptable, uuid(b32523a0-4ac0-11d3-baea-00805f8a5dd7)]
interface nsISupportsDouble : nsISupportsPrimitive
{
attribute double data;
string toString();
};
/**
* Scriptable storage for generic pointers
*/
[scriptable, uuid(464484f0-568d-11d3-baf8-00805f8a5dd7)]
interface nsISupportsVoid : nsISupportsPrimitive
{
[noscript] attribute voidPtr data;
string toString();
};
/**
* Scriptable storage for other XPCOM objects
*/
[scriptable, uuid(995ea724-1dd1-11b2-9211-c21bdd3e7ed0)]
interface nsISupportsInterfacePointer : nsISupportsPrimitive
{
attribute nsISupports data;
attribute nsIDPtr dataIID;
string toString();
};
|