summaryrefslogtreecommitdiffstats
path: root/macosx/HBRange.h
diff options
context:
space:
mode:
authorritsuka <[email protected]>2014-12-22 17:12:16 +0000
committerritsuka <[email protected]>2014-12-22 17:12:16 +0000
commitee10e1fdb417c7f1047406522379c85c47143bfd (patch)
tree1ed8f1ae02ee7296162c640bb238a425af93a02b /macosx/HBRange.h
parent6bcb7bd0894f9f44637b9668e5b5d3d388aef152 (diff)
MacGui: set the chapter titles directly in HBJob. Move more things over to HBTitle and HBJob.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6642 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'macosx/HBRange.h')
-rw-r--r--macosx/HBRange.h28
1 files changed, 28 insertions, 0 deletions
diff --git a/macosx/HBRange.h b/macosx/HBRange.h
new file mode 100644
index 000000000..06ea826ca
--- /dev/null
+++ b/macosx/HBRange.h
@@ -0,0 +1,28 @@
+/* HBRange.h $
+
+ This file is part of the HandBrake source code.
+ Homepage: <http://handbrake.fr/>.
+ It may be used under the terms of the GNU General Public License. */
+
+#import <Foundation/Foundation.h>
+
+typedef NS_ENUM(NSUInteger, HBRangeType) {
+ HBRangeTypeChapters,
+ HBRangeTypeFrames,
+ HBRangeTypeSeconds,
+};
+
+@interface HBRange : NSObject <NSCoding>
+
+@property (nonatomic, readwrite) HBRangeType type;
+
+@property (nonatomic, readwrite) NSInteger chapterStart;
+@property (nonatomic, readwrite) NSInteger chapterStop;
+
+@property (nonatomic, readwrite) NSInteger frameStart;
+@property (nonatomic, readwrite) NSInteger frameStop;
+
+@property (nonatomic, readwrite) NSInteger secondsStart;
+@property (nonatomic, readwrite) NSInteger secondsStop;
+
+@end