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
e973801d
Commit
e973801d
authored
Jan 03, 2010
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix struct hotkey
parent
efea0aa7
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
11 additions
and
6 deletions
+11
-6
include/vlc_keys.h
include/vlc_keys.h
+7
-0
include/vlc_main.h
include/vlc_main.h
+3
-6
src/libvlc.c
src/libvlc.c
+1
-0
No files found.
include/vlc_keys.h
View file @
e973801d
...
...
@@ -209,4 +209,11 @@ typedef enum vlc_key {
VLC_EXPORT
(
vlc_key_t
,
vlc_GetActionId
,
(
const
char
*
psz_key
)
)
LIBVLC_USED
;
struct
hotkey
{
const
char
*
psz_action
;
vlc_key_t
i_action
;
uint_fast32_t
i_key
;
};
#endif
include/vlc_main.h
View file @
e973801d
...
...
@@ -28,6 +28,8 @@
TYPEDEF_ARRAY
(
input_item_t
*
,
input_item_array_t
);
struct
hotkey
;
/*****************************************************************************
* libvlc_internal_instance_t
*****************************************************************************
...
...
@@ -38,11 +40,6 @@ struct libvlc_int_t
VLC_COMMON_MEMBERS
/* Structure storing the action name / key associations */
const
struct
hotkey
{
const
char
*
psz_action
;
int
i_action
;
int
i_key
;
}
*
p_hotkeys
;
const
struct
hotkey
*
p_hotkeys
;
};
src/libvlc.c
View file @
e973801d
...
...
@@ -84,6 +84,7 @@
#include <vlc_charset.h>
#include <vlc_cpu.h>
#include <vlc_url.h>
#include <vlc_keys.h>
#include "libvlc.h"
...
...
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