Changeset 3f99651d8fa1356203faf67103e1c500d3b30e16
- Timestamp:
- 15/09/06 22:14:07
(2 years ago)
- Author:
- Clément Stenac <zorglub@videolan.org>
- git-committer:
- Clément Stenac <zorglub@videolan.org> 1158351247 +0000
- git-parent:
[f0531d5b038ed279e206a3deeae9e70f243a6704]
- git-author:
- Clément Stenac <zorglub@videolan.org> 1158351247 +0000
- Message:
Hopefully fix OS X
-
Files:
-
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
| rf485214 |
r3f99651 |
|
| 67 | 67 | @interface VLCApplication : NSApplication |
|---|
| 68 | 68 | { |
|---|
| 69 | | vlc_t *o_vlc; |
|---|
| 70 | | } |
|---|
| 71 | | |
|---|
| 72 | | - (void)setVLC: (vlc_t *)p_vlc; |
|---|
| | 69 | libvlc_int_t *o_libvlc; |
|---|
| | 70 | } |
|---|
| | 71 | |
|---|
| | 72 | - (void)setVLC: (libvlc_int_t *)p_libvlc; |
|---|
| 73 | 73 | |
|---|
| 74 | 74 | @end |
|---|
| … | … | |
| 464 | 464 | #ifdef __APPLE__ |
|---|
| 465 | 465 | /***************************************************************************** |
|---|
| 466 | | * VLCApplication implementation |
|---|
| 467 | | *****************************************************************************/ |
|---|
| 468 | | @implementation VLCApplication |
|---|
| 469 | | |
|---|
| 470 | | - (void)setVLC: (vlc_t *) p_vlc |
|---|
| 471 | | { |
|---|
| 472 | | o_vlc = p_vlc; |
|---|
| | 466 | * VLCApplication implementation |
|---|
| | 467 | *****************************************************************************/ |
|---|
| | 468 | @implementation VLCApplication |
|---|
| | 469 | |
|---|
| | 470 | - (void)setVLC: (libvlc_int_t *) p_libvlc |
|---|
| | 471 | { |
|---|
| | 472 | o_vlc = p_libvlc; |
|---|
| 473 | 473 | } |
|---|
| 474 | 474 | |
|---|
| re9947be |
r3f99651 |
|
| 91 | 91 | |
|---|
| 92 | 92 | /***************************************************************************** |
|---|
| 93 | | * VLC_Create: allocate a vlc_t structure, and initialize libvlc if needed. |
|---|
| 94 | | ***************************************************************************** |
|---|
| 95 | | * This function allocates a vlc_t structure and returns a negative value |
|---|
| | 93 | * VLC_Create: allocate a libvlc instance and intialize global libvlc stuff if needed |
|---|
| | 94 | ***************************************************************************** |
|---|
| | 95 | * This function allocates a libvlc instance and returns a negative value |
|---|
| 96 | 96 | * in case of failure. Also, the thread system is initialized. |
|---|
| 97 | 97 | *****************************************************************************/ |
|---|
| … | … | |
| 111 | 111 | |
|---|
| 112 | 112 | /***************************************************************************** |
|---|
| 113 | | * VLC_Init: initialize a vlc_t structure. |
|---|
| 114 | | ***************************************************************************** |
|---|
| 115 | | * This function initializes a previously allocated vlc_t structure: |
|---|
| | 113 | * VLC_Init: initialize a libvlc instance |
|---|
| | 114 | ***************************************************************************** |
|---|
| | 115 | * This function initializes a previously allocated libvlc instance: |
|---|
| 116 | 116 | * - CPU detection |
|---|
| 117 | 117 | * - gettext initialization |
|---|
| r4b0f3f8 |
r3f99651 |
|
| 2134 | 2134 | |
|---|
| 2135 | 2135 | /***************************************************************************** |
|---|
| 2136 | | * Initializer for the vlc_t structure storing the action / key associations |
|---|
| | 2136 | * Initializer for the libvlc instance structure |
|---|
| | 2137 | * storing the action / key associations |
|---|
| 2137 | 2138 | *****************************************************************************/ |
|---|
| 2138 | 2139 | static struct hotkey p_hotkeys[] = |
|---|