Back to index

lightning-sunbird  0.9+nobinonly
Public Member Functions | Public Attributes
searchTerm Class Reference
Collaboration diagram for searchTerm:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 searchTerm (const char *aDatasource, PRUint32 aDatasourceLen, const char *aProperty, PRUint32 aPropertyLen, const char *aMethod, PRUint32 aMethodLen, const char *aText, PRUint32 aTextLen)
 ~searchTerm ()
 searchTerm (const char *aDatasource, PRUint32 aDatasourceLen, const char *aProperty, PRUint32 aPropertyLen, const char *aMethod, PRUint32 aMethodLen, const char *aText, PRUint32 aTextLen)
 ~searchTerm ()

Public Attributes

nsDependentCSubstring datasource
nsDependentCSubstring property
nsDependentCSubstring method
nsXPIDLString text
rowMatchCallback match

Detailed Description

Definition at line 179 of file nsGlobalHistory.cpp.


Constructor & Destructor Documentation

searchTerm::searchTerm ( const char *  aDatasource,
PRUint32  aDatasourceLen,
const char *  aProperty,
PRUint32  aPropertyLen,
const char *  aMethod,
PRUint32  aMethodLen,
const char *  aText,
PRUint32  aTextLen 
) [inline]

Definition at line 181 of file nsGlobalHistory.cpp.

                                                  :
    datasource(aDatasource, aDatasource+aDatasourceLen),
    property(aProperty, aProperty+aPropertyLen),
    method(aMethod, aMethod+aMethodLen)
  {
    MOZ_COUNT_CTOR(searchTerm);
    nsresult rv;
    nsCOMPtr<nsITextToSubURI> textToSubURI = do_GetService(NS_ITEXTTOSUBURI_CONTRACTID, &rv);
    if (NS_SUCCEEDED(rv))
      textToSubURI->UnEscapeAndConvert("UTF-8", PromiseFlatCString(Substring(aText, aText + aTextLen)).get(), getter_Copies(text));
  }

Here is the call graph for this function:

Definition at line 195 of file nsGlobalHistory.cpp.

searchTerm::searchTerm ( const char *  aDatasource,
PRUint32  aDatasourceLen,
const char *  aProperty,
PRUint32  aPropertyLen,
const char *  aMethod,
PRUint32  aMethodLen,
const char *  aText,
PRUint32  aTextLen 
) [inline]

Definition at line 179 of file nsGlobalHistory.cpp.

                                                  :
    datasource(aDatasource, aDatasource+aDatasourceLen),
    property(aProperty, aProperty+aPropertyLen),
    method(aMethod, aMethod+aMethodLen)
  {
    MOZ_COUNT_CTOR(searchTerm);
    nsresult rv;
    nsCOMPtr<nsITextToSubURI> textToSubURI = do_GetService(NS_ITEXTTOSUBURI_CONTRACTID, &rv);
    if (NS_SUCCEEDED(rv))
      textToSubURI->UnEscapeAndConvert("UTF-8",  PromiseFlatCString(Substring(aText, aText + aTextLen)).get(), getter_Copies(text));
  }

Here is the call graph for this function:

Definition at line 193 of file nsGlobalHistory.cpp.


Member Data Documentation

Definition at line 199 of file nsGlobalHistory.cpp.

Definition at line 203 of file nsGlobalHistory.cpp.

Definition at line 201 of file nsGlobalHistory.cpp.

Definition at line 200 of file nsGlobalHistory.cpp.

Definition at line 202 of file nsGlobalHistory.cpp.


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