Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 33 lines (28 sloc) 0.983 kb
b9aaba5 Prof Syd Xu auth support for database
authored
1 //
2 // AuthWindowController.h
3 // MongoHub
4 //
5 // Created by Syd on 10-5-6.
6 // Copyright 2010 ThePeppersStudio.COM. All rights reserved.
7 //
8
9 #import <Cocoa/Cocoa.h>
10 @class DatabasesArrayController;
11 @class Connection;
12
13 @interface AuthWindowController : NSWindowController {
14 IBOutlet NSTextField *userTextField;
15 IBOutlet NSTextField *passwordTextField;
16 Connection *conn;
17 NSManagedObjectContext *managedObjectContext;
18 NSString *dbname;
19 IBOutlet DatabasesArrayController *databasesArrayController;
20 }
21
22 @property (nonatomic, retain) NSTextField *userTextField;
23 @property (nonatomic, retain) NSTextField *passwordTextField;
24 @property (nonatomic, retain) Connection *conn;
25 @property (nonatomic, retain) NSManagedObjectContext *managedObjectContext;
26 @property (nonatomic, retain) NSString *dbname;
27 @property (nonatomic, retain) DatabasesArrayController *databasesArrayController;
28
29 - (IBAction)save:(id)sender;
30 - (IBAction)cancel:(id)sender;
31 - (void) saveAction;
32 @end
Something went wrong with that request. Please try again.