Diff for /chimera/BookmarksService.h between versions 1.12 and 1.17

version 1.12, 2002/04/17 07:38:31 version 1.17, 2002/04/19 08:45:57
Line 43 Line 43
 #include "nsVoidArray.h"  #include "nsVoidArray.h"
 #import "MainController.h"  #import "MainController.h"
 #import "BookmarksToolbar.h"  #import "BookmarksToolbar.h"
   #import "ExtendedOutlineView.h"
   
 class BookmarksService;  class BookmarksService;
 class nsIAtom;  class nsIAtom;
Line 57  class nsIAtom; Line 58  class nsIAtom;
   IBOutlet id mDeleteButton;    IBOutlet id mDeleteButton;
   
   NSString* mCachedHref;    NSString* mCachedHref;
   nsIContent* mCachedParent;  
 }  }
   
 -(id) init;  -(id) init;
Line 69  class nsIAtom; Line 69  class nsIAtom;
 -(IBAction)addBookmark:(id)aSender;  -(IBAction)addBookmark:(id)aSender;
 -(void)endAddBookmark: (int)aCode;  -(void)endAddBookmark: (int)aCode;
   
-(IBAction)deleteBookmark: (id)aSender;-(IBAction)deleteBookmarks: (id)aSender;
 -(void)deleteBookmark: (id)aItem;
   
-(void)addBookmark:(id)aSender useSelection:(BOOL)aSel;-(IBAction)addFolder:(id)aSender;
 
 -(void)addBookmark:(id)aSender useSelection:(BOOL)aSel isFolder:(BOOL)aIsFolder;
   
 // Datasource methods.  // Datasource methods.
 - (id)outlineView:(NSOutlineView *)outlineView child:(int)index ofItem:(id)item;  - (id)outlineView:(NSOutlineView *)outlineView child:(int)index ofItem:(id)item;
Line 118  public: Line 121  public:
   static void AddMenuBookmark(NSMenu* aMenu, nsIContent* aParent, nsIContent* aChild, PRInt32 aIndex);    static void AddMenuBookmark(NSMenu* aMenu, nsIContent* aParent, nsIContent* aChild, PRInt32 aIndex);
   static NSMenu* LocateMenu(nsIContent* aContent);    static NSMenu* LocateMenu(nsIContent* aContent);
   
  void ConstructBookmarksToolbar();  static void ConstructAddBookmarkFolderList(NSPopUpButton* aPopup, BookmarkItem* aItem);
       
private:  static void EnsureToolbarRoot();
   
 public:
   // Global counter and pointers to our singletons.    // Global counter and pointers to our singletons.
   static PRUint32 gRefCnt;    static PRUint32 gRefCnt;
   
Line 128  private: Line 133  private:
   // to Obj-C bookmarkItem objects.  These objects are handed back to UI elements like    // to Obj-C bookmarkItem objects.  These objects are handed back to UI elements like
   // the outline view.    // the outline view.
   static NSMutableDictionary* gDictionary;    static NSMutableDictionary* gDictionary;
     
 public:  
   static MainController* gMainController;    static MainController* gMainController;
   static NSMenu* gBookmarksMenu;    static NSMenu* gBookmarksMenu;
     static nsIDOMElement* gToolbarRoot;
   static nsIAtom* gFolderAtom;    static nsIAtom* gFolderAtom;
   static nsIAtom* gNameAtom;    static nsIAtom* gNameAtom;
   static nsIAtom* gHrefAtom;    static nsIAtom* gHrefAtom;

Removed from v.1.12  
changed lines
  Added in v.1.17


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