mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-16 06:45:42 +00:00
Bug 318057 r=ben bookmarks.html exporter, modifications to importer
Original committer: brettw%gmail.com Original revision: 1.11 Original date: 2006/04/24 16:40:02
This commit is contained in:
parent
38283f5993
commit
b103710e8c
@ -88,6 +88,16 @@ public:
|
||||
nsLivemarkService();
|
||||
nsresult Init();
|
||||
|
||||
static nsLivemarkService* GetLivemarkService() {
|
||||
if (!sInstance) {
|
||||
nsresult rv;
|
||||
nsCOMPtr<nsILivemarkService> serv(do_GetService(NS_LIVEMARKSERVICE_CONTRACTID, &rv));
|
||||
NS_ENSURE_SUCCESS(rv, nsnull);
|
||||
NS_ASSERTION(sInstance, "Should have static instance pointer now");
|
||||
}
|
||||
return sInstance;
|
||||
}
|
||||
|
||||
// These functions are called by the livemarks feed loader
|
||||
// to set the livemark children.
|
||||
nsresult DeleteLivemarkChildren(PRInt64 aLivemarkFolderId);
|
||||
|
Loading…
Reference in New Issue
Block a user