summaryrefslogtreecommitdiffstats
path: root/macosx/HBCore.h
Commit message (Collapse)AuthorAgeFilesLines
* MacGui: add nullability annotations to the headers and use weak where is ↵ritsuka2015-05-301-5/+9
| | | | | | possible. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@7244 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: run the Xcode "convert to modern objective-c" on the entire project.ritsuka2015-04-091-3/+12
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@7075 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: fix the error variable in canScan:error: , it was dereferenced one ↵ritsuka2015-03-191-1/+1
| | | | | | time too many. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@7006 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: add a method to return a CGImageRef for a preview in HBCore, and ↵ritsuka2015-01-261-9/+26
| | | | | | skip the alpha to use less memory. Use a dispatch_source as a timer in HBCore so we will be able to run the update loop on its own thread. Remove the pointer to hb_handle_t, no class outside HBCore uses it. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6816 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: clean up HBCore, add a way to register a block as error handler.ritsuka2015-01-231-17/+25
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6799 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: remove the public hb_state property in HBCore, fix a bug in HBVideo ↵ritsuka2015-01-201-5/+0
| | | | | | and change some strings in the queue job's description. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6777 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: remove startProgressHandler:completationHandler: method in HBCore. ↵ritsuka2015-01-191-8/+0
| | | | | | Switched HBPreviewGenerator to encodeJob: . git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6771 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: moved the queue code from HBController to HBQueueController, ↵ritsuka2015-01-191-21/+20
| | | | | | reworked the way the queue synchronise itself between multiple instances to be more resilient (hopefully). Modified HBCore to take callback blocks instead of notifications. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6770 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: change the queue to work with serialized HBJob objects, remove the ↵ritsuka2014-12-271-0/+9
| | | | | | NSDictionary job representation and the duplicate prepareJob method. Implement NSCopying protocol in HBJob. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6655 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: add a "name" property to HBCore to easy debugging multiple ↵ritsuka2014-12-201-0/+4
| | | | | | instances. Add a missing retain to the titles property. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6616 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: added a new HBTitle class to wraps the hb_tltle_t parts used by the ↵ritsuka2014-12-031-0/+6
| | | | | | mac gui. Small improvements to the HBCore related classes. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6576 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: added more methods to HBCore.ritsuka2014-12-011-0/+22
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6574 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: improvement to the HBCore class, use it in HBPreviewGenerator. Added ↵ritsuka2014-11-291-32/+83
| | | | | | some classes to be used in the near future. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6566 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGUI: Make a copy of HBCore in macosx folder.ritsuka2008-01-111-0/+52
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1188 b64f7644-9d1e-0410-96f1-a4d463321fa5
* IHB: A new xcode project file, plus some experimental changes to test HBCore.ritsuka2008-01-111-52/+0
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1187 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: Proposal for replacing UpdateUI timer in HBController. HBCore is a ↵cleaner2007-06-101-0/+52
more ObjC-like interface to the core libhb library. It provides notifications of libhb state changes via NSNotificationCenter. Interfaces for scanning, encoding, bindings etc. can be added later. Note: this class is not used in HB (yet). git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@605 b64f7644-9d1e-0410-96f1-a4d463321fa5