Diff for /chimera/BookmarksService.h between versions 1.5 and 1.7

version 1.5, 2002/02/09 20:31:06 version 1.7, 2002/02/10 00:29:08
Line 13 Line 13
 #include "nsIDocument.h"  #include "nsIDocument.h"
 #include "nsIDocumentObserver.h"  #include "nsIDocumentObserver.h"
 #include "nsVoidArray.h"  #include "nsVoidArray.h"
   #import "MainController.h"
   
 class BookmarksService;  class BookmarksService;
 class nsIAtom;  class nsIAtom;
Line 53  class nsIAtom; Line 54  class nsIAtom;
   
 -(nsIContent*)contentNode;  -(nsIContent*)contentNode;
 -(void)setContentNode: (nsIContent*)aContentNode;  -(void)setContentNode: (nsIContent*)aContentNode;
   - (id)copyWithZone:(NSZone *)aZone;
 @end  @end
   
 class BookmarksService  class BookmarksService
Line 68  public: Line 70  public:
     static void NotifyObservers(nsIContent* aContainer, PRBool aReloadChildren);      static void NotifyObservers(nsIContent* aContainer, PRBool aReloadChildren);
   
 public:  public:
    void GetRootContent(nsIContent** aResult);    static void GetRootContent(nsIContent** aResult);
     static BookmarkItem* GetWrapperFor(nsIContent* aItem);      static BookmarkItem* GetWrapperFor(nsIContent* aItem);
     static void FlushBookmarks();      static void FlushBookmarks();
           
       static void ConstructBookmarksMenu(NSMenu* aMenu, nsIContent* aContent);
       static void OpenMenuBookmark(BrowserWindowController* aController, id aMenuItem);
       
 private:  private:
     // Global counter and pointers to our singletons.      // Global counter and pointers to our singletons.
     static PRUint32 gRefCnt;      static PRUint32 gRefCnt;
     static NSMutableDictionary* gDictionary;  
           
       // A dictionary that maps from content IDs (which uniquely identify content nodes)
       // to Obj-C bookmarkItem objects.  These objects are handed back to UI elements like
       // the outline view.
       static NSMutableDictionary* gDictionary;
           
 public:  public:
       static MainController* gMainController;
     static nsIAtom* gFolderAtom;      static nsIAtom* gFolderAtom;
     static nsIAtom* gNameAtom;      static nsIAtom* gNameAtom;
     static nsIAtom* gHrefAtom;      static nsIAtom* gHrefAtom;
     static nsIAtom* gBookmarkAtom;      static nsIAtom* gBookmarkAtom;
     static nsIDocument* gBookmarks;      static nsIDocument* gBookmarks;
     static nsVoidArray* gInstances;      static nsVoidArray* gInstances;
            
 private:  private:
     BookmarksDataSource* mDataSource;      BookmarksDataSource* mDataSource;
 };  };

Removed from v.1.5  
changed lines
  Added in v.1.7


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