forked from bububa/MongoHub-Mac
-
Notifications
You must be signed in to change notification settings - Fork 0
/
AuthWindowController.h
32 lines (28 loc) · 983 Bytes
/
AuthWindowController.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
//
// AuthWindowController.h
// MongoHub
//
// Created by Syd on 10-5-6.
// Copyright 2010 ThePeppersStudio.COM. All rights reserved.
//
#import <Cocoa/Cocoa.h>
@class DatabasesArrayController;
@class Connection;
@interface AuthWindowController : NSWindowController {
IBOutlet NSTextField *userTextField;
IBOutlet NSTextField *passwordTextField;
Connection *conn;
NSManagedObjectContext *managedObjectContext;
NSString *dbname;
IBOutlet DatabasesArrayController *databasesArrayController;
}
@property (nonatomic, retain) NSTextField *userTextField;
@property (nonatomic, retain) NSTextField *passwordTextField;
@property (nonatomic, retain) Connection *conn;
@property (nonatomic, retain) NSManagedObjectContext *managedObjectContext;
@property (nonatomic, retain) NSString *dbname;
@property (nonatomic, retain) DatabasesArrayController *databasesArrayController;
- (IBAction)save:(id)sender;
- (IBAction)cancel:(id)sender;
- (void) saveAction;
@end