aboutsummaryrefslogtreecommitdiffstats
path: root/Source/SPQueryController.h
diff options
context:
space:
mode:
authorBibiko <bibiko@eva.mpg.de>2009-09-07 10:11:35 +0000
committerBibiko <bibiko@eva.mpg.de>2009-09-07 10:11:35 +0000
commit252ac0be49bf409b1eda3726f4f4a47bd6b5b5b6 (patch)
treeb9b3d8a22cfabab07a68534841f7166b0a6a8563 /Source/SPQueryController.h
parent9683c9df3cb0b1128429f42f108d4e03ca4550f1 (diff)
downloadsequelpro-252ac0be49bf409b1eda3726f4f4a47bd6b5b5b6.tar.gz
sequelpro-252ac0be49bf409b1eda3726f4f4a47bd6b5b5b6.tar.bz2
sequelpro-252ac0be49bf409b1eda3726f4f4a47bd6b5b5b6.zip
• updated SPQueryFavoriteManager to mange document-based and global query favorites
• disabled "Select Active Query" in CMTextView if shown in the favorite manager • code cleaning and simplifications
Diffstat (limited to 'Source/SPQueryController.h')
-rw-r--r--Source/SPQueryController.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/Source/SPQueryController.h b/Source/SPQueryController.h
index df842745..abef41de 100644
--- a/Source/SPQueryController.h
+++ b/Source/SPQueryController.h
@@ -84,6 +84,8 @@
- (void)addFavorite:(NSDictionary *)favorite forFileURL:(NSURL *)fileURL;
- (void)replaceFavoritesByArray:(NSArray *)favoritesArray forFileURL:(NSURL *)fileURL;
+- (void)removeFavoriteAtIndex:(NSUInteger)index forFileURL:(NSURL *)fileURL;
+- (void)insertFavorite:(NSDictionary *)favorite atIndex:(NSUInteger)index forFileURL:(NSURL *)fileURL;
- (void)addHistory:(NSString *)history forFileURL:(NSURL *)fileURL;
- (void)replaceHistoryByArray:(NSArray *)historyArray forFileURL:(NSURL *)fileURL;