OSDN Git Service
(root)
/
handbrake-jp
/
handbrake-jp-git.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
LinGui: add option to completely disable update checking
[handbrake-jp/handbrake-jp-git.git]
/
macosx
/
main.mm
diff --git
a/macosx/main.mm
b/macosx/main.mm
index
d4a05b5
..
5f73a0c
100644
(file)
--- a/
macosx/main.mm
+++ b/
macosx/main.mm
@@
-1,7
+1,7
@@
/* $Id: main.mm,v 1.3 2005/11/25 15:04:35 titer Exp $
This file is part of the HandBrake source code.
/* $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
/>.
+ Homepage: <http://handbrake.
fr
/>.
It may be used under the terms of the GNU General Public License. */
#include <Cocoa/Cocoa.h>
It may be used under the terms of the GNU General Public License. */
#include <Cocoa/Cocoa.h>
@@
-25,8
+25,14
@@
void hb_error_handler( const char *errmsg )
}
}
}
}
+extern "C" {
+extern int mm_flags;
+int mm_support();
+}
+
int main( int argc, const char ** argv )
{
int main( int argc, const char ** argv )
{
+ mm_flags = mm_support();
signal( SIGINT, SigHandler );
hb_register_error_handler(&hb_error_handler);
return NSApplicationMain( argc, argv );
signal( SIGINT, SigHandler );
hb_register_error_handler(&hb_error_handler);
return NSApplicationMain( argc, argv );