Back to index

lightning-sunbird  0.9+nobinonly
Public Member Functions | Public Attributes | Private Member Functions | Private Attributes
nsComposeStringService Class Reference

#include <nsMsgComposeStringBundle.h>

Inheritance diagram for nsComposeStringService:
Inheritance graph
[legend]
Collaboration diagram for nsComposeStringService:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 nsComposeStringService ()
virtual ~nsComposeStringService ()
wstring getStringByID (in long aStringID)

Public Attributes

readonly attribute nsIStringBundle bundle

Private Member Functions

nsresult InitializeStringBundle ()

Private Attributes

nsCOMPtr< nsIStringBundlemComposeStringBundle

Detailed Description

Definition at line 45 of file nsMsgComposeStringBundle.h.


Constructor & Destructor Documentation

Definition at line 47 of file nsMsgComposeStringBundle.cpp.

{
}

Definition at line 51 of file nsMsgComposeStringBundle.cpp.

{}

Member Function Documentation

wstring nsIMsgStringService::getStringByID ( in long  aStringID) [inherited]

Definition at line 94 of file nsMsgComposeStringBundle.cpp.

{
  nsCOMPtr<nsIStringBundleService> stringService = do_GetService(NS_STRINGBUNDLE_CONTRACTID);
  NS_ENSURE_TRUE(stringService, NS_ERROR_FAILURE);

  NS_ENSURE_SUCCESS(stringService->CreateBundle("chrome://messenger/locale/messengercompose/composeMsgs.properties", getter_AddRefs(mComposeStringBundle)), 
                    NS_ERROR_FAILURE);
  return NS_OK;
}

Here is the call graph for this function:


Member Data Documentation

Definition at line 59 of file nsIMsgStringService.idl.

Definition at line 55 of file nsMsgComposeStringBundle.h.


The documentation for this class was generated from the following files: