OSDN Git Service

MacGui: Preset Import / Export initial implementation and auto updating of built...
authordynaflash <dynaflash@b64f7644-9d1e-0410-96f1-a4d463321fa5>
Fri, 8 May 2009 04:24:46 +0000 (04:24 +0000)
committerdynaflash <dynaflash@b64f7644-9d1e-0410-96f1-a4d463321fa5>
Fri, 8 May 2009 04:24:46 +0000 (04:24 +0000)
commitd0e64b1ce0adb0f331422299de3cb25590927e4b
treebcc17c8f72e58f3434e86bf96c4f5e276cd50c34
parent227b72a9e74a35993fefde407760c94e4ec0c1ec
MacGui: Preset Import / Export initial implementation and auto updating of built in presets.
- Preset Import / Export:
-- Export is only available to custom user presets.
-- Export is only the selected preset at this time.
-- Exported presets will be tagged with their build number.
-- Import of mutiple presets.
--- Compatible with LinGui presets.
--- NOT compatible with WinGui presets at this time.
- Built-In preset auto-updating:
-- Adds the key/value pair to the UserPresets.plist file for key "PresetBuildNumber".
-- If the HandBrake.app build number as defined in the Info.plist key "CFBundleVersion" is > the built in presets  "PresetBuildNumber" then the - (IBAction)addFactoryPresets:(id)sender is called to automagically update the built in presets.
-- An alert window is shown along with a system beep ( can be turned off in Preferences -> Advanced for svn mavens and devs) to tell the user that the built in presets are going to be updated.
-- NOTE: First launch of this build will initiate a built in preset update even though the built in presets are the same, since the build number will be added to the built in presets.

git-svn-id: svn://localhost/HandBrake/trunk@2405 b64f7644-9d1e-0410-96f1-a4d463321fa5
macosx/Controller.h
macosx/Controller.mm
macosx/English.lproj/MainMenu.xib
macosx/English.lproj/Preferences.xib
macosx/HBPreferencesController.m