diff options
Diffstat (limited to 'Source/SPQueryFavoriteManager.h')
-rw-r--r-- | Source/SPQueryFavoriteManager.h | 20 |
1 files changed, 18 insertions, 2 deletions
diff --git a/Source/SPQueryFavoriteManager.h b/Source/SPQueryFavoriteManager.h index c7ce22e0..820f2a1a 100644 --- a/Source/SPQueryFavoriteManager.h +++ b/Source/SPQueryFavoriteManager.h @@ -25,6 +25,14 @@ #import <Cocoa/Cocoa.h> +enum sp_favorite_types +{ + SP_FAVORITETYPE_HEADER = 0, + SP_FAVORITETYPE_GLOBAL = 1, + SP_FAVORITETYPE_CONNECTION = 2, +}; + + @interface NSObject (SPQueryFavoriteManagerDelegate) - (void)queryFavoritesHaveBeenUpdated:(id)manager; @@ -43,13 +51,21 @@ IBOutlet NSTableView *favoritesTableView; IBOutlet NSTextField *favoriteNameTextField; IBOutlet NSTextView *favoriteQueryTextView; - IBOutlet NSArrayController *queryFavoritesController; + IBOutlet id removeButton; + + NSMutableArray *favorites; + NSMutableArray *favoriteProperties; + + NSMutableString *pendingQueryString; + + NSUInteger selectedRowBeforeChangingSelection; } - (id)initWithDelegate:(id)managerDelegate; // Accessors -- (NSMutableArray *)queryFavorites; +- (NSMutableArray *)globalQueryFavorites; +- (NSMutableArray *)connectionQueryFavorites; - (id)customQueryInstance; // IBAction methods |