Diff for /chimera/BookmarksService.mm between versions 1.20 and 1.21

version 1.20, 2002/04/14 21:41:21 version 1.21, 2002/04/17 07:38:31
Line 67 Line 67
   
 -(void) dealloc  -(void) dealloc
 {  {
    [super dealloc];  [super dealloc];
 }  }
   
 -(void) windowClosing  -(void) windowClosing
 {  {
    if (mBookmarks) {  if (mBookmarks) {
        mBookmarks->RemoveObserver();    mBookmarks->RemoveObserver();
        delete mBookmarks;    delete mBookmarks;
    }  }
 }  }
   
 -(void) ensureBookmarks  -(void) ensureBookmarks
Line 413  nsVoidArray* BookmarksService::gInstance Line 413  nsVoidArray* BookmarksService::gInstance
   
 BookmarksService::BookmarksService(BookmarksDataSource* aDataSource)  BookmarksService::BookmarksService(BookmarksDataSource* aDataSource)
 {  {
    mDataSource = aDataSource;  mDataSource = aDataSource;
   mToolbar = nil;
 }
 
 BookmarksService::BookmarksService(BookmarksToolbar* aToolbar)
 {
   mDataSource = nil;
   mToolbar = aToolbar;
 }  }
   
 BookmarksService::~BookmarksService()  BookmarksService::~BookmarksService()
Line 626  BookmarksService::FlushBookmarks() Line 633  BookmarksService::FlushBookmarks()
 }  }
   
 void  void
   BookmarksService::ConstructBookmarksToolbar()
   {
     nsCOMPtr<nsIDOMDocument> domDoc(do_QueryInterface(gBookmarks));
     nsCOMPtr<nsIDOMElement> toolbarRoot;
     domDoc->GetElementById(NS_LITERAL_STRING("toolbar"), getter_AddRefs(toolbarRoot));
     
   }
   
   void
 BookmarksService::ConstructBookmarksMenu(NSMenu* aMenu, nsIContent* aContent)  BookmarksService::ConstructBookmarksMenu(NSMenu* aMenu, nsIContent* aContent)
 {  {
     nsCOMPtr<nsIContent> content = aContent;      nsCOMPtr<nsIContent> content = aContent;

Removed from v.1.20  
changed lines
  Added in v.1.21


FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>