From deff3a1428034c156d440e0fe02f613cb774e3dc Mon Sep 17 00:00:00 2001 From: ritsuka Date: Fri, 11 Jan 2008 18:41:54 +0000 Subject: IHB: A new xcode project file, plus some experimental changes to test HBCore. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1187 b64f7644-9d1e-0410-96f1-a4d463321fa5 --- macosx/HBCore.h | 52 ---------------------------------------------------- 1 file changed, 52 deletions(-) delete mode 100644 macosx/HBCore.h (limited to 'macosx/HBCore.h') diff --git a/macosx/HBCore.h b/macosx/HBCore.h deleted file mode 100644 index 435d5f799..000000000 --- a/macosx/HBCore.h +++ /dev/null @@ -1,52 +0,0 @@ -/** - * @file - * Interface of class HBCore. - */ - -#import - -extern const NSString *HBStateIdle; -extern const NSString *HBStateScanning; -extern const NSString *HBStateScanDone; -extern const NSString *HBStateWorking; -extern const NSString *HBStatePaused; -extern const NSString *HBStateWorkDone; -extern const NSString *HBStateMuxing; -extern const NSString *HBStateAll; - -extern NSString *HBCoreScanningNotification; -extern NSString *HBCoreScanDoneNotification; -extern NSString *HBCoreWorkingNotification; -extern NSString *HBCorePausedNotification; -extern NSString *HBCoreWorkDoneNotification; -extern NSString *HBCoreMuxingNotification; - -/** - * HBCore is an Objective-C interface to the low-level HandBrake library. - * HBCore monitors state changes of libhb and provides notifications via - * NSNotificationCenter to any object who needs them. It can also be used - * to implement properties that can be directly bound to elements of the gui. - */ -@interface HBCore : NSObject -{ - /// Pointer to libhb handle. - struct hb_handle_s *hb_handle; - - /// Pointer to latest state information returned by libhb. - struct hb_state_s *hb_state; - - /// Timer used to poll libhb for state changes. - NSTimer *updateTimer; - - /// Current state of HBCore; one of the HBState* constants. - const NSString *state; -} - -- (id)init; -- (BOOL)openInDebugMode:(BOOL)debugMode checkForUpdates:(BOOL)checkForUpdates; -- (BOOL)close; -- (NSString *)state; -- (struct hb_handle_s *)hb_handle; -- (const struct hb_state_s *)hb_state; - -@end -- cgit v1.2.3