Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-2-2
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
videolan
vlc-2-2
Commits
0208ba92
Commit
0208ba92
authored
Mar 06, 2007
by
Olivier Aubert
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
include/vlc/mediacontrol.h: mark mediacontrol method as VLC_PUBLIC_API
parent
dd785305
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
29 additions
and
29 deletions
+29
-29
include/vlc/mediacontrol.h
include/vlc/mediacontrol.h
+29
-29
No files found.
include/vlc/mediacontrol.h
View file @
0208ba92
...
@@ -124,7 +124,7 @@ mediacontrol_RGBPicture *mediacontrol_RGBPicture__alloc( int datasize );
...
@@ -124,7 +124,7 @@ mediacontrol_RGBPicture *mediacontrol_RGBPicture__alloc( int datasize );
* Free a RGBPicture structure.
* Free a RGBPicture structure.
* \param pic: the RGBPicture structure
* \param pic: the RGBPicture structure
*/
*/
void
mediacontrol_RGBPicture__free
(
mediacontrol_RGBPicture
*
pic
);
VLC_PUBLIC_API
void
mediacontrol_RGBPicture__free
(
mediacontrol_RGBPicture
*
pic
);
mediacontrol_RGBPicture
*
mediacontrol_RGBPicture
*
_mediacontrol_createRGBPicture
(
int
,
int
,
long
,
vlc_int64_t
l_date
,
_mediacontrol_createRGBPicture
(
int
,
int
,
long
,
vlc_int64_t
l_date
,
...
@@ -132,21 +132,21 @@ mediacontrol_RGBPicture *
...
@@ -132,21 +132,21 @@ mediacontrol_RGBPicture *
mediacontrol_PlaylistSeq
*
mediacontrol_PlaylistSeq__alloc
(
int
size
);
mediacontrol_PlaylistSeq
*
mediacontrol_PlaylistSeq__alloc
(
int
size
);
void
mediacontrol_PlaylistSeq__free
(
mediacontrol_PlaylistSeq
*
ps
);
VLC_PUBLIC_API
void
mediacontrol_PlaylistSeq__free
(
mediacontrol_PlaylistSeq
*
ps
);
/**
/**
* Initialize an exception structure.
* Initialize an exception structure.
* \param p_exception the exception to initialize. If NULL, a new exception will be created.
* \param p_exception the exception to initialize. If NULL, a new exception will be created.
* \return the exception
* \return the exception
*/
*/
mediacontrol_Exception
*
VLC_PUBLIC_API
mediacontrol_Exception
*
mediacontrol_exception_init
(
mediacontrol_Exception
*
exception
);
mediacontrol_exception_init
(
mediacontrol_Exception
*
exception
);
/**
/**
* Free an exception structure.
* Free an exception structure.
* \return the exception
* \return the exception
*/
*/
void
mediacontrol_exception_free
(
mediacontrol_Exception
*
exception
);
VLC_PUBLIC_API
void
mediacontrol_exception_free
(
mediacontrol_Exception
*
exception
);
/*****************************************************************************
/*****************************************************************************
* Core functions
* Core functions
...
@@ -159,7 +159,7 @@ void mediacontrol_exception_free(mediacontrol_Exception *exception);
...
@@ -159,7 +159,7 @@ void mediacontrol_exception_free(mediacontrol_Exception *exception);
* \param exception an initialized exception pointer
* \param exception an initialized exception pointer
* \return a mediacontrol_Instance
* \return a mediacontrol_Instance
*/
*/
mediacontrol_Instance
*
VLC_PUBLIC_API
mediacontrol_Instance
*
mediacontrol_new
(
int
argc
,
char
**
argv
,
mediacontrol_Exception
*
exception
);
mediacontrol_new
(
int
argc
,
char
**
argv
,
mediacontrol_Exception
*
exception
);
/**
/**
...
@@ -168,7 +168,7 @@ mediacontrol_new( int argc, char **argv, mediacontrol_Exception *exception );
...
@@ -168,7 +168,7 @@ mediacontrol_new( int argc, char **argv, mediacontrol_Exception *exception );
* \param exception an initialized exception pointer
* \param exception an initialized exception pointer
* \return a mediacontrol_Instance
* \return a mediacontrol_Instance
*/
*/
mediacontrol_Instance
*
VLC_PUBLIC_API
mediacontrol_Instance
*
mediacontrol_new_from_instance
(
libvlc_instance_t
*
p_instance
,
mediacontrol_new_from_instance
(
libvlc_instance_t
*
p_instance
,
mediacontrol_Exception
*
exception
);
mediacontrol_Exception
*
exception
);
...
@@ -177,7 +177,7 @@ mediacontrol_new_from_instance( libvlc_instance_t* p_instance,
...
@@ -177,7 +177,7 @@ mediacontrol_new_from_instance( libvlc_instance_t* p_instance,
* \param self: the mediacontrol instance
* \param self: the mediacontrol instance
* \return a libvlc instance
* \return a libvlc instance
*/
*/
libvlc_instance_t
*
VLC_PUBLIC_API
libvlc_instance_t
*
mediacontrol_get_libvlc_instance
(
mediacontrol_Instance
*
self
);
mediacontrol_get_libvlc_instance
(
mediacontrol_Instance
*
self
);
/**
/**
...
@@ -188,7 +188,7 @@ mediacontrol_get_libvlc_instance( mediacontrol_Instance* self );
...
@@ -188,7 +188,7 @@ mediacontrol_get_libvlc_instance( mediacontrol_Instance* self );
* \param exception an initialized exception pointer
* \param exception an initialized exception pointer
* \return a mediacontrol_Position
* \return a mediacontrol_Position
*/
*/
mediacontrol_Position
*
mediacontrol_get_media_position
(
VLC_PUBLIC_API
mediacontrol_Position
*
mediacontrol_get_media_position
(
mediacontrol_Instance
*
self
,
mediacontrol_Instance
*
self
,
const
mediacontrol_PositionOrigin
an_origin
,
const
mediacontrol_PositionOrigin
an_origin
,
const
mediacontrol_PositionKey
a_key
,
const
mediacontrol_PositionKey
a_key
,
...
@@ -200,7 +200,7 @@ mediacontrol_Position * mediacontrol_get_media_position(
...
@@ -200,7 +200,7 @@ mediacontrol_Position * mediacontrol_get_media_position(
* \param a_position a mediacontrol_Position
* \param a_position a mediacontrol_Position
* \param exception an initialized exception pointer
* \param exception an initialized exception pointer
*/
*/
void
mediacontrol_set_media_position
(
mediacontrol_Instance
*
self
,
VLC_PUBLIC_API
void
mediacontrol_set_media_position
(
mediacontrol_Instance
*
self
,
const
mediacontrol_Position
*
a_position
,
const
mediacontrol_Position
*
a_position
,
mediacontrol_Exception
*
exception
);
mediacontrol_Exception
*
exception
);
...
@@ -210,7 +210,7 @@ void mediacontrol_set_media_position( mediacontrol_Instance *self,
...
@@ -210,7 +210,7 @@ void mediacontrol_set_media_position( mediacontrol_Instance *self,
* \param a_position a mediacontrol_Position
* \param a_position a mediacontrol_Position
* \param exception an initialized exception pointer
* \param exception an initialized exception pointer
*/
*/
void
mediacontrol_start
(
mediacontrol_Instance
*
self
,
VLC_PUBLIC_API
void
mediacontrol_start
(
mediacontrol_Instance
*
self
,
const
mediacontrol_Position
*
a_position
,
const
mediacontrol_Position
*
a_position
,
mediacontrol_Exception
*
exception
);
mediacontrol_Exception
*
exception
);
...
@@ -220,7 +220,7 @@ void mediacontrol_start( mediacontrol_Instance *self,
...
@@ -220,7 +220,7 @@ void mediacontrol_start( mediacontrol_Instance *self,
* \param a_position a mediacontrol_Position (ignored for now)
* \param a_position a mediacontrol_Position (ignored for now)
* \param exception an initialized exception pointer
* \param exception an initialized exception pointer
*/
*/
void
mediacontrol_pause
(
mediacontrol_Instance
*
self
,
VLC_PUBLIC_API
void
mediacontrol_pause
(
mediacontrol_Instance
*
self
,
const
mediacontrol_Position
*
a_position
,
const
mediacontrol_Position
*
a_position
,
mediacontrol_Exception
*
exception
);
mediacontrol_Exception
*
exception
);
...
@@ -230,7 +230,7 @@ void mediacontrol_pause( mediacontrol_Instance *self,
...
@@ -230,7 +230,7 @@ void mediacontrol_pause( mediacontrol_Instance *self,
* \param a_position a mediacontrol_Position (ignored for now)
* \param a_position a mediacontrol_Position (ignored for now)
* \param exception an initialized exception pointer
* \param exception an initialized exception pointer
*/
*/
void
mediacontrol_resume
(
mediacontrol_Instance
*
self
,
VLC_PUBLIC_API
void
mediacontrol_resume
(
mediacontrol_Instance
*
self
,
const
mediacontrol_Position
*
a_position
,
const
mediacontrol_Position
*
a_position
,
mediacontrol_Exception
*
exception
);
mediacontrol_Exception
*
exception
);
...
@@ -240,7 +240,7 @@ void mediacontrol_resume( mediacontrol_Instance *self,
...
@@ -240,7 +240,7 @@ void mediacontrol_resume( mediacontrol_Instance *self,
* \param a_position a mediacontrol_Position (ignored for now)
* \param a_position a mediacontrol_Position (ignored for now)
* \param exception an initialized exception pointer
* \param exception an initialized exception pointer
*/
*/
void
mediacontrol_stop
(
mediacontrol_Instance
*
self
,
VLC_PUBLIC_API
void
mediacontrol_stop
(
mediacontrol_Instance
*
self
,
const
mediacontrol_Position
*
a_position
,
const
mediacontrol_Position
*
a_position
,
mediacontrol_Exception
*
exception
);
mediacontrol_Exception
*
exception
);
...
@@ -248,7 +248,7 @@ void mediacontrol_stop( mediacontrol_Instance *self,
...
@@ -248,7 +248,7 @@ void mediacontrol_stop( mediacontrol_Instance *self,
* Exit the player
* Exit the player
* \param self the mediacontrol instance
* \param self the mediacontrol instance
*/
*/
void
mediacontrol_exit
(
mediacontrol_Instance
*
self
);
VLC_PUBLIC_API
void
mediacontrol_exit
(
mediacontrol_Instance
*
self
);
/**
/**
* Add a new MRL to the playlist
* Add a new MRL to the playlist
...
@@ -256,7 +256,7 @@ void mediacontrol_exit( mediacontrol_Instance *self );
...
@@ -256,7 +256,7 @@ void mediacontrol_exit( mediacontrol_Instance *self );
* \param psz_file the MRL
* \param psz_file the MRL
* \param exception an initialized exception pointer
* \param exception an initialized exception pointer
*/
*/
void
mediacontrol_playlist_add_item
(
mediacontrol_Instance
*
self
,
VLC_PUBLIC_API
void
mediacontrol_playlist_add_item
(
mediacontrol_Instance
*
self
,
const
char
*
psz_file
,
const
char
*
psz_file
,
mediacontrol_Exception
*
exception
);
mediacontrol_Exception
*
exception
);
/**
/**
...
@@ -264,7 +264,7 @@ void mediacontrol_playlist_add_item( mediacontrol_Instance *self,
...
@@ -264,7 +264,7 @@ void mediacontrol_playlist_add_item( mediacontrol_Instance *self,
* \param self the mediacontrol instance
* \param self the mediacontrol instance
* \param exception an initialized exception pointer
* \param exception an initialized exception pointer
*/
*/
void
mediacontrol_playlist_clear
(
mediacontrol_Instance
*
self
,
VLC_PUBLIC_API
void
mediacontrol_playlist_clear
(
mediacontrol_Instance
*
self
,
mediacontrol_Exception
*
exception
);
mediacontrol_Exception
*
exception
);
/**
/**
* Get a flattened view of the playlist
* Get a flattened view of the playlist
...
@@ -272,7 +272,7 @@ void mediacontrol_playlist_clear( mediacontrol_Instance *self,
...
@@ -272,7 +272,7 @@ void mediacontrol_playlist_clear( mediacontrol_Instance *self,
* \param exception an initialized exception pointer
* \param exception an initialized exception pointer
* \return a list of strings
* \return a list of strings
*/
*/
mediacontrol_PlaylistSeq
*
VLC_PUBLIC_API
mediacontrol_PlaylistSeq
*
mediacontrol_playlist_get_list
(
mediacontrol_Instance
*
self
,
mediacontrol_playlist_get_list
(
mediacontrol_Instance
*
self
,
mediacontrol_Exception
*
exception
);
mediacontrol_Exception
*
exception
);
...
@@ -281,7 +281,7 @@ mediacontrol_PlaylistSeq *
...
@@ -281,7 +281,7 @@ mediacontrol_PlaylistSeq *
* \param self the mediacontrol instance
* \param self the mediacontrol instance
* \param exception an initialized exception pointer
* \param exception an initialized exception pointer
*/
*/
void
VLC_PUBLIC_API
void
mediacontrol_playlist_next_item
(
mediacontrol_Instance
*
self
,
mediacontrol_playlist_next_item
(
mediacontrol_Instance
*
self
,
mediacontrol_Exception
*
exception
);
mediacontrol_Exception
*
exception
);
...
@@ -295,7 +295,7 @@ mediacontrol_playlist_next_item( mediacontrol_Instance *self,
...
@@ -295,7 +295,7 @@ mediacontrol_playlist_next_item( mediacontrol_Instance *self,
* \param exception an initialized exception pointer
* \param exception an initialized exception pointer
* \return a RGBpicture
* \return a RGBpicture
*/
*/
mediacontrol_RGBPicture
*
VLC_PUBLIC_API
mediacontrol_RGBPicture
*
mediacontrol_snapshot
(
mediacontrol_Instance
*
self
,
mediacontrol_snapshot
(
mediacontrol_Instance
*
self
,
const
mediacontrol_Position
*
a_position
,
const
mediacontrol_Position
*
a_position
,
mediacontrol_Exception
*
exception
);
mediacontrol_Exception
*
exception
);
...
@@ -307,7 +307,7 @@ mediacontrol_RGBPicture *
...
@@ -307,7 +307,7 @@ mediacontrol_RGBPicture *
* \param exception an initialized exception pointer
* \param exception an initialized exception pointer
* \return a NULL-terminated list of RGBpicture
* \return a NULL-terminated list of RGBpicture
*/
*/
mediacontrol_RGBPicture
**
VLC_PUBLIC_API
mediacontrol_RGBPicture
**
mediacontrol_all_snapshots
(
mediacontrol_Instance
*
self
,
mediacontrol_all_snapshots
(
mediacontrol_Instance
*
self
,
mediacontrol_Exception
*
exception
);
mediacontrol_Exception
*
exception
);
...
@@ -319,7 +319,7 @@ mediacontrol_RGBPicture **
...
@@ -319,7 +319,7 @@ mediacontrol_RGBPicture **
* \param end the end position
* \param end the end position
* \param exception an initialized exception pointer
* \param exception an initialized exception pointer
*/
*/
void
mediacontrol_display_text
(
mediacontrol_Instance
*
self
,
VLC_PUBLIC_API
void
mediacontrol_display_text
(
mediacontrol_Instance
*
self
,
const
char
*
message
,
const
char
*
message
,
const
mediacontrol_Position
*
begin
,
const
mediacontrol_Position
*
begin
,
const
mediacontrol_Position
*
end
,
const
mediacontrol_Position
*
end
,
...
@@ -332,7 +332,7 @@ void mediacontrol_display_text( mediacontrol_Instance *self,
...
@@ -332,7 +332,7 @@ void mediacontrol_display_text( mediacontrol_Instance *self,
* \param exception an initialized exception pointer
* \param exception an initialized exception pointer
* \return a mediacontrol_StreamInformation
* \return a mediacontrol_StreamInformation
*/
*/
mediacontrol_StreamInformation
*
VLC_PUBLIC_API
mediacontrol_StreamInformation
*
mediacontrol_get_stream_information
(
mediacontrol_Instance
*
self
,
mediacontrol_get_stream_information
(
mediacontrol_Instance
*
self
,
mediacontrol_PositionKey
a_key
,
mediacontrol_PositionKey
a_key
,
mediacontrol_Exception
*
exception
);
mediacontrol_Exception
*
exception
);
...
@@ -343,7 +343,7 @@ mediacontrol_StreamInformation *
...
@@ -343,7 +343,7 @@ mediacontrol_StreamInformation *
* \param exception an initialized exception pointer
* \param exception an initialized exception pointer
* \return the volume
* \return the volume
*/
*/
unsigned
short
VLC_PUBLIC_API
unsigned
short
mediacontrol_sound_get_volume
(
mediacontrol_Instance
*
self
,
mediacontrol_sound_get_volume
(
mediacontrol_Instance
*
self
,
mediacontrol_Exception
*
exception
);
mediacontrol_Exception
*
exception
);
/**
/**
...
@@ -352,7 +352,7 @@ unsigned short
...
@@ -352,7 +352,7 @@ unsigned short
* \param volume the volume (normalized in [0..100])
* \param volume the volume (normalized in [0..100])
* \param exception an initialized exception pointer
* \param exception an initialized exception pointer
*/
*/
void
mediacontrol_sound_set_volume
(
mediacontrol_Instance
*
self
,
VLC_PUBLIC_API
void
mediacontrol_sound_set_volume
(
mediacontrol_Instance
*
self
,
const
unsigned
short
volume
,
const
unsigned
short
volume
,
mediacontrol_Exception
*
exception
);
mediacontrol_Exception
*
exception
);
...
@@ -362,7 +362,7 @@ void mediacontrol_sound_set_volume( mediacontrol_Instance *self,
...
@@ -362,7 +362,7 @@ void mediacontrol_sound_set_volume( mediacontrol_Instance *self,
* \param visual_id the Xid or HWND, depending on the platform
* \param visual_id the Xid or HWND, depending on the platform
* \param exception an initialized exception pointer
* \param exception an initialized exception pointer
*/
*/
vlc_bool_t
mediacontrol_set_visual
(
mediacontrol_Instance
*
self
,
VLC_PUBLIC_API
vlc_bool_t
mediacontrol_set_visual
(
mediacontrol_Instance
*
self
,
WINDOWHANDLE
visual_id
,
WINDOWHANDLE
visual_id
,
mediacontrol_Exception
*
exception
);
mediacontrol_Exception
*
exception
);
...
@@ -372,7 +372,7 @@ vlc_bool_t mediacontrol_set_visual( mediacontrol_Instance *self,
...
@@ -372,7 +372,7 @@ vlc_bool_t mediacontrol_set_visual( mediacontrol_Instance *self,
* \param exception an initialized exception pointer
* \param exception an initialized exception pointer
* \return the rate
* \return the rate
*/
*/
int
mediacontrol_get_rate
(
mediacontrol_Instance
*
self
,
VLC_PUBLIC_API
int
mediacontrol_get_rate
(
mediacontrol_Instance
*
self
,
mediacontrol_Exception
*
exception
);
mediacontrol_Exception
*
exception
);
/**
/**
...
@@ -381,7 +381,7 @@ int mediacontrol_get_rate( mediacontrol_Instance *self,
...
@@ -381,7 +381,7 @@ int mediacontrol_get_rate( mediacontrol_Instance *self,
* \param rate the desired rate
* \param rate the desired rate
* \param exception an initialized exception pointer
* \param exception an initialized exception pointer
*/
*/
void
mediacontrol_set_rate
(
mediacontrol_Instance
*
self
,
VLC_PUBLIC_API
void
mediacontrol_set_rate
(
mediacontrol_Instance
*
self
,
const
int
rate
,
const
int
rate
,
mediacontrol_Exception
*
exception
);
mediacontrol_Exception
*
exception
);
...
@@ -391,7 +391,7 @@ void mediacontrol_set_rate( mediacontrol_Instance *self,
...
@@ -391,7 +391,7 @@ void mediacontrol_set_rate( mediacontrol_Instance *self,
* \param exception an initialized exception pointer
* \param exception an initialized exception pointer
* \return the fullscreen status
* \return the fullscreen status
*/
*/
int
mediacontrol_get_fullscreen
(
mediacontrol_Instance
*
self
,
VLC_PUBLIC_API
int
mediacontrol_get_fullscreen
(
mediacontrol_Instance
*
self
,
mediacontrol_Exception
*
exception
);
mediacontrol_Exception
*
exception
);
/**
/**
...
@@ -400,7 +400,7 @@ int mediacontrol_get_fullscreen( mediacontrol_Instance *self,
...
@@ -400,7 +400,7 @@ int mediacontrol_get_fullscreen( mediacontrol_Instance *self,
* \param b_fullscreen the desired status
* \param b_fullscreen the desired status
* \param exception an initialized exception pointer
* \param exception an initialized exception pointer
*/
*/
void
mediacontrol_set_fullscreen
(
mediacontrol_Instance
*
self
,
VLC_PUBLIC_API
void
mediacontrol_set_fullscreen
(
mediacontrol_Instance
*
self
,
const
int
b_fullscreen
,
const
int
b_fullscreen
,
mediacontrol_Exception
*
exception
);
mediacontrol_Exception
*
exception
);
...
...
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