PlacesFolderConversion Namespace Reference


Functions

PRInt64 DecodeFolder (const nsCString &aName)
 Converts a folder name to a folder id.
void AppendFolder (nsCString &aQuery, PRInt64 aFolderID)
 Converts a folder id to a named constant, or a string representation of the folder id if there is no named constant for the folder, and appends it to aQuery.


Function Documentation

PRInt64 PlacesFolderConversion::DecodeFolder ( const nsCString aName  )  [inline]

Parameters:
aName The name of the folder to convert to a folder id.
Returns:
the folder id if aName is a recognizable name, -1 otherwise.

void PlacesFolderConversion::AppendFolder ( nsCString aQuery,
PRInt64  aFolderID 
) [inline]

Parameters:
aQuery The string to append the folder string to. This is generally a query string, but could really be anything.
aFolderID The folder ID to convert to the proper named constant.


Generated Mozilla by doxygen 1.5.6