-
Notifications
You must be signed in to change notification settings - Fork 315
/
AddDBController.h
34 lines (30 loc) · 1.03 KB
/
AddDBController.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
//
// AddDBController.h
// MongoHub
//
// Created by Syd on 10-4-28.
// Copyright 2010 ThePeppersStudio.COM. All rights reserved.
//
#import <Cocoa/Cocoa.h>
@class DatabasesArrayController;
@class Connection;
@interface AddDBController : NSWindowController {
IBOutlet NSTextField *dbname;
IBOutlet NSTextField *user;
IBOutlet NSSecureTextField *password;
NSMutableDictionary *dbInfo;
Connection *conn;
NSManagedObjectContext *managedObjectContext;
IBOutlet DatabasesArrayController *databasesArrayController;
}
@property (nonatomic, retain) NSTextField *dbname;
@property (nonatomic, retain) NSTextField *user;
@property (nonatomic, retain) NSSecureTextField *password;
@property (nonatomic, retain) NSMutableDictionary *dbInfo;
@property (nonatomic, retain) Connection *conn;
@property (nonatomic, retain) NSManagedObjectContext *managedObjectContext;
@property (nonatomic, retain) DatabasesArrayController *databasesArrayController;
- (IBAction)add:(id)sender;
- (IBAction)cancel:(id)sender;
- (void)saveAction;
@end