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
e3c85036
Commit
e3c85036
authored
Feb 25, 2008
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
- Don't put private system_* header in public
- Remove useless system_VLCPath
parent
1af701c6
Changes
8
Show whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
21 additions
and
77 deletions
+21
-77
include/vlc_common.h
include/vlc_common.h
+0
-1
include/vlc_os_specific.h
include/vlc_os_specific.h
+0
-62
modules/gui/qt4/qt4.cpp
modules/gui/qt4/qt4.cpp
+1
-1
src/Makefile.am
src/Makefile.am
+0
-1
src/libvlc-common.c
src/libvlc-common.c
+0
-2
src/libvlc.h
src/libvlc.h
+20
-0
src/libvlc.sym
src/libvlc.sym
+0
-1
src/misc/win32_specific.c
src/misc/win32_specific.c
+0
-9
No files found.
include/vlc_common.h
View file @
e3c85036
...
@@ -1055,7 +1055,6 @@ VLC_EXPORT( const char *, VLC_Changeset, ( void ) );
...
@@ -1055,7 +1055,6 @@ VLC_EXPORT( const char *, VLC_Changeset, ( void ) );
/*****************************************************************************
/*****************************************************************************
* Additional vlc stuff
* Additional vlc stuff
*****************************************************************************/
*****************************************************************************/
#include "vlc_os_specific.h"
#include "vlc_messages.h"
#include "vlc_messages.h"
#include "vlc_variables.h"
#include "vlc_variables.h"
#include "vlc_objects.h"
#include "vlc_objects.h"
...
...
include/vlc_os_specific.h
deleted
100644 → 0
View file @
1af701c6
/*****************************************************************************
* os_specific.h: OS specific features
*****************************************************************************
* Copyright (C) 2001 the VideoLAN team
* $Id$
*
* Authors: Samuel Hocevar <sam@zoy.org>
* Gildas Bazin <gbazin@netcourrier.com>
*
* This program 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.
*
* This program 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 this program; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
*****************************************************************************/
#if !defined( __LIBVLC__ )
#error You are not libvlc or one of its plugins. You cannot include this file
#endif
#ifndef _NEED_OS_SPECIFIC_H
# define _NEED_OS_SPECIFIC_H 1
#endif
#if defined( SYS_BEOS )
/* Nothing at the moment, create beos_specific.h when needed */
#elif defined( __APPLE__ )
/* Nothing at the moment, create darwin_specific.h when needed */
#elif defined( WIN32 ) || defined( UNDER_CE )
VLC_EXPORT
(
const
char
*
,
system_VLCPath
,
(
void
));
#else
# undef _NEED_OS_SPECIFIC_H
#endif
# ifdef __cplusplus
extern
"C"
{
# endif
/*****************************************************************************
* Prototypes
*****************************************************************************/
#ifdef _NEED_OS_SPECIFIC_H
void
system_Init
(
libvlc_int_t
*
,
int
*
,
const
char
*
[]
);
void
system_Configure
(
libvlc_int_t
*
,
int
*
,
const
char
*
[]
);
void
system_End
(
libvlc_int_t
*
);
#else
# define system_Init( a, b, c ) {}
# define system_Configure( a, b, c ) {}
# define system_End( a ) {}
#endif
# ifdef __cplusplus
}
# endif
modules/gui/qt4/qt4.cpp
View file @
e3c85036
...
@@ -334,7 +334,7 @@ static void Init( intf_thread_t *p_intf )
...
@@ -334,7 +334,7 @@ static void Init( intf_thread_t *p_intf )
#if !defined( WIN32 )
#if !defined( WIN32 )
QString
path
=
QString
(
QT4LOCALEDIR
);
QString
path
=
QString
(
QT4LOCALEDIR
);
#else
#else
QString
path
=
QString
(
QString
(
system_VLCPath
())
+
DIR_SEP
+
QString
path
=
QString
(
QString
(
config_GetDataDir
())
+
DIR_SEP
+
"locale"
+
DIR_SEP
);
"locale"
+
DIR_SEP
);
#endif
#endif
// files depending on locale
// files depending on locale
...
...
src/Makefile.am
View file @
e3c85036
...
@@ -67,7 +67,6 @@ HEADERS_include = \
...
@@ -67,7 +67,6 @@ HEADERS_include = \
../include/vlc_mtime.h
\
../include/vlc_mtime.h
\
../include/vlc_network.h
\
../include/vlc_network.h
\
../include/vlc_objects.h
\
../include/vlc_objects.h
\
../include/vlc_os_specific.h
\
../include/vlc_osd.h
\
../include/vlc_osd.h
\
../include/vlc_pgpkey.h
\
../include/vlc_pgpkey.h
\
../include/vlc_playlist.h
\
../include/vlc_playlist.h
\
...
...
src/libvlc-common.c
View file @
e3c85036
...
@@ -75,8 +75,6 @@
...
@@ -75,8 +75,6 @@
# include <hal/libhal.h>
# include <hal/libhal.h>
#endif
#endif
#include "vlc_os_specific.h"
#include <vlc_playlist.h>
#include <vlc_playlist.h>
#include <vlc_interface.h>
#include <vlc_interface.h>
...
...
src/libvlc.h
View file @
e3c85036
...
@@ -31,6 +31,26 @@ extern const struct hotkey libvlc_hotkeys[];
...
@@ -31,6 +31,26 @@ extern const struct hotkey libvlc_hotkeys[];
extern
const
size_t
libvlc_hotkeys_size
;
extern
const
size_t
libvlc_hotkeys_size
;
/*
* OS-specific initialization
*/
void
system_Init
(
libvlc_int_t
*
,
int
*
,
const
char
*
[]
);
void
system_Configure
(
libvlc_int_t
*
,
int
*
,
const
char
*
[]
);
void
system_End
(
libvlc_int_t
*
);
#if defined( SYS_BEOS )
/* Nothing at the moment, create beos_specific.h when needed */
#elif defined( __APPLE__ )
/* Nothing at the moment, create darwin_specific.h when needed */
#elif defined( WIN32 ) || defined( UNDER_CE )
VLC_EXPORT
(
const
char
*
,
system_VLCPath
,
(
void
));
#else
# define system_Init( a, b, c ) (void)0
# define system_Configure( a, b, c ) (void)0
# define system_End( a ) (void)0
#endif
/*
/*
* Threads subsystem
* Threads subsystem
*/
*/
...
...
src/libvlc.sym
View file @
e3c85036
...
@@ -330,7 +330,6 @@ stream_vaControl
...
@@ -330,7 +330,6 @@ stream_vaControl
__str_format
__str_format
__str_format_meta
__str_format_meta
str_format_time
str_format_time
system_VLCPath
tls_ClientCreate
tls_ClientCreate
tls_ClientDelete
tls_ClientDelete
ToLocale
ToLocale
...
...
src/misc/win32_specific.c
View file @
e3c85036
...
@@ -372,12 +372,3 @@ void system_End( libvlc_int_t *p_this )
...
@@ -372,12 +372,3 @@ void system_End( libvlc_int_t *p_this )
WSACleanup
();
WSACleanup
();
}
}
/*****************************************************************************
* system_VLCPath
* **************************************************************************/
const
char
*
system_VLCPath
(
void
)
{
libvlc_global_data_t
*
libvlc_global
=
vlc_global
();
return
libvlc_global
->
psz_vlcpath
;
}
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