зеркало из https://github.com/mozilla/gecko-dev.git
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:
Родитель
38283f5993
Коммит
b103710e8c
|
@ -88,6 +88,16 @@ public:
|
||||||
nsLivemarkService();
|
nsLivemarkService();
|
||||||
nsresult Init();
|
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
|
// These functions are called by the livemarks feed loader
|
||||||
// to set the livemark children.
|
// to set the livemark children.
|
||||||
nsresult DeleteLivemarkChildren(PRInt64 aLivemarkFolderId);
|
nsresult DeleteLivemarkChildren(PRInt64 aLivemarkFolderId);
|
||||||
|
|
Загрузка…
Ссылка в новой задаче