Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Steve Lhomme
VLC
Commits
3f99651d
Commit
3f99651d
authored
Sep 15, 2006
by
zorglub
Browse files
Hopefully fix OS X
parent
f0531d5b
Changes
3
Hide whitespace changes
Inline
Side-by-side
src/interface/interface.c
View file @
3f99651d
...
@@ -66,10 +66,10 @@ static int AddIntfCallback( vlc_object_t *, char const *,
...
@@ -66,10 +66,10 @@ static int AddIntfCallback( vlc_object_t *, char const *,
*****************************************************************************/
*****************************************************************************/
@
interface
VLCApplication
:
NSApplication
@
interface
VLCApplication
:
NSApplication
{
{
vlc_t
*
o_vlc
;
lib
vlc_
int_
t
*
o_
lib
vlc
;
}
}
-
(
void
)
setVLC
:
(
vlc_t
*
)
p_vlc
;
-
(
void
)
setVLC
:
(
lib
vlc_
int_
t
*
)
p_
lib
vlc
;
@
end
@
end
#endif
#endif
...
@@ -463,13 +463,13 @@ static int AddIntfCallback( vlc_object_t *p_this, char const *psz_cmd,
...
@@ -463,13 +463,13 @@ static int AddIntfCallback( vlc_object_t *p_this, char const *psz_cmd,
#ifdef __APPLE__
#ifdef __APPLE__
/*****************************************************************************
/*****************************************************************************
* VLCApplication implementation
* VLCApplication implementation
*****************************************************************************/
*****************************************************************************/
@
implementation
VLCApplication
@
implementation
VLCApplication
-
(
void
)
setVLC
:
(
vlc_t
*
)
p_vlc
-
(
void
)
setVLC
:
(
lib
vlc_
int_
t
*
)
p_
lib
vlc
{
{
o_vlc
=
p_vlc
;
o_vlc
=
p_
lib
vlc
;
}
}
-
(
void
)
stop
:
(
id
)
sender
-
(
void
)
stop
:
(
id
)
sender
...
...
src/libvlc.c
View file @
3f99651d
...
@@ -90,9 +90,9 @@ char const * VLC_Error( int i_err )
...
@@ -90,9 +90,9 @@ char const * VLC_Error( int i_err )
}
}
/*****************************************************************************
/*****************************************************************************
* VLC_Create: allocate a
vlc_t structure,
and in
i
tialize libvlc if needed
.
* VLC_Create: allocate a
libvlc instance
and intialize
global
libvlc
stuff
if needed
*****************************************************************************
*****************************************************************************
* This function allocates a
vlc_t structur
e and returns a negative value
* This function allocates a
libvlc instanc
e and returns a negative value
* in case of failure. Also, the thread system is initialized.
* in case of failure. Also, the thread system is initialized.
*****************************************************************************/
*****************************************************************************/
int
VLC_Create
(
void
)
int
VLC_Create
(
void
)
...
@@ -110,9 +110,9 @@ int VLC_Create( void )
...
@@ -110,9 +110,9 @@ int VLC_Create( void )
/*****************************************************************************
/*****************************************************************************
* VLC_Init: initialize a
vlc_t structure.
* VLC_Init: initialize a
libvlc instance
*****************************************************************************
*****************************************************************************
* This function initializes a previously allocated
vlc_t structur
e:
* This function initializes a previously allocated
libvlc instanc
e:
* - CPU detection
* - CPU detection
* - gettext initialization
* - gettext initialization
* - message queue, module bank and playlist initialization
* - message queue, module bank and playlist initialization
...
...
src/libvlc.h
View file @
3f99651d
...
@@ -2133,7 +2133,8 @@ static module_config_t p_help_config[] =
...
@@ -2133,7 +2133,8 @@ static module_config_t p_help_config[] =
*****************************************************************************/
*****************************************************************************/
/*****************************************************************************
/*****************************************************************************
* Initializer for the vlc_t structure storing the action / key associations
* Initializer for the libvlc instance structure
* storing the action / key associations
*****************************************************************************/
*****************************************************************************/
static
struct
hotkey
p_hotkeys
[]
=
static
struct
hotkey
p_hotkeys
[]
=
{
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment