Songbird Prompter Source. More...
#include "sbPrompter.h"
#include <nsAutoLock.h>
#include <nsComponentManagerUtils.h>
#include <nsIDOMWindowInternal.h>
#include <nsIProxyObjectManager.h>
#include <nsPIPromptService.h>
#include <nsServiceManagerUtils.h>
#include <nsThreadUtils.h>
Go to the source code of this file.
Macros | |
#define | kPromptURL "chrome://global/content/commonDialog.xul" |
#define | kHTMLPromptURL "chrome://global/content/commonDialog.xul?useHTML" |
Functions | |
NS_IMPL_THREADSAFE_ISUPPORTS3 (sbPrompter, sbIPrompter, nsIPromptService, nsIObserver) NS_IMETHODIMP sbPrompter | |
Variables | |
static const char | kQuestionIconClass [] = "question-icon" |
static const char | kAlertIconClass [] = "alert-icon" |
Songbird Prompter Source.
Definition in file sbPrompter.cpp.
#define kHTMLPromptURL "chrome://global/content/commonDialog.xul?useHTML" |
Definition at line 66 of file sbPrompter.cpp.
#define kPromptURL "chrome://global/content/commonDialog.xul" |
Definition at line 65 of file sbPrompter.cpp.
NS_IMPL_THREADSAFE_ISUPPORTS3 | ( | sbPrompter | , |
sbIPrompter | , | ||
nsIPromptService | , | ||
nsIObserver | |||
) |
Open a dialog window with the chrome URL specified by aUrl and parent specified by aParent. The window name is specified by aName and the window options are specified by aOptions. Additional window arguments may be provided in aExtraArguments.
aParent | Parent window. |
aUrl | URL of window chrome. |
aName | Window name. |
aOptions | Window options. |
aExtraArguments | Extra window arguments. |
When called on the main-thread, return NS_ERROR_NOT_AVAILABLE if window of configured type is not available and configured to wait for window.
Definition at line 77 of file sbPrompter.cpp.
|
static |
Definition at line 68 of file sbPrompter.cpp.
|
static |
Definition at line 67 of file sbPrompter.cpp.