Skip to content

Commit

Permalink
some cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
Marcin Grabda committed May 31, 2011
1 parent 862e6cb commit 736d140
Show file tree
Hide file tree
Showing 10 changed files with 11 additions and 4 deletions.
1 change: 1 addition & 0 deletions AppController.h
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
@class FileHandler;

@interface AppController : NSObject {
@private
NSArray* allowedFileTypes;
IBOutlet NSWindow* mainWindow;
IBOutlet FileHandler* fileHandler;
Expand Down
6 changes: 3 additions & 3 deletions AppController.m
Original file line number Diff line number Diff line change
Expand Up @@ -24,15 +24,15 @@ - (id)init
if (self)
{
instance = self;
allowedFileTypes = [[AppUtil typeExtensionsForName:@"Movie"]
arrayByAddingObjectsFromArray:[AppUtil typeExtensionsForName:@"Subtitles"]];
allowedFileTypes = [[AppUtil typeExtensionsForName:@"Movie"] arrayByAddingObjectsFromArray:
[AppUtil typeExtensionsForName:@"Subtitles"]];
}
return self;
}

/* register application defaults */
+ (void)initialize
{
// Register application defaults
NSBundle* mainBundle = [NSBundle mainBundle];
NSString* defaultsFile = [mainBundle pathForResource:@"Defaults" ofType:@"plist"];
NSDictionary* defaults = [NSDictionary dictionaryWithContentsOfFile:defaultsFile];
Expand Down
1 change: 1 addition & 0 deletions AppPreferencesController.h
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
#import "DBPrefsWindowController.h"

@interface AppPreferencesController : DBPrefsWindowController {
@private
IBOutlet NSView* generalPrefsView;
IBOutlet NSView* accountPrefsView;
}
Expand Down
1 change: 0 additions & 1 deletion AppUtil.h
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@

@interface AppUtil : NSObject {
@private

}

+ (NSArray *) typeExtensionsForName:(NSString *)typeName;
Expand Down
1 change: 1 addition & 0 deletions DropFileView.h
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
@class AppController;

@interface DropFileView : NSView {
@private
NSArray* filenames;
}

Expand Down
1 change: 1 addition & 0 deletions FileHandler.h
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
@class SubtitlesDownloader;

@interface FileHandler : NSObject {
@private
NSArray* subtitlesFiles;
NSArray* movieFiles;
SubtitlesConverter* converter;
Expand Down
1 change: 1 addition & 0 deletions FrameRateCalculator.h
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
#import <QTKit/QTKit.h>

@interface FrameRateCalculator : NSObject {
@private
}

+ (float)calculateFrameRateForMovie:(QTMovie*)movie;
Expand Down
1 change: 1 addition & 0 deletions NapiProjektEngine.h
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
#import <Cocoa/Cocoa.h>

@interface NapiProjektEngine : NSObject {
@private
}

- (NSData*)retrieveSubtitlesForMovieInPath:(NSString*)moviePath hash:(NSString**)hashPtr;
Expand Down
1 change: 1 addition & 0 deletions SubtitlesConverter.h
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
#import <Cocoa/Cocoa.h>

@interface SubtitlesConverter : NSObject {
@private
}

- (void)convert:(NSString*)pathToFile;
Expand Down
1 change: 1 addition & 0 deletions SubtitlesDownloader.h
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
@class NapiProjektEngine;

@interface SubtitlesDownloader : NSObject {
@private
NapiProjektEngine* engine;
}

Expand Down

0 comments on commit 736d140

Please sign in to comment.