Changeset 2a227b41898fb77ce4c7f57af144834c54bd740d
- Timestamp:
- 05/15/08 20:09:02
(3 months ago)
- Author:
- Rémi Denis-Courmont <rem@videolan.org>
- git-committer:
- Rémi Denis-Courmont <rem@videolan.org> 1210874942 +0300
- git-parent:
[debfaaa1a843326ca254daab1479f34ad30deab7]
- git-author:
- Rémi Denis-Courmont <rem@videolan.org> 1210873840 +0300
- Message:
libvlc_run_interface: start and wait for an interface
-
Files:
-
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
| r594e6e2 |
r2a227b4 |
|
| 145 | 145 | */ |
|---|
| 146 | 146 | VLC_PUBLIC_API void libvlc_retain( libvlc_instance_t * ); |
|---|
| | 147 | |
|---|
| | 148 | /** |
|---|
| | 149 | * Try to start a user interface for the libvlc instance, and wait until the |
|---|
| | 150 | * user exits. |
|---|
| | 151 | * |
|---|
| | 152 | * \param p_instance the instance |
|---|
| | 153 | * \param name interface name, or NULL for default |
|---|
| | 154 | * \param p_exception an initialized exception pointer |
|---|
| | 155 | */ |
|---|
| | 156 | VLC_PUBLIC_API |
|---|
| | 157 | void libvlc_run_interface( libvlc_instance_t *p_instance, const char *name, |
|---|
| | 158 | libvlc_exception_t *p_exception ); |
|---|
| 147 | 159 | |
|---|
| 148 | 160 | /** |
|---|
| r6da90a1 |
r2a227b4 |
|
| 171 | 171 | } |
|---|
| 172 | 172 | |
|---|
| | 173 | void libvlc_run_interface( libvlc_instance_t *p_i, const char *name, |
|---|
| | 174 | libvlc_exception_t *p_e ) |
|---|
| | 175 | { |
|---|
| | 176 | if( libvlc_InternalAddIntf( p_i->p_libvlc_int, name, true, true, 0, NULL ) ) |
|---|
| | 177 | RAISEVOID( "Interface initialization failed" ); |
|---|
| | 178 | } |
|---|
| | 179 | |
|---|
| 173 | 180 | int libvlc_get_vlc_id( libvlc_instance_t *p_instance ) |
|---|
| 174 | 181 | { |
|---|