Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-1.1
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-1.1
Commits
e634fbcf
Commit
e634fbcf
authored
Oct 21, 2006
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
const rulez
parent
8f1b2445
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
29 additions
and
29 deletions
+29
-29
include/configuration.h
include/configuration.h
+12
-12
include/modules.h
include/modules.h
+6
-6
include/vlc_common.h
include/vlc_common.h
+1
-1
include/vlc_keys.h
include/vlc_keys.h
+2
-2
src/libvlc.h
src/libvlc.h
+8
-8
No files found.
include/configuration.h
View file @
e634fbcf
...
...
@@ -113,18 +113,18 @@
struct
config_category_t
{
int
i_id
;
c
har
*
psz_name
;
c
har
*
psz_help
;
c
onst
char
*
psz_name
;
c
onst
char
*
psz_help
;
};
struct
module_config_t
{
int
i_type
;
/* Configuration type */
c
har
*
psz_type
;
/* Configuration subtype */
c
har
*
psz_name
;
/* Option name */
c
onst
char
*
psz_type
;
/* Configuration subtype */
c
onst
char
*
psz_name
;
/* Option name */
char
i_short
;
/* Optional short option name */
c
har
*
psz_text
;
/* Short comment on the configuration option */
c
har
*
psz_longtext
;
/* Long comment on the configuration option */
c
onst
char
*
psz_text
;
/* Short comment on the configuration option */
c
onst
char
*
psz_longtext
;
/* Long comment on the configuration option */
char
*
psz_value
;
/* Option value */
int
i_value
;
/* Option value */
float
f_value
;
/* Option value */
...
...
@@ -138,18 +138,18 @@ struct module_config_t
void
*
p_callback_data
;
/* Values list */
c
har
**
ppsz_list
;
/* List of possible values for the option */
c
onst
char
**
ppsz_list
;
/* List of possible values for the option */
int
*
pi_list
;
/* Idem for integers */
c
har
**
ppsz_list_text
;
/* Friendly names for list values */
c
onst
char
**
ppsz_list_text
;
/* Friendly names for list values */
int
i_list
;
/* Options list size */
/* Actions list */
vlc_callback_t
*
ppf_action
;
/* List of possible actions for a config */
c
har
**
ppsz_action_text
;
/* Friendly names for actions */
c
onst
char
**
ppsz_action_text
;
/* Friendly names for actions */
int
i_action
;
/* actions list size */
/* Deprecated */
c
har
*
psz_current
;
/* Good option name */
c
onst
char
*
psz_current
;
/* Good option name */
vlc_bool_t
b_strict
;
/* Transitionnal or strict */
/* Misc */
vlc_mutex_t
*
p_lock
;
/* Lock to use when modifying the config */
...
...
@@ -160,12 +160,12 @@ struct module_config_t
/* to take effect */
/* Original option values */
c
har
*
psz_value_orig
;
c
onst
char
*
psz_value_orig
;
int
i_value_orig
;
float
f_value_orig
;
/* Option values loaded from config file */
c
har
*
psz_value_saved
;
c
onst
char
*
psz_value_saved
;
int
i_value_saved
;
float
f_value_saved
;
vlc_bool_t
b_autosave
;
/* Config will be auto-saved at exit time */
...
...
include/modules.h
View file @
e634fbcf
...
...
@@ -85,18 +85,18 @@ struct module_t
/*
* Variables set by the module to identify itself
*/
c
har
*
psz_shortname
;
/* Module name */
c
har
*
psz_longname
;
/* Module descriptive name */
c
har
*
psz_help
;
/* Long help string for "special" modules */
c
onst
char
*
psz_shortname
;
/* Module name */
c
onst
char
*
psz_longname
;
/* Module descriptive name */
c
onst
char
*
psz_help
;
/* Long help string for "special" modules */
/*
* Variables set by the module to tell us what it can do
*/
c
har
*
psz_program
;
/* Program name which will activate the module */
c
onst
char
*
psz_program
;
/* Program name which will activate the module */
c
har
*
pp_shortcuts
[
MODULE_SHORTCUT_MAX
];
/* Shortcuts to the module */
c
onst
char
*
pp_shortcuts
[
MODULE_SHORTCUT_MAX
];
/* Shortcuts to the module */
c
har
*
psz_capability
;
/* Capability */
c
onst
char
*
psz_capability
;
/* Capability */
int
i_score
;
/* Score for each capability */
uint32_t
i_cpu
;
/* Required CPU capabilities */
...
...
include/vlc_common.h
View file @
e634fbcf
...
...
@@ -499,7 +499,7 @@ typedef int ( * vlc_callback_t ) ( vlc_object_t *, /* variable's object */
int i_object_id; \
int i_object_type; \
const char *psz_object_type; \
c
har *psz_object_name;
\
c
onst char *psz_object_name;
\
\
/* Messages header */
\
char *psz_header; \
...
...
include/vlc_keys.h
View file @
e634fbcf
...
...
@@ -83,7 +83,7 @@
typedef
struct
key_descriptor_s
{
char
*
psz_key_string
;
c
onst
c
har
*
psz_key_string
;
int
i_key_code
;
}
key_descriptor_t
;
...
...
@@ -188,7 +188,7 @@ static const struct key_descriptor_s vlc_keys[] =
{
"Media Play Pause"
,
KEY_MEDIA_PLAY_PAUSE
}
};
static
inline
char
*
KeyToString
(
int
i_key
)
static
inline
c
onst
c
har
*
KeyToString
(
int
i_key
)
{
unsigned
int
i
=
0
;
for
(
i
=
0
;
i
<
sizeof
(
vlc_keys
)
/
sizeof
(
key_descriptor_t
);
i
++
)
...
...
src/libvlc.h
View file @
e634fbcf
...
...
@@ -29,12 +29,12 @@
#include "vlc_meta.h"
#if defined (WIN32) || defined (__APPLE__)
static
char
*
ppsz_language
[]
=
static
c
onst
c
har
*
ppsz_language
[]
=
{
"auto"
,
"en"
,
"en_GB"
,
"ca"
,
"cs"
,
"da"
,
"de"
,
"es"
,
"fr"
,
"gl"
,
"he"
,
"hu"
,
"it"
,
"ja"
,
"ka"
,
"ko"
,
"ms"
,
"nl"
,
"oc"
,
"pt_BR"
,
"ro"
,
"ru"
,
"sk"
,
"sv"
,
"tr"
,
"zh_CN"
,
"zh_TW"
};
static
char
*
ppsz_language_text
[]
=
static
c
onst
c
har
*
ppsz_language_text
[]
=
{
N_
(
"Auto"
),
N_
(
"American English"
),
N_
(
"British English"
),
N_
(
"Catalan"
),
N_
(
"Czech"
),
N_
(
"Danish"
),
N_
(
"German"
),
N_
(
"Spanish"
),
N_
(
"French"
),
N_
(
"Galician"
),
N_
(
"Hebrew"
),
N_
(
"Hungarian"
),
N_
(
"Italian"
),
...
...
@@ -44,7 +44,7 @@ N_("Slovak"), N_("Turkish"), N_("Simplified Chinese"),
N_
(
"Chinese Traditional"
)
};
#endif
static
char
*
ppsz_snap_formats
[]
=
static
c
onst
c
har
*
ppsz_snap_formats
[]
=
{
"png"
,
"jpg"
};
/*****************************************************************************
...
...
@@ -199,7 +199,7 @@ static char *ppsz_snap_formats[] =
"enhance your experience, especially when combined with the Headphone "\
"Channel Mixer." )
static
int
pi_force_dolby_values
[]
=
{
0
,
1
,
2
};
static
char
*
ppsz_force_dolby_descriptions
[]
=
{
N_
(
"Auto"
),
N_
(
"On"
),
N_
(
"Off"
)
};
static
c
onst
c
har
*
ppsz_force_dolby_descriptions
[]
=
{
N_
(
"Auto"
),
N_
(
"On"
),
N_
(
"Off"
)
};
#define AUDIO_FILTER_TEXT N_("Audio filters")
...
...
@@ -264,7 +264,7 @@ static char *ppsz_force_dolby_descriptions[] = { N_("Auto"), N_("On"), N_("Off")
"will be centered (0=center, 1=left, 2=right, 4=top, 8=bottom, you can " \
"also use combinations of these values, like 6=4+2 meaning top-right).")
static
int
pi_align_values
[]
=
{
0
,
1
,
2
,
4
,
8
,
5
,
6
,
9
,
10
};
static
char
*
ppsz_align_descriptions
[]
=
static
c
onst
c
har
*
ppsz_align_descriptions
[]
=
{
N_
(
"Center"
),
N_
(
"Left"
),
N_
(
"Right"
),
N_
(
"Top"
),
N_
(
"Bottom"
),
N_
(
"Top-Left"
),
N_
(
"Top-Right"
),
N_
(
"Bottom-Left"
),
N_
(
"Bottom-Right"
)
};
...
...
@@ -419,7 +419,7 @@ static char *ppsz_align_descriptions[] =
"are available in Advanced / Network Sync." )
static
int
pi_clock_values
[]
=
{
-
1
,
0
,
1
};
static
char
*
ppsz_clock_descriptions
[]
=
static
c
onst
c
har
*
ppsz_clock_descriptions
[]
=
{
N_
(
"Default"
),
N_
(
"Disable"
),
N_
(
"Enable"
)
};
#define SERVER_PORT_TEXT N_("UDP port")
...
...
@@ -948,7 +948,7 @@ static int pi_albumart_values[] = { ALBUM_ART_NEVER,
ALBUM_ART_WHEN_ASKED
,
ALBUM_ART_WHEN_PLAYED
,
ALBUM_ART_ALL
};
static
char
*
ppsz_albumart_descriptions
[]
=
static
c
onst
c
har
*
ppsz_albumart_descriptions
[]
=
{
N_
(
"Never download"
),
N_
(
"Download when asked"
),
N_
(
"Download when track starts playing"
),
N_
(
"Download everything ASAP"
)
};
...
...
@@ -989,7 +989,7 @@ static char *ppsz_albumart_descriptions[] =
"contents of a directory. \"Default\" means that the tree will only " \
"be used when really needed." )
static
int
pi_pltree_values
[]
=
{
0
,
1
,
2
};
static
char
*
ppsz_pltree_descriptions
[]
=
{
N_
(
"Default"
),
N_
(
"Always"
),
N_
(
"Never"
)
};
static
c
onst
c
har
*
ppsz_pltree_descriptions
[]
=
{
N_
(
"Default"
),
N_
(
"Always"
),
N_
(
"Never"
)
};
...
...
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