summaryrefslogtreecommitdiffstats
path: root/macosx/HBTitle.h
diff options
context:
space:
mode:
authorritsuka <[email protected]>2015-01-23 16:29:24 +0000
committerritsuka <[email protected]>2015-01-23 16:29:24 +0000
commit757115d8e91180d9a548aa57c20dc01f4542ee7a (patch)
tree2af93d15299bf24b49a8457476ca4ade04f0c802 /macosx/HBTitle.h
parent99afd6b79b54bdc3e05983ff86f03d59f46654ab (diff)
MacGui: expose a isStream and a timeCode properties in HBTitle.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6801 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'macosx/HBTitle.h')
-rw-r--r--macosx/HBTitle.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/macosx/HBTitle.h b/macosx/HBTitle.h
index 19b126d21..a961e048b 100644
--- a/macosx/HBTitle.h
+++ b/macosx/HBTitle.h
@@ -17,20 +17,24 @@
* Returns an HBTitle object initialized with a given title.
* It must be called only inside HBCore.
*
- * @param title the lihhb title to wrap.
+ * @param title the libhb title to wrap.
* @param featured whether the title is the featured one or not.
*/
- (instancetype)initWithTitle:(hb_title_t *)title featured:(BOOL)featured;
@property (nonatomic, readonly) NSString *name;
@property (nonatomic, readonly, getter=isFeatured) BOOL featured;
+@property (nonatomic, readonly, getter=isStream) BOOL stream;
@property (nonatomic, readonly) hb_title_t *hb_title;
+@property (nonatomic, readonly) int index;
@property (nonatomic, readonly) int angles;
@property (nonatomic, readonly) int duration;
@property (nonatomic, readonly) int frames;
+@property (nonatomic, readonly) NSString *timeCode;
+
@property (nonatomic, readonly) NSArray *audioTracks;
@property (nonatomic, readonly) NSArray *subtitlesTracks;
@property (nonatomic, readonly) NSArray *chapters;