diff options
author | dynaflash <[email protected]> | 2010-05-06 18:30:32 +0000 |
---|---|---|
committer | dynaflash <[email protected]> | 2010-05-06 18:30:32 +0000 |
commit | 6043803f606d0d4388e8bcc7193a08eb1c5d92e1 (patch) | |
tree | ccddb6b5bdb95ebf8ca63e1468e86e948c2eb6f7 /macosx/Controller.h | |
parent | bd1f35963f5dc4ef6f4949e60157ab4ca217a8f4 (diff) |
MacGui: Chapter Title import/export functionality
- Saves the chapter list to a .csv file which is compatible with the cli and wingui.
- Note: comma's in the chapter name are escaped with a "\" to maintain cli compatibility then if necessary stripped upon re import into macgui.
- Original patch by borgclone and added to by realityking. Thanks!
- Feature development referenced here http://forum.handbrake.fr/viewtopic.php?f=4&t=4146&start=0
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3285 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'macosx/Controller.h')
-rw-r--r-- | macosx/Controller.h | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/macosx/Controller.h b/macosx/Controller.h index d4524169f..72b1c6da3 100644 --- a/macosx/Controller.h +++ b/macosx/Controller.h @@ -210,6 +210,9 @@ BOOL fIsDragging; /* Chapters box */ IBOutlet NSButton * fCreateChapterMarkers; IBOutlet NSTableView * fChapterTable; + IBOutlet NSButton * fLoadChaptersButton; + IBOutlet NSButton * fSaveChaptersButton; + IBOutlet NSTableColumn * fChapterTableNameColumn; ChapterTitles * fChapterTitlesDelegate; /* Bottom */ @@ -436,7 +439,7 @@ BOOL fIsDragging; - (IBAction)getDefaultPresets:(id)sender; -(void)sendToMetaX:(NSString *) filePath; - // Growl methods +// Growl methods - (NSDictionary *) registrationDictionaryForGrowl; -(void)showGrowlDoneNotification:(NSString *) filePath; - (IBAction)showDebugOutputPanel:(id)sender; @@ -449,8 +452,14 @@ BOOL fIsDragging; - (int) hbInstances; +// Chapter files methods +- (IBAction) browseForChapterFile: (id) sender; +- (void) browseForChapterFileDone: (NSOpenPanel *) sheet + returnCode: (int) returnCode contextInfo: (void *) contextInfo; - +- (IBAction) browseForChapterFileSave: (id) sender; +- (void) browseForChapterFileSaveDone: (NSSavePanel *) sheet + returnCode: (int) returnCode contextInfo: (void *) contextInfo; @end |