PageRenderTime 4ms CodeModel.GetById 1ms app.highlight 1ms RepoModel.GetById 1ms app.codeStats 0ms

/DatabasesArrayController.h

http://github.com/bububa/MongoHub-Mac
C Header | 22 lines | 11 code | 4 blank | 7 comment | 0 complexity | 7fc6e78876df7b09d18beddb7bf8aac1 MD5 | raw file
 1//
 2//  DatabasesArrayCollection.h
 3//  MongoHub
 4//
 5//  Created by Syd on 10-4-25.
 6//  Copyright 2010 MusicPeace.ORG. All rights reserved.
 7//
 8
 9#import <Cocoa/Cocoa.h>
10@class Connection;
11@class Database;
12
13@interface DatabasesArrayController : NSArrayController {
14
15}
16
17- (id)newObjectWithConn:(Connection *)conn name:(NSString *)name user:(NSString *)user password:(NSString *)password;
18- (void)clean:(Connection *)conn databases:(NSArray *)databases;
19- (BOOL)checkDuplicate:(Connection *) conn name:(NSString *)name;
20- (NSArray *)itemsUsingFetchPredicate:(NSPredicate *)fetchPredicate;
21- (Database *)dbInfo:(Connection *) conn name:(NSString *)name;
22@end