nsPlacesImportExportService Class Reference

#include <nsPlacesImportExportService.h>

Inheritance diagram for nsPlacesImportExportService:
[legend]
Collaboration diagram for nsPlacesImportExportService:
[legend]

Public Member Functions

NS_DECL_ISUPPORTS
NS_DECL_NSIPLACESIMPORTEXPORTSERVICE
NS_DECL_NSINAVHISTORYBATCHCALLBACK 
nsPlacesImportExportService ()
 
- Public Member Functions inherited from nsIPlacesImportExportService
void importHTMLFromFile (in nsILocalFile aFile, in boolean aIsInitialImport)
 
void importHTMLFromFileToFolder (in nsILocalFile aFile, in PRInt64 aFolder, in boolean aIsInitialImport)
 
void exportHTMLToFile (in nsILocalFile aFile)
 
void backupBookmarksFile ()
 

Protected Member Functions

nsresult ImportHTMLFromFileInternal (nsILocalFile *aFile, PRBool aAllowRootChanges, PRInt64 aFolder, PRBool aIsImportDefaults)
 
nsresult WriteContainer (nsINavHistoryResultNode *aFolder, const nsACString &aIndent, nsIOutputStream *aOutput)
 
nsresult WriteContainerHeader (nsINavHistoryResultNode *aFolder, const nsACString &aIndent, nsIOutputStream *aOutput)
 
nsresult WriteTitle (nsINavHistoryResultNode *aItem, nsIOutputStream *aOutput)
 
nsresult WriteItem (nsINavHistoryResultNode *aItem, const nsACString &aIndent, nsIOutputStream *aOutput)
 
nsresult WriteLivemark (nsINavHistoryResultNode *aFolder, const nsACString &aIndent, nsIOutputStream *aOutput)
 
nsresult WriteContainerContents (nsINavHistoryResultNode *aFolder, const nsACString &aIndent, nsIOutputStream *aOutput)
 
nsresult WriteSeparator (nsINavHistoryResultNode *aItem, const nsACString &aIndent, nsIOutputStream *aOutput)
 
nsresult WriteDescription (PRInt64 aId, PRInt32 aType, nsIOutputStream *aOutput)
 
nsresult EnsureServiceState ()
 

Protected Attributes

nsCOMPtr< nsIFaviconService > mFaviconService
 
nsCOMPtr< nsIAnnotationService > mAnnotationService
 
nsCOMPtr< nsINavBookmarksService > mBookmarksService
 
nsCOMPtr< nsINavHistoryService > mHistoryService
 
nsCOMPtr< nsILivemarkService > mLivemarkService
 
nsCOMPtr< nsIMicrosummaryServicemMicrosummaryService
 
nsCOMPtr< nsIChannelmImportChannel
 
PRBool mIsImportDefaults
 

Detailed Description

Definition at line 17 of file nsPlacesImportExportService.h.

Constructor & Destructor Documentation

NS_DECL_ISUPPORTS NS_DECL_NSIPLACESIMPORTEXPORTSERVICE NS_DECL_NSINAVHISTORYBATCHCALLBACK nsPlacesImportExportService::nsPlacesImportExportService ( )

Member Function Documentation

nsresult nsPlacesImportExportService::EnsureServiceState ( )
inlineprotected

Definition at line 51 of file nsPlacesImportExportService.h.

Here is the caller graph for this function:

nsresult nsPlacesImportExportService::ImportHTMLFromFileInternal ( nsILocalFile *  aFile,
PRBool  aAllowRootChanges,
PRInt64  aFolder,
PRBool  aIsImportDefaults 
)
protected

Definition at line 2270 of file nsPlacesImportExportService.cpp.

Here is the call graph for this function:

nsresult nsPlacesImportExportService::WriteContainer ( nsINavHistoryResultNode *  aFolder,
const nsACString &  aIndent,
nsIOutputStream *  aOutput 
)
protected

Definition at line 1593 of file nsPlacesImportExportService.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

nsresult nsPlacesImportExportService::WriteContainerContents ( nsINavHistoryResultNode *  aFolder,
const nsACString &  aIndent,
nsIOutputStream *  aOutput 
)
protected

Definition at line 2126 of file nsPlacesImportExportService.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

nsresult nsPlacesImportExportService::WriteContainerHeader ( nsINavHistoryResultNode *  aFolder,
const nsACString &  aIndent,
nsIOutputStream *  aOutput 
)
protected

Definition at line 1614 of file nsPlacesImportExportService.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

nsresult nsPlacesImportExportService::WriteDescription ( PRInt64  aId,
PRInt32  aType,
nsIOutputStream *  aOutput 
)
protected

Definition at line 1739 of file nsPlacesImportExportService.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

nsresult nsPlacesImportExportService::WriteItem ( nsINavHistoryResultNode *  aItem,
const nsACString &  aIndent,
nsIOutputStream *  aOutput 
)
protected

Definition at line 1776 of file nsPlacesImportExportService.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

nsresult nsPlacesImportExportService::WriteLivemark ( nsINavHistoryResultNode *  aFolder,
const nsACString &  aIndent,
nsIOutputStream *  aOutput 
)
protected

Definition at line 1963 of file nsPlacesImportExportService.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

nsresult nsPlacesImportExportService::WriteSeparator ( nsINavHistoryResultNode *  aItem,
const nsACString &  aIndent,
nsIOutputStream *  aOutput 
)
protected

Definition at line 2045 of file nsPlacesImportExportService.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

nsresult nsPlacesImportExportService::WriteTitle ( nsINavHistoryResultNode *  aItem,
nsIOutputStream *  aOutput 
)
protected

Definition at line 1711 of file nsPlacesImportExportService.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

Member Data Documentation

nsCOMPtr<nsIAnnotationService> nsPlacesImportExportService::mAnnotationService
protected

Definition at line 31 of file nsPlacesImportExportService.h.

nsCOMPtr<nsINavBookmarksService> nsPlacesImportExportService::mBookmarksService
protected

Definition at line 32 of file nsPlacesImportExportService.h.

nsCOMPtr<nsIFaviconService> nsPlacesImportExportService::mFaviconService
protected

Definition at line 30 of file nsPlacesImportExportService.h.

nsCOMPtr<nsINavHistoryService> nsPlacesImportExportService::mHistoryService
protected

Definition at line 33 of file nsPlacesImportExportService.h.

nsCOMPtr<nsIChannel> nsPlacesImportExportService::mImportChannel
protected

Definition at line 37 of file nsPlacesImportExportService.h.

PRBool nsPlacesImportExportService::mIsImportDefaults
protected

Definition at line 38 of file nsPlacesImportExportService.h.

nsCOMPtr<nsILivemarkService> nsPlacesImportExportService::mLivemarkService
protected

Definition at line 34 of file nsPlacesImportExportService.h.

nsCOMPtr<nsIMicrosummaryService> nsPlacesImportExportService::mMicrosummaryService
protected

Definition at line 35 of file nsPlacesImportExportService.h.


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