summaryrefslogtreecommitdiffstats
path: root/macosx/HBChapter.h
diff options
context:
space:
mode:
authorDamiano Galassi <[email protected]>2015-10-09 12:34:42 +0200
committerDamiano Galassi <[email protected]>2015-10-09 12:34:42 +0200
commitf6920d0dbbc70e16cd016ab9d809532fa5db5521 (patch)
treed62071ed285145a946e20614bed73f44a9f8731b /macosx/HBChapter.h
parentf9c5593978ccc7f214dff75f01f59ebda91d8102 (diff)
MacGui: add a duration column to the chapters table
Diffstat (limited to 'macosx/HBChapter.h')
-rw-r--r--macosx/HBChapter.h20
1 files changed, 20 insertions, 0 deletions
diff --git a/macosx/HBChapter.h b/macosx/HBChapter.h
new file mode 100644
index 000000000..c72243026
--- /dev/null
+++ b/macosx/HBChapter.h
@@ -0,0 +1,20 @@
+/* HBChapter.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>
+
+NS_ASSUME_NONNULL_BEGIN
+
+@interface HBChapter : NSObject <NSSecureCoding, NSCopying>
+
+- (instancetype)initWithTitle:(NSString *)title duration:(uint64_t)duration NS_DESIGNATED_INITIALIZER;
+
+@property (nonatomic, readwrite) NSString *title;
+@property (nonatomic, readonly) NSString *duration;
+
+@end
+
+NS_ASSUME_NONNULL_END