summaryrefslogtreecommitdiffstats
path: root/macosx/HBJob.h
diff options
context:
space:
mode:
authorritsuka <[email protected]>2014-12-27 10:46:04 +0000
committerritsuka <[email protected]>2014-12-27 10:46:04 +0000
commitdf8b2ff3e109699e3dadd88404911f8dfc7b210a (patch)
tree8489fee4edaf57adf55f69d0c0d28f61a5757057 /macosx/HBJob.h
parent8df584534c0c39f5c2f298d8ba480cc906743bbf (diff)
MacGui: change the queue to work with serialized HBJob objects, remove the NSDictionary job representation and the duplicate prepareJob method. Implement NSCopying protocol in HBJob.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6655 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'macosx/HBJob.h')
-rw-r--r--macosx/HBJob.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/macosx/HBJob.h b/macosx/HBJob.h
index 9a32c07c1..b3866f037 100644
--- a/macosx/HBJob.h
+++ b/macosx/HBJob.h
@@ -14,6 +14,8 @@
#import "HBPicture.h"
#import "HBFilters.h"
+#import "HBAudio.h"
+
#import "HBAudioDefaults.h"
#import "HBSubtitlesDefaults.h"
@@ -42,9 +44,11 @@ typedef NS_ENUM(NSUInteger, HBJobState) {
/**
* Current state of the job.
*/
-@property (nonatomic, readonly) HBJobState state;
+@property (nonatomic, readwrite) HBJobState state;
-@property (nonatomic, readonly) HBTitle *title;
+@property (nonatomic, readwrite, assign) HBTitle *title;
+@property (nonatomic, readonly) int titleIdx;
+@property (nonatomic, readwrite) int pidId;
// Urls
@property (nonatomic, readonly) NSURL *fileURL;