Skip to content

Commit

Permalink
cleaning up properties to move to arc later
Browse files Browse the repository at this point in the history
  • Loading branch information
Jérôme Lebel committed Mar 30, 2015
1 parent 0132741 commit 596116a
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 29 deletions.
17 changes: 1 addition & 16 deletions Sources/ConnectionWindow/MHConnectionWindowController.h
Original file line number Diff line number Diff line change
Expand Up @@ -36,41 +36,25 @@
@interface MHConnectionWindowController : NSWindowController
{
id<MHConnectionWindowControllerDelegate>_delegate;
NSMutableDictionary *_tabItemControllers;
NSMenu *_createCollectionOrDatabaseMenu;

MHStatusViewController *_statusViewController;
MHActivityMonitorViewController *_activityMonitorViewController;
MHTabViewController *_tabViewController;
NSSplitView *_splitView;

MHClientItem *_clientItem;
MHConnectionStore *_connectionStore;
MODClient *_client;
NSTimer *_serverMonitorTimer;
NSOutlineView *_databaseCollectionOutlineView;
NSProgressIndicator *_loaderIndicator;
NSToolbar *_toolbar;
MHTunnel *_sshTunnel;
NSMutableDictionary *_sshBindedPortMapping;
MHMysqlImportWindowController *_mysqlImportWindowController;
MHMysqlExportWindowController *_mysqlExportWindowController;
NSTextField *_bundleVersion;

NSView *_mainTabView;
MHTabTitleView *_tabTitleView;

MHImportExportFeedback *_importExportFeedback;
id<MHImporterExporter> _importerExporter;
}

@property (nonatomic, readwrite, assign) id<MHConnectionWindowControllerDelegate> delegate;
@property (nonatomic, readwrite, strong) MHConnectionStore *connectionStore;
@property (nonatomic, readwrite, strong) MODClient *client;
@property (nonatomic, readwrite, strong) NSTextField *bundleVersion;
@property (nonatomic, readwrite, strong) MHMysqlImportWindowController *mysqlImportWindowController;
@property (nonatomic, readwrite, strong) MHMysqlExportWindowController *mysqlExportWindowController;
@property (nonatomic, readonly, assign) NSManagedObjectContext *managedObjectContext;

@property (nonatomic, readonly, weak) IBOutlet MHTabViewController *tabViewController;

Expand All @@ -82,6 +66,7 @@
- (IBAction)query:(id)sender;
- (void)connectToServer;
- (void)dropWarning:(NSString *)msg;
- (NSManagedObjectContext *)managedObjectContext;

@end

Expand Down
13 changes: 0 additions & 13 deletions Sources/ConnectionWindow/MHConnectionWindowController.m
Original file line number Diff line number Diff line change
Expand Up @@ -70,22 +70,9 @@ - (void)showCollectionStatusWithCollectionItem:(MHCollectionItem *)collectionIte
@implementation MHConnectionWindowController

@synthesize delegate = _delegate;
@synthesize connectionStore = _connectionStore;
@synthesize client = _client;
@synthesize sshTunnel = _sshTunnel;
@synthesize sshBindedPortMapping = _sshBindedPortMapping;
@synthesize mysqlImportWindowController = _mysqlImportWindowController;
@synthesize mysqlExportWindowController = _mysqlExportWindowController;
@synthesize loaderIndicator = _loaderIndicator;
@synthesize clientItem = _clientItem;
@synthesize tabItemControllers = _tabItemControllers;
@synthesize statusViewController = _statusViewController;
@synthesize activityMonitorViewController = _activityMonitorViewController;
@synthesize tabViewController = _tabViewController;

@synthesize importerExporter = _importerExporter;
@synthesize importExportFeedback = _importExportFeedback;

- (NSString *)windowNibName
{
return @"MHConnectionWindow";
Expand Down

0 comments on commit 596116a

Please sign in to comment.