summaryrefslogtreecommitdiffstats
path: root/osdep/macosx_finder_args.h
diff options
context:
space:
mode:
authorStefano Pigozzi <stefano.pigozzi@gmail.com>2012-01-11 22:29:06 +0100
committerUoti Urpala <uau@mplayer2.org>2012-03-25 22:30:37 +0300
commit24e08eb5f2e54fce46a6ff504276aa8da4bf2fa2 (patch)
tree870fc24bdfb8db61e4f956c2e54bd7f5b90bbcec /osdep/macosx_finder_args.h
parent98d399e2f331a5f85d83fc68611eb2713f24c4ee (diff)
downloadmpv-24e08eb5f2e54fce46a6ff504276aa8da4bf2fa2.tar.bz2
mpv-24e08eb5f2e54fce46a6ff504276aa8da4bf2fa2.tar.xz
macosx_finder_args: use cocoa instead of carbon
macosx_finder_args was using Carbon and wasn't usable any longer on modern versions of MacOSX. This is very useful to embed mplayer in a mac application bundle. When using application bundles, the operating system will call the main function with only one argument that identifies the process serial number (this is some additional process identifier in osx other than the pid). File open events are then dispatched to the application through events that must be handled accordingly.
Diffstat (limited to 'osdep/macosx_finder_args.h')
-rw-r--r--osdep/macosx_finder_args.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/osdep/macosx_finder_args.h b/osdep/macosx_finder_args.h
index 4f06a139a6..1f18931712 100644
--- a/osdep/macosx_finder_args.h
+++ b/osdep/macosx_finder_args.h
@@ -1,18 +1,18 @@
/*
- * This file is part of MPlayer.
+ * This file is part of mplayer2.
*
- * MPlayer is free software; you can redistribute it and/or modify
+ * mplayer2 is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
- * MPlayer is distributed in the hope that it will be useful,
+ * mplayer2 is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License along
- * with MPlayer; if not, write to the Free Software Foundation, Inc.,
+ * with mplayer2; if not, write to the Free Software Foundation, Inc.,
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/