Permalink
Find file
Fetching contributors…
Cannot retrieve contributors at this time
35 lines (30 sloc) 1.03 KB
//
// 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