Back to index

lightning-sunbird  0.9+nobinonly
Defines | Functions
Stream.cpp File Reference
#include "Stream.h"
#include "nsIComponentManager.h"
#include "nsILocalFile.h"
#include "nsXPIDLString.h"
#include "nsIIOService.h"
#include "nsNetUtil.h"
#include "nsIDialogParamBlock.h"
#include "nsIDOMWindow.h"
#include "nsIWindowWatcher.h"
#include "plstr.h"

Go to the source code of this file.

Defines

#define kRegTreeStream   (NS_LITERAL_STRING("Stream"))
#define kRegKeyURL   (NS_LITERAL_STRING("BaseURL"))
#define kRegKeyUsername   (NS_LITERAL_STRING("Username"))
#define kRegKeyPassword   (NS_LITERAL_STRING("Password"))
#define kRegKeySavePassword   (NS_LITERAL_CSTRING("SavePassword"))
#define kXferDlg   "chrome://sroaming/content/transfer/progressDialog.xul"

Functions

static NS_DEFINE_CID (kIOServiceCID, NS_IOSERVICE_CID)
static void AppendElements (nsCStringArray &target, nsCStringArray &source)

Define Documentation

Definition at line 58 of file Stream.cpp.

Definition at line 59 of file Stream.cpp.

#define kRegKeyURL   (NS_LITERAL_STRING("BaseURL"))

Definition at line 56 of file Stream.cpp.

Definition at line 57 of file Stream.cpp.

Definition at line 55 of file Stream.cpp.

#define kXferDlg   "chrome://sroaming/content/transfer/progressDialog.xul"

Definition at line 61 of file Stream.cpp.


Function Documentation

static void AppendElements ( nsCStringArray &  target,
nsCStringArray &  source 
) [static]

Definition at line 65 of file Stream.cpp.

{
  for (PRInt32 i = source.Count() - 1; i >= 0; i--)
    target.AppendCString(*source.CStringAt(i));
}
static NS_DEFINE_CID ( kIOServiceCID  ,
NS_IOSERVICE_CID   
) [static]