blob: b07c7f1c8dfa75fa2fd806e47fba8be2e589ebbe (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
/* $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>
void SigHandler( int signal )
{
[NSApp terminate: NULL];
}
int main( int argc, const char ** argv )
{
signal( SIGINT, SigHandler );
return NSApplicationMain( argc, argv );
}
|