diff options
author | ritsuka <[email protected]> | 2008-01-11 18:41:54 +0000 |
---|---|---|
committer | ritsuka <[email protected]> | 2008-01-11 18:41:54 +0000 |
commit | deff3a1428034c156d440e0fe02f613cb774e3dc (patch) | |
tree | 67b7f68e4a45bf195409e83379dbe3fae2c65c52 /macosx/InstantHandBrake/main.mm | |
parent | 934a5fd5990660575e644e656d4722f4606f18ef (diff) |
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
Diffstat (limited to 'macosx/InstantHandBrake/main.mm')
-rw-r--r-- | macosx/InstantHandBrake/main.mm | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/macosx/InstantHandBrake/main.mm b/macosx/InstantHandBrake/main.mm new file mode 100644 index 000000000..12576d856 --- /dev/null +++ b/macosx/InstantHandBrake/main.mm @@ -0,0 +1,19 @@ +/* $Id: main.mm,v 1.3 2005/11/25 15:04:35 titer Exp $ + + This file is part of the HandBrake source code. + Homepage: <http://handbrake.m0k.org/>. + It may be used under the terms of the GNU General Public License. */ + +#include <Cocoa/Cocoa.h> +#import "hb.h" + +void SigHandler( int signal ) +{ + [NSApp terminate: NULL]; +} + +int main( int argc, const char ** argv ) +{ + signal( SIGINT, SigHandler ); + return NSApplicationMain( argc, argv ); +} |