/usr/include/thunderbird/nsIFilePicker.h 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 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 | /*
* DO NOT EDIT. THIS FILE IS GENERATED FROM ../../../dist/idl/nsIFilePicker.idl
*/
#ifndef __gen_nsIFilePicker_h__
#define __gen_nsIFilePicker_h__
#ifndef __gen_nsISupports_h__
#include "nsISupports.h"
#endif
/* For IDL files that don't want to include root IDL files. */
#ifndef NS_NO_VTABLE
#define NS_NO_VTABLE
#endif
class nsIFile; /* forward declaration */
class nsIURI; /* forward declaration */
class mozIDOMWindowProxy; /* forward declaration */
class nsISimpleEnumerator; /* forward declaration */
/* starting interface: nsIFilePickerShownCallback */
#define NS_IFILEPICKERSHOWNCALLBACK_IID_STR "0d79adad-b244-49a5-9997-2a8cad93fc44"
#define NS_IFILEPICKERSHOWNCALLBACK_IID \
{0x0d79adad, 0xb244, 0x49a5, \
{ 0x99, 0x97, 0x2a, 0x8c, 0xad, 0x93, 0xfc, 0x44 }}
class NS_NO_VTABLE nsIFilePickerShownCallback : public nsISupports {
public:
NS_DECLARE_STATIC_IID_ACCESSOR(NS_IFILEPICKERSHOWNCALLBACK_IID)
/* void done (in short aResult); */
NS_IMETHOD Done(int16_t aResult) = 0;
};
NS_DEFINE_STATIC_IID_ACCESSOR(nsIFilePickerShownCallback, NS_IFILEPICKERSHOWNCALLBACK_IID)
/* Use this macro when declaring classes that implement this interface. */
#define NS_DECL_NSIFILEPICKERSHOWNCALLBACK \
NS_IMETHOD Done(int16_t aResult) override;
/* Use this macro when declaring the members of this interface when the
class doesn't implement the interface. This is useful for forwarding. */
#define NS_DECL_NON_VIRTUAL_NSIFILEPICKERSHOWNCALLBACK \
NS_METHOD Done(int16_t aResult);
/* Use this macro to declare functions that forward the behavior of this interface to another object. */
#define NS_FORWARD_NSIFILEPICKERSHOWNCALLBACK(_to) \
NS_IMETHOD Done(int16_t aResult) override { return _to Done(aResult); }
/* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
#define NS_FORWARD_SAFE_NSIFILEPICKERSHOWNCALLBACK(_to) \
NS_IMETHOD Done(int16_t aResult) override { return !_to ? NS_ERROR_NULL_POINTER : _to->Done(aResult); }
#if 0
/* Use the code below as a template for the implementation class for this interface. */
/* Header file */
class nsFilePickerShownCallback : public nsIFilePickerShownCallback
{
public:
NS_DECL_ISUPPORTS
NS_DECL_NSIFILEPICKERSHOWNCALLBACK
nsFilePickerShownCallback();
private:
~nsFilePickerShownCallback();
protected:
/* additional members */
};
/* Implementation file */
NS_IMPL_ISUPPORTS(nsFilePickerShownCallback, nsIFilePickerShownCallback)
nsFilePickerShownCallback::nsFilePickerShownCallback()
{
/* member initializers and constructor code */
}
nsFilePickerShownCallback::~nsFilePickerShownCallback()
{
/* destructor code */
}
/* void done (in short aResult); */
NS_IMETHODIMP nsFilePickerShownCallback::Done(int16_t aResult)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* End of implementation class template. */
#endif
/* starting interface: nsIFilePicker */
#define NS_IFILEPICKER_IID_STR "9285b984-02d3-46b4-9514-7da8c471a747"
#define NS_IFILEPICKER_IID \
{0x9285b984, 0x02d3, 0x46b4, \
{ 0x95, 0x14, 0x7d, 0xa8, 0xc4, 0x71, 0xa7, 0x47 }}
class NS_NO_VTABLE nsIFilePicker : public nsISupports {
public:
NS_DECLARE_STATIC_IID_ACCESSOR(NS_IFILEPICKER_IID)
enum {
modeOpen = 0,
modeSave = 1,
modeGetFolder = 2,
modeOpenMultiple = 3,
returnOK = 0,
returnCancel = 1,
returnReplace = 2,
filterAll = 1,
filterHTML = 2,
filterText = 4,
filterImages = 8,
filterXML = 16,
filterXUL = 32,
filterApps = 64,
filterAllowURLs = 128,
filterAudio = 256,
filterVideo = 512
};
/* void init (in mozIDOMWindowProxy parent, in AString title, in short mode); */
NS_IMETHOD Init(mozIDOMWindowProxy *parent, const nsAString & title, int16_t mode) = 0;
/* void appendFilters (in long filterMask); */
NS_IMETHOD AppendFilters(int32_t filterMask) = 0;
/* void appendFilter (in AString title, in AString filter); */
NS_IMETHOD AppendFilter(const nsAString & title, const nsAString & filter) = 0;
/* attribute AString defaultString; */
NS_IMETHOD GetDefaultString(nsAString & aDefaultString) = 0;
NS_IMETHOD SetDefaultString(const nsAString & aDefaultString) = 0;
/* attribute AString defaultExtension; */
NS_IMETHOD GetDefaultExtension(nsAString & aDefaultExtension) = 0;
NS_IMETHOD SetDefaultExtension(const nsAString & aDefaultExtension) = 0;
/* attribute long filterIndex; */
NS_IMETHOD GetFilterIndex(int32_t *aFilterIndex) = 0;
NS_IMETHOD SetFilterIndex(int32_t aFilterIndex) = 0;
/* attribute nsIFile displayDirectory; */
NS_IMETHOD GetDisplayDirectory(nsIFile * *aDisplayDirectory) = 0;
NS_IMETHOD SetDisplayDirectory(nsIFile *aDisplayDirectory) = 0;
/* readonly attribute nsIFile file; */
NS_IMETHOD GetFile(nsIFile * *aFile) = 0;
/* readonly attribute nsIURI fileURL; */
NS_IMETHOD GetFileURL(nsIURI * *aFileURL) = 0;
/* readonly attribute nsISimpleEnumerator files; */
NS_IMETHOD GetFiles(nsISimpleEnumerator * *aFiles) = 0;
/* readonly attribute nsISupports domFileOrDirectory; */
NS_IMETHOD GetDomFileOrDirectory(nsISupports * *aDomFileOrDirectory) = 0;
/* readonly attribute nsISimpleEnumerator domFileOrDirectoryEnumerator; */
NS_IMETHOD GetDomFileOrDirectoryEnumerator(nsISimpleEnumerator * *aDomFileOrDirectoryEnumerator) = 0;
/* attribute boolean addToRecentDocs; */
NS_IMETHOD GetAddToRecentDocs(bool *aAddToRecentDocs) = 0;
NS_IMETHOD SetAddToRecentDocs(bool aAddToRecentDocs) = 0;
/* [deprecated] short show (); */
NS_IMETHOD Show(int16_t *_retval) = 0;
/* void open (in nsIFilePickerShownCallback aFilePickerShownCallback); */
NS_IMETHOD Open(nsIFilePickerShownCallback *aFilePickerShownCallback) = 0;
/* readonly attribute short mode; */
NS_IMETHOD GetMode(int16_t *aMode) = 0;
/* attribute AString okButtonLabel; */
NS_IMETHOD GetOkButtonLabel(nsAString & aOkButtonLabel) = 0;
NS_IMETHOD SetOkButtonLabel(const nsAString & aOkButtonLabel) = 0;
};
NS_DEFINE_STATIC_IID_ACCESSOR(nsIFilePicker, NS_IFILEPICKER_IID)
/* Use this macro when declaring classes that implement this interface. */
#define NS_DECL_NSIFILEPICKER \
NS_IMETHOD Init(mozIDOMWindowProxy *parent, const nsAString & title, int16_t mode) override; \
NS_IMETHOD AppendFilters(int32_t filterMask) override; \
NS_IMETHOD AppendFilter(const nsAString & title, const nsAString & filter) override; \
NS_IMETHOD GetDefaultString(nsAString & aDefaultString) override; \
NS_IMETHOD SetDefaultString(const nsAString & aDefaultString) override; \
NS_IMETHOD GetDefaultExtension(nsAString & aDefaultExtension) override; \
NS_IMETHOD SetDefaultExtension(const nsAString & aDefaultExtension) override; \
NS_IMETHOD GetFilterIndex(int32_t *aFilterIndex) override; \
NS_IMETHOD SetFilterIndex(int32_t aFilterIndex) override; \
NS_IMETHOD GetDisplayDirectory(nsIFile * *aDisplayDirectory) override; \
NS_IMETHOD SetDisplayDirectory(nsIFile *aDisplayDirectory) override; \
NS_IMETHOD GetFile(nsIFile * *aFile) override; \
NS_IMETHOD GetFileURL(nsIURI * *aFileURL) override; \
NS_IMETHOD GetFiles(nsISimpleEnumerator * *aFiles) override; \
NS_IMETHOD GetDomFileOrDirectory(nsISupports * *aDomFileOrDirectory) override; \
NS_IMETHOD GetDomFileOrDirectoryEnumerator(nsISimpleEnumerator * *aDomFileOrDirectoryEnumerator) override; \
NS_IMETHOD GetAddToRecentDocs(bool *aAddToRecentDocs) override; \
NS_IMETHOD SetAddToRecentDocs(bool aAddToRecentDocs) override; \
NS_IMETHOD Show(int16_t *_retval) override; \
NS_IMETHOD Open(nsIFilePickerShownCallback *aFilePickerShownCallback) override; \
NS_IMETHOD GetMode(int16_t *aMode) override; \
NS_IMETHOD GetOkButtonLabel(nsAString & aOkButtonLabel) override; \
NS_IMETHOD SetOkButtonLabel(const nsAString & aOkButtonLabel) override;
/* Use this macro when declaring the members of this interface when the
class doesn't implement the interface. This is useful for forwarding. */
#define NS_DECL_NON_VIRTUAL_NSIFILEPICKER \
NS_METHOD Init(mozIDOMWindowProxy *parent, const nsAString & title, int16_t mode); \
NS_METHOD AppendFilters(int32_t filterMask); \
NS_METHOD AppendFilter(const nsAString & title, const nsAString & filter); \
NS_METHOD GetDefaultString(nsAString & aDefaultString); \
NS_METHOD SetDefaultString(const nsAString & aDefaultString); \
NS_METHOD GetDefaultExtension(nsAString & aDefaultExtension); \
NS_METHOD SetDefaultExtension(const nsAString & aDefaultExtension); \
NS_METHOD GetFilterIndex(int32_t *aFilterIndex); \
NS_METHOD SetFilterIndex(int32_t aFilterIndex); \
NS_METHOD GetDisplayDirectory(nsIFile * *aDisplayDirectory); \
NS_METHOD SetDisplayDirectory(nsIFile *aDisplayDirectory); \
NS_METHOD GetFile(nsIFile * *aFile); \
NS_METHOD GetFileURL(nsIURI * *aFileURL); \
NS_METHOD GetFiles(nsISimpleEnumerator * *aFiles); \
NS_METHOD GetDomFileOrDirectory(nsISupports * *aDomFileOrDirectory); \
NS_METHOD GetDomFileOrDirectoryEnumerator(nsISimpleEnumerator * *aDomFileOrDirectoryEnumerator); \
NS_METHOD GetAddToRecentDocs(bool *aAddToRecentDocs); \
NS_METHOD SetAddToRecentDocs(bool aAddToRecentDocs); \
NS_METHOD Show(int16_t *_retval); \
NS_METHOD Open(nsIFilePickerShownCallback *aFilePickerShownCallback); \
NS_METHOD GetMode(int16_t *aMode); \
NS_METHOD GetOkButtonLabel(nsAString & aOkButtonLabel); \
NS_METHOD SetOkButtonLabel(const nsAString & aOkButtonLabel);
/* Use this macro to declare functions that forward the behavior of this interface to another object. */
#define NS_FORWARD_NSIFILEPICKER(_to) \
NS_IMETHOD Init(mozIDOMWindowProxy *parent, const nsAString & title, int16_t mode) override { return _to Init(parent, title, mode); } \
NS_IMETHOD AppendFilters(int32_t filterMask) override { return _to AppendFilters(filterMask); } \
NS_IMETHOD AppendFilter(const nsAString & title, const nsAString & filter) override { return _to AppendFilter(title, filter); } \
NS_IMETHOD GetDefaultString(nsAString & aDefaultString) override { return _to GetDefaultString(aDefaultString); } \
NS_IMETHOD SetDefaultString(const nsAString & aDefaultString) override { return _to SetDefaultString(aDefaultString); } \
NS_IMETHOD GetDefaultExtension(nsAString & aDefaultExtension) override { return _to GetDefaultExtension(aDefaultExtension); } \
NS_IMETHOD SetDefaultExtension(const nsAString & aDefaultExtension) override { return _to SetDefaultExtension(aDefaultExtension); } \
NS_IMETHOD GetFilterIndex(int32_t *aFilterIndex) override { return _to GetFilterIndex(aFilterIndex); } \
NS_IMETHOD SetFilterIndex(int32_t aFilterIndex) override { return _to SetFilterIndex(aFilterIndex); } \
NS_IMETHOD GetDisplayDirectory(nsIFile * *aDisplayDirectory) override { return _to GetDisplayDirectory(aDisplayDirectory); } \
NS_IMETHOD SetDisplayDirectory(nsIFile *aDisplayDirectory) override { return _to SetDisplayDirectory(aDisplayDirectory); } \
NS_IMETHOD GetFile(nsIFile * *aFile) override { return _to GetFile(aFile); } \
NS_IMETHOD GetFileURL(nsIURI * *aFileURL) override { return _to GetFileURL(aFileURL); } \
NS_IMETHOD GetFiles(nsISimpleEnumerator * *aFiles) override { return _to GetFiles(aFiles); } \
NS_IMETHOD GetDomFileOrDirectory(nsISupports * *aDomFileOrDirectory) override { return _to GetDomFileOrDirectory(aDomFileOrDirectory); } \
NS_IMETHOD GetDomFileOrDirectoryEnumerator(nsISimpleEnumerator * *aDomFileOrDirectoryEnumerator) override { return _to GetDomFileOrDirectoryEnumerator(aDomFileOrDirectoryEnumerator); } \
NS_IMETHOD GetAddToRecentDocs(bool *aAddToRecentDocs) override { return _to GetAddToRecentDocs(aAddToRecentDocs); } \
NS_IMETHOD SetAddToRecentDocs(bool aAddToRecentDocs) override { return _to SetAddToRecentDocs(aAddToRecentDocs); } \
NS_IMETHOD Show(int16_t *_retval) override { return _to Show(_retval); } \
NS_IMETHOD Open(nsIFilePickerShownCallback *aFilePickerShownCallback) override { return _to Open(aFilePickerShownCallback); } \
NS_IMETHOD GetMode(int16_t *aMode) override { return _to GetMode(aMode); } \
NS_IMETHOD GetOkButtonLabel(nsAString & aOkButtonLabel) override { return _to GetOkButtonLabel(aOkButtonLabel); } \
NS_IMETHOD SetOkButtonLabel(const nsAString & aOkButtonLabel) override { return _to SetOkButtonLabel(aOkButtonLabel); }
/* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
#define NS_FORWARD_SAFE_NSIFILEPICKER(_to) \
NS_IMETHOD Init(mozIDOMWindowProxy *parent, const nsAString & title, int16_t mode) override { return !_to ? NS_ERROR_NULL_POINTER : _to->Init(parent, title, mode); } \
NS_IMETHOD AppendFilters(int32_t filterMask) override { return !_to ? NS_ERROR_NULL_POINTER : _to->AppendFilters(filterMask); } \
NS_IMETHOD AppendFilter(const nsAString & title, const nsAString & filter) override { return !_to ? NS_ERROR_NULL_POINTER : _to->AppendFilter(title, filter); } \
NS_IMETHOD GetDefaultString(nsAString & aDefaultString) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetDefaultString(aDefaultString); } \
NS_IMETHOD SetDefaultString(const nsAString & aDefaultString) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetDefaultString(aDefaultString); } \
NS_IMETHOD GetDefaultExtension(nsAString & aDefaultExtension) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetDefaultExtension(aDefaultExtension); } \
NS_IMETHOD SetDefaultExtension(const nsAString & aDefaultExtension) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetDefaultExtension(aDefaultExtension); } \
NS_IMETHOD GetFilterIndex(int32_t *aFilterIndex) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetFilterIndex(aFilterIndex); } \
NS_IMETHOD SetFilterIndex(int32_t aFilterIndex) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetFilterIndex(aFilterIndex); } \
NS_IMETHOD GetDisplayDirectory(nsIFile * *aDisplayDirectory) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetDisplayDirectory(aDisplayDirectory); } \
NS_IMETHOD SetDisplayDirectory(nsIFile *aDisplayDirectory) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetDisplayDirectory(aDisplayDirectory); } \
NS_IMETHOD GetFile(nsIFile * *aFile) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetFile(aFile); } \
NS_IMETHOD GetFileURL(nsIURI * *aFileURL) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetFileURL(aFileURL); } \
NS_IMETHOD GetFiles(nsISimpleEnumerator * *aFiles) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetFiles(aFiles); } \
NS_IMETHOD GetDomFileOrDirectory(nsISupports * *aDomFileOrDirectory) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetDomFileOrDirectory(aDomFileOrDirectory); } \
NS_IMETHOD GetDomFileOrDirectoryEnumerator(nsISimpleEnumerator * *aDomFileOrDirectoryEnumerator) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetDomFileOrDirectoryEnumerator(aDomFileOrDirectoryEnumerator); } \
NS_IMETHOD GetAddToRecentDocs(bool *aAddToRecentDocs) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetAddToRecentDocs(aAddToRecentDocs); } \
NS_IMETHOD SetAddToRecentDocs(bool aAddToRecentDocs) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetAddToRecentDocs(aAddToRecentDocs); } \
NS_IMETHOD Show(int16_t *_retval) override { return !_to ? NS_ERROR_NULL_POINTER : _to->Show(_retval); } \
NS_IMETHOD Open(nsIFilePickerShownCallback *aFilePickerShownCallback) override { return !_to ? NS_ERROR_NULL_POINTER : _to->Open(aFilePickerShownCallback); } \
NS_IMETHOD GetMode(int16_t *aMode) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetMode(aMode); } \
NS_IMETHOD GetOkButtonLabel(nsAString & aOkButtonLabel) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetOkButtonLabel(aOkButtonLabel); } \
NS_IMETHOD SetOkButtonLabel(const nsAString & aOkButtonLabel) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetOkButtonLabel(aOkButtonLabel); }
#if 0
/* Use the code below as a template for the implementation class for this interface. */
/* Header file */
class nsFilePicker : public nsIFilePicker
{
public:
NS_DECL_ISUPPORTS
NS_DECL_NSIFILEPICKER
nsFilePicker();
private:
~nsFilePicker();
protected:
/* additional members */
};
/* Implementation file */
NS_IMPL_ISUPPORTS(nsFilePicker, nsIFilePicker)
nsFilePicker::nsFilePicker()
{
/* member initializers and constructor code */
}
nsFilePicker::~nsFilePicker()
{
/* destructor code */
}
/* void init (in mozIDOMWindowProxy parent, in AString title, in short mode); */
NS_IMETHODIMP nsFilePicker::Init(mozIDOMWindowProxy *parent, const nsAString & title, int16_t mode)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* void appendFilters (in long filterMask); */
NS_IMETHODIMP nsFilePicker::AppendFilters(int32_t filterMask)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* void appendFilter (in AString title, in AString filter); */
NS_IMETHODIMP nsFilePicker::AppendFilter(const nsAString & title, const nsAString & filter)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* attribute AString defaultString; */
NS_IMETHODIMP nsFilePicker::GetDefaultString(nsAString & aDefaultString)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP nsFilePicker::SetDefaultString(const nsAString & aDefaultString)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* attribute AString defaultExtension; */
NS_IMETHODIMP nsFilePicker::GetDefaultExtension(nsAString & aDefaultExtension)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP nsFilePicker::SetDefaultExtension(const nsAString & aDefaultExtension)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* attribute long filterIndex; */
NS_IMETHODIMP nsFilePicker::GetFilterIndex(int32_t *aFilterIndex)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP nsFilePicker::SetFilterIndex(int32_t aFilterIndex)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* attribute nsIFile displayDirectory; */
NS_IMETHODIMP nsFilePicker::GetDisplayDirectory(nsIFile * *aDisplayDirectory)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP nsFilePicker::SetDisplayDirectory(nsIFile *aDisplayDirectory)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* readonly attribute nsIFile file; */
NS_IMETHODIMP nsFilePicker::GetFile(nsIFile * *aFile)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* readonly attribute nsIURI fileURL; */
NS_IMETHODIMP nsFilePicker::GetFileURL(nsIURI * *aFileURL)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* readonly attribute nsISimpleEnumerator files; */
NS_IMETHODIMP nsFilePicker::GetFiles(nsISimpleEnumerator * *aFiles)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* readonly attribute nsISupports domFileOrDirectory; */
NS_IMETHODIMP nsFilePicker::GetDomFileOrDirectory(nsISupports * *aDomFileOrDirectory)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* readonly attribute nsISimpleEnumerator domFileOrDirectoryEnumerator; */
NS_IMETHODIMP nsFilePicker::GetDomFileOrDirectoryEnumerator(nsISimpleEnumerator * *aDomFileOrDirectoryEnumerator)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* attribute boolean addToRecentDocs; */
NS_IMETHODIMP nsFilePicker::GetAddToRecentDocs(bool *aAddToRecentDocs)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP nsFilePicker::SetAddToRecentDocs(bool aAddToRecentDocs)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* [deprecated] short show (); */
NS_IMETHODIMP nsFilePicker::Show(int16_t *_retval)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* void open (in nsIFilePickerShownCallback aFilePickerShownCallback); */
NS_IMETHODIMP nsFilePicker::Open(nsIFilePickerShownCallback *aFilePickerShownCallback)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* readonly attribute short mode; */
NS_IMETHODIMP nsFilePicker::GetMode(int16_t *aMode)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* attribute AString okButtonLabel; */
NS_IMETHODIMP nsFilePicker::GetOkButtonLabel(nsAString & aOkButtonLabel)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP nsFilePicker::SetOkButtonLabel(const nsAString & aOkButtonLabel)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* End of implementation class template. */
#endif
#endif /* __gen_nsIFilePicker_h__ */
|