PageRenderTime 95ms CodeModel.GetById 91ms app.highlight 2ms RepoModel.GetById 1ms app.codeStats 0ms

/JSON/JsonWindowController.h

http://github.com/bububa/MongoHub-Mac
C Header | 46 lines | 33 code | 6 blank | 7 comment | 0 complexity | 3b17387d0af80b399b53ea84a3ac876b MD5 | raw file
 1//
 2//  JsonWindowController.h
 3//  MongoHub
 4//
 5//  Created by Syd on 10-12-27.
 6//  Copyright 2010 ThePeppersStudio.COM. All rights reserved.
 7//
 8
 9#import <Cocoa/Cocoa.h>
10#import "UKSyntaxColoredTextViewController.h"
11@class DatabasesArrayController;
12@class Connection;
13@class MongoDB;
14
15#ifndef UKSCTD_DEFAULT_TEXTENCODING
16#define UKSCTD_DEFAULT_TEXTENCODING		NSUTF8StringEncoding
17#endif
18
19@interface JsonWindowController : NSWindowController <UKSyntaxColoredTextViewDelegate>{
20    NSManagedObjectContext *managedObjectContext;
21    DatabasesArrayController *databaseArrayController;
22    Connection *conn;
23    MongoDB *mongoDB;
24    NSString *dbname;
25    NSString *collectionname;
26    NSDictionary *jsonDict;
27    IBOutlet NSTextView *myTextView;
28    IBOutlet NSProgressIndicator *progress;
29    IBOutlet NSTextField *status;
30    UKSyntaxColoredTextViewController *syntaxColoringController;
31}
32
33@property (nonatomic, retain) NSManagedObjectContext *managedObjectContext;
34@property (nonatomic, retain) DatabasesArrayController *databasesArrayController;
35@property (nonatomic, retain) MongoDB *mongoDB;
36@property (nonatomic, retain) NSString *dbname;
37@property (nonatomic, retain) NSString *collectionname;
38@property (nonatomic, retain) Connection *conn;
39@property (nonatomic, retain) NSDictionary *jsonDict;
40@property (nonatomic, retain) NSTextView *myTextView;
41
42-(IBAction) save:(id)sender;
43-(void) doSave;
44-(IBAction)	recolorCompleteFile: (id)sender;
45
46@end