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

version 1.5, 2002/02/09 20:31:06 version 1.6, 2002/02/09 23:17:02
Line 53  class nsIAtom; Line 53  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 69  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);
       
 private:  private:
     // Global counter and pointers to our singletons.      // Global counter and pointers to our singletons.
     static PRUint32 gRefCnt;      static PRUint32 gRefCnt;
       
       // 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;      static NSMutableDictionary* gDictionary;
           
       // Dictionaries that map from menus to bookmark items and vice versa.  We use these dictionaries
       // to look up the content node that a menu or menu item represents and vice versa.
       static NSMutableDictionary* gMenuToBookmarkMap;
       static NSMutableDictionary* gBookmarkToMenuMap;
       
 public:  public:
     static nsIAtom* gFolderAtom;      static nsIAtom* gFolderAtom;
     static nsIAtom* gNameAtom;      static nsIAtom* gNameAtom;

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


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