PageRenderTime 115ms CodeModel.GetById 110ms app.highlight 3ms RepoModel.GetById 1ms app.codeStats 0ms

/AddDBController.h

http://github.com/bububa/MongoHub-Mac
C Header | 34 lines | 23 code | 4 blank | 7 comment | 0 complexity | 3f9c07b0a8d3d6599e80a406256bb10a MD5 | raw file
 1//
 2//  AddDBController.h
 3//  MongoHub
 4//
 5//  Created by Syd on 10-4-28.
 6//  Copyright 2010 ThePeppersStudio.COM. All rights reserved.
 7//
 8
 9#import <Cocoa/Cocoa.h>
10@class DatabasesArrayController;
11@class Connection;
12
13@interface AddDBController : NSWindowController {
14    IBOutlet NSTextField *dbname;
15    IBOutlet NSTextField *user;
16    IBOutlet NSSecureTextField *password;
17    NSMutableDictionary *dbInfo;
18    Connection *conn;
19    NSManagedObjectContext *managedObjectContext;
20    IBOutlet DatabasesArrayController *databasesArrayController;
21}
22
23@property (nonatomic, retain) NSTextField *dbname;
24@property (nonatomic, retain) NSTextField *user;
25@property (nonatomic, retain) NSSecureTextField *password;
26@property (nonatomic, retain) NSMutableDictionary *dbInfo;
27@property (nonatomic, retain) Connection *conn;
28@property (nonatomic, retain) NSManagedObjectContext *managedObjectContext;
29@property (nonatomic, retain) DatabasesArrayController *databasesArrayController;
30
31- (IBAction)add:(id)sender;
32- (IBAction)cancel:(id)sender;
33- (void)saveAction;
34@end