[vlc-commits] core: rename vlc_keys.h to vlc_actions.h
Thomas Guillem
git at videolan.org
Wed Aug 9 10:54:48 CEST 2017
vlc | branch: master | Thomas Guillem <thomas at gllm.fr> | Thu Aug 3 15:10:35 2017 +0200| [c0d287e72f70d618b97d97b32fc2a091b921bb2b] | committer: Hugo Beauzée-Luyssen
core: rename vlc_keys.h to vlc_actions.h
Signed-off-by: Hugo Beauzée-Luyssen <hugo at beauzee.fr>
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=c0d287e72f70d618b97d97b32fc2a091b921bb2b
---
include/{vlc_keys.h => vlc_actions.h} | 8 ++++----
include/vlc_vout_display.h | 2 +-
lib/media_player.c | 2 +-
modules/audio_filter/channel_mixer/spatialaudio.cpp | 1 -
modules/control/globalhotkeys/win32.c | 2 +-
modules/control/globalhotkeys/xcb.c | 2 +-
modules/control/hotkeys.c | 2 +-
modules/control/lirc.c | 2 +-
modules/control/oldrc.c | 2 +-
modules/demux/mkv/demux.cpp | 2 +-
modules/gui/macosx/VLCCoreInteraction.m | 2 +-
modules/gui/macosx/VLCMain.m | 2 +-
modules/gui/macosx/VLCPlaylist.m | 2 +-
modules/gui/macosx/VLCSimplePrefsController.m | 2 +-
modules/gui/macosx/VLCStringUtility.m | 2 +-
modules/gui/macosx/VLCVoutView.m | 2 +-
modules/gui/macosx/misc.m | 2 +-
modules/gui/macosx/prefs.m | 2 +-
modules/gui/macosx/prefs_widgets.m | 2 +-
modules/gui/qt/actions_manager.cpp | 2 +-
modules/gui/qt/components/preferences_widgets.cpp | 2 +-
modules/gui/qt/input_manager.cpp | 2 +-
modules/gui/qt/main_interface.cpp | 2 +-
modules/gui/qt/util/customwidgets.cpp | 2 +-
modules/gui/skins2/controls/ctrl_list.cpp | 2 +-
modules/gui/skins2/controls/ctrl_tree.cpp | 2 +-
modules/gui/skins2/events/evt_input.cpp | 2 +-
modules/gui/skins2/events/evt_key.cpp | 2 +-
modules/gui/skins2/events/evt_key.hpp | 2 +-
modules/gui/skins2/os2/os2_loop.cpp | 2 +-
modules/gui/skins2/src/top_window.cpp | 2 +-
modules/gui/skins2/src/vout_manager.hpp | 2 +-
modules/gui/skins2/src/vout_window.cpp | 2 +-
modules/gui/skins2/win32/win32_loop.cpp | 2 +-
modules/gui/skins2/x11/x11_loop.cpp | 2 +-
modules/lua/libs/misc.c | 2 +-
modules/spu/remoteosd.c | 3 ++-
modules/video_output/win32/win32touch.c | 2 +-
modules/video_output/xcb/keys.c | 2 +-
po/POTFILES.in | 4 ++--
src/Makefile.am | 4 ++--
src/config/cmdline.c | 2 +-
src/config/core.c | 2 +-
src/config/file.c | 2 +-
src/libvlc-module.c | 2 +-
src/{config/keys.c => misc/actions.c} | 8 ++++----
46 files changed, 54 insertions(+), 54 deletions(-)
diff --git a/include/vlc_keys.h b/include/vlc_actions.h
similarity index 98%
rename from include/vlc_keys.h
rename to include/vlc_actions.h
index 3744af099d..c3f4172617 100644
--- a/include/vlc_keys.h
+++ b/include/vlc_actions.h
@@ -1,7 +1,7 @@
/*****************************************************************************
- * vlc_keys.h: keycode defines
+ * vlc_actions.h: handle vlc actions
*****************************************************************************
- * Copyright (C) 2003-2009 VLC authors and VideoLAN
+ * Copyright (C) 2003-2016 VLC authors and VideoLAN
* $Id$
*
* Authors: Sigmund Augdal Helberg <dnumgis at videolan.org>
@@ -21,8 +21,8 @@
* Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
*****************************************************************************/
-#ifndef VLC_KEYS_H
-#define VLC_KEYS_H 1
+#ifndef VLC_ACTIONS_H
+#define VLC_ACTIONS_H 1
/**
* \file
diff --git a/include/vlc_vout_display.h b/include/vlc_vout_display.h
index 23f7c0b4e4..e612bac48c 100644
--- a/include/vlc_vout_display.h
+++ b/include/vlc_vout_display.h
@@ -28,7 +28,7 @@
#include <vlc_picture.h>
#include <vlc_picture_pool.h>
#include <vlc_subpicture.h>
-#include <vlc_keys.h>
+#include <vlc_actions.h>
#include <vlc_mouse.h>
#include <vlc_vout.h>
#include <vlc_vout_window.h>
diff --git a/lib/media_player.c b/lib/media_player.c
index 45ce1c44fa..65632952c2 100644
--- a/lib/media_player.c
+++ b/lib/media_player.c
@@ -35,7 +35,7 @@
#include <vlc_input.h>
#include <vlc_vout.h>
#include <vlc_aout.h>
-#include <vlc_keys.h>
+#include <vlc_actions.h>
#include "libvlc_internal.h"
#include "media_internal.h" // libvlc_media_set_state()
diff --git a/modules/audio_filter/channel_mixer/spatialaudio.cpp b/modules/audio_filter/channel_mixer/spatialaudio.cpp
index 4ac8555b27..59d2c6336d 100644
--- a/modules/audio_filter/channel_mixer/spatialaudio.cpp
+++ b/modules/audio_filter/channel_mixer/spatialaudio.cpp
@@ -35,7 +35,6 @@
#include <vlc_aout.h>
#include <vlc_filter.h>
#include <vlc_viewpoint.h>
-#include <vlc_keys.h>
#include <new>
#include <vector>
diff --git a/modules/control/globalhotkeys/win32.c b/modules/control/globalhotkeys/win32.c
index 15d4714c44..56a28b517f 100644
--- a/modules/control/globalhotkeys/win32.c
+++ b/modules/control/globalhotkeys/win32.c
@@ -30,7 +30,7 @@
#include <vlc_common.h>
#include <vlc_plugin.h>
#include <vlc_interface.h>
-#include <vlc_keys.h>
+#include <vlc_actions.h>
/*****************************************************************************
* Local prototypes
diff --git a/modules/control/globalhotkeys/xcb.c b/modules/control/globalhotkeys/xcb.c
index aceb3cbeda..d4c335d98b 100644
--- a/modules/control/globalhotkeys/xcb.c
+++ b/modules/control/globalhotkeys/xcb.c
@@ -27,7 +27,7 @@
#include <vlc_common.h>
#include <vlc_plugin.h>
#include <vlc_interface.h>
-#include <vlc_keys.h>
+#include <vlc_actions.h>
#include <errno.h>
#include <xcb/xcb.h>
diff --git a/modules/control/hotkeys.c b/modules/control/hotkeys.c
index 195bb2265f..26520bd59c 100644
--- a/modules/control/hotkeys.c
+++ b/modules/control/hotkeys.c
@@ -39,7 +39,7 @@
#include <vlc_viewpoint.h>
#include <vlc_vout_osd.h>
#include <vlc_playlist.h>
-#include <vlc_keys.h>
+#include <vlc_actions.h>
#include "math.h"
#include <assert.h>
diff --git a/modules/control/lirc.c b/modules/control/lirc.c
index b27ef9d36d..7352c5eed8 100644
--- a/modules/control/lirc.c
+++ b/modules/control/lirc.c
@@ -36,7 +36,7 @@
#include <vlc_common.h>
#include <vlc_plugin.h>
#include <vlc_interface.h>
-#include <vlc_keys.h>
+#include <vlc_actions.h>
#ifdef HAVE_POLL
# include <poll.h>
diff --git a/modules/control/oldrc.c b/modules/control/oldrc.c
index b09a11c33d..150e4b0723 100644
--- a/modules/control/oldrc.c
+++ b/modules/control/oldrc.c
@@ -43,7 +43,7 @@
#include <vlc_aout.h>
#include <vlc_vout.h>
#include <vlc_playlist.h>
-#include <vlc_keys.h>
+#include <vlc_actions.h>
#include <sys/types.h>
#include <unistd.h>
diff --git a/modules/demux/mkv/demux.cpp b/modules/demux/mkv/demux.cpp
index 56248e8f30..97be3fde04 100644
--- a/modules/demux/mkv/demux.cpp
+++ b/modules/demux/mkv/demux.cpp
@@ -27,7 +27,7 @@
#include "stream_io_callback.hpp"
#include "Ebml_parser.hpp"
-#include <vlc_keys.h>
+#include <vlc_actions.h>
event_thread_t::event_thread_t(demux_t *p_demux) : p_demux(p_demux)
{
diff --git a/modules/gui/macosx/VLCCoreInteraction.m b/modules/gui/macosx/VLCCoreInteraction.m
index deeeca92e8..ab78b045da 100644
--- a/modules/gui/macosx/VLCCoreInteraction.m
+++ b/modules/gui/macosx/VLCCoreInteraction.m
@@ -28,7 +28,7 @@
#import <math.h>
#import <vlc_playlist.h>
#import <vlc_input.h>
-#import <vlc_keys.h>
+#import <vlc_actions.h>
#import <vlc_vout.h>
#import <vlc_vout_osd.h>
#import <vlc/vlc.h>
diff --git a/modules/gui/macosx/VLCMain.m b/modules/gui/macosx/VLCMain.m
index 6b4a4d2a54..43c8849534 100644
--- a/modules/gui/macosx/VLCMain.m
+++ b/modules/gui/macosx/VLCMain.m
@@ -37,7 +37,7 @@
#include <string.h>
#include <vlc_common.h>
#include <vlc_atomic.h>
-#include <vlc_keys.h>
+#include <vlc_actions.h>
#include <vlc_dialog.h>
#include <vlc_url.h>
#include <vlc_variables.h>
diff --git a/modules/gui/macosx/VLCPlaylist.m b/modules/gui/macosx/VLCPlaylist.m
index 9d1c54d810..abd6cdea99 100644
--- a/modules/gui/macosx/VLCPlaylist.m
+++ b/modules/gui/macosx/VLCPlaylist.m
@@ -48,7 +48,7 @@
#import "VLCResumeDialogController.h"
#import "VLCOpenWindowController.h"
-#include <vlc_keys.h>
+#include <vlc_actions.h>
#import <vlc_interface.h>
#include <vlc_url.h>
diff --git a/modules/gui/macosx/VLCSimplePrefsController.m b/modules/gui/macosx/VLCSimplePrefsController.m
index d9d2e2f383..422dbda94a 100644
--- a/modules/gui/macosx/VLCSimplePrefsController.m
+++ b/modules/gui/macosx/VLCSimplePrefsController.m
@@ -27,7 +27,7 @@
#import "CompatibilityFixes.h"
#import "VLCSimplePrefsController.h"
#import "prefs.h"
-#import <vlc_keys.h>
+#import <vlc_actions.h>
#import <vlc_interface.h>
#import <vlc_dialog.h>
#import <vlc_modules.h>
diff --git a/modules/gui/macosx/VLCStringUtility.m b/modules/gui/macosx/VLCStringUtility.m
index 16b80ebb10..742e045ba6 100644
--- a/modules/gui/macosx/VLCStringUtility.m
+++ b/modules/gui/macosx/VLCStringUtility.m
@@ -43,7 +43,7 @@ NSString *const kVLCMediaVideoTSFolder = @"VIDEO_TS";
NSString *const kVLCMediaBDMVFolder = @"BDMV";
NSString *const kVLCMediaUnknown = @"Unknown";
-#import <vlc_keys.h>
+#import <vlc_actions.h>
#import <vlc_strings.h>
@implementation VLCStringUtility
diff --git a/modules/gui/macosx/VLCVoutView.m b/modules/gui/macosx/VLCVoutView.m
index 2c40cdf4ce..505402801b 100644
--- a/modules/gui/macosx/VLCVoutView.m
+++ b/modules/gui/macosx/VLCVoutView.m
@@ -39,7 +39,7 @@
#import <QuartzCore/QuartzCore.h>
-#import <vlc_keys.h>
+#import <vlc_actions.h>
/*****************************************************************************
diff --git a/modules/gui/macosx/misc.m b/modules/gui/macosx/misc.m
index 7d379a5d5b..acffad80bb 100644
--- a/modules/gui/macosx/misc.m
+++ b/modules/gui/macosx/misc.m
@@ -29,7 +29,7 @@
#import "VLCMainMenu.h"
#import "VLCControlsBarCommon.h"
#import "VLCCoreInteraction.h"
-#import <vlc_keys.h>
+#import <vlc_actions.h>
/*****************************************************************************
* VLCDragDropView
diff --git a/modules/gui/macosx/prefs.m b/modules/gui/macosx/prefs.m
index b984b9e3ad..c8d20b7ecf 100644
--- a/modules/gui/macosx/prefs.m
+++ b/modules/gui/macosx/prefs.m
@@ -59,7 +59,7 @@
#import "VLCSimplePrefsController.h"
#import "prefs_widgets.h"
#import "VLCCoreInteraction.h"
-#import <vlc_keys.h>
+#import <vlc_actions.h>
#import <vlc_modules.h>
#import <vlc_plugin.h>
diff --git a/modules/gui/macosx/prefs_widgets.m b/modules/gui/macosx/prefs_widgets.m
index e7dfab789d..8d137af46b 100644
--- a/modules/gui/macosx/prefs_widgets.m
+++ b/modules/gui/macosx/prefs_widgets.m
@@ -35,7 +35,7 @@
#include <vlc_common.h>
#include <vlc_modules.h>
#include <vlc_plugin.h>
-#include <vlc_keys.h>
+#include <vlc_actions.h>
#include "VLCMain.h"
#include "prefs_widgets.h"
diff --git a/modules/gui/qt/actions_manager.cpp b/modules/gui/qt/actions_manager.cpp
index 4f672da077..cc67ff1c0d 100644
--- a/modules/gui/qt/actions_manager.cpp
+++ b/modules/gui/qt/actions_manager.cpp
@@ -26,7 +26,7 @@
#endif
#include <vlc_vout.h>
-#include <vlc_keys.h>
+#include <vlc_actions.h>
#include <vlc_renderer_discovery.h>
#include "actions_manager.hpp"
diff --git a/modules/gui/qt/components/preferences_widgets.cpp b/modules/gui/qt/components/preferences_widgets.cpp
index 709e372cde..1fc21a56d9 100644
--- a/modules/gui/qt/components/preferences_widgets.cpp
+++ b/modules/gui/qt/components/preferences_widgets.cpp
@@ -35,7 +35,7 @@
#include "util/customwidgets.hpp"
#include "util/searchlineedit.hpp"
#include "util/qt_dirs.hpp"
-#include <vlc_keys.h>
+#include <vlc_actions.h>
#include <vlc_intf_strings.h>
#include <vlc_modules.h>
#include <vlc_plugin.h>
diff --git a/modules/gui/qt/input_manager.cpp b/modules/gui/qt/input_manager.cpp
index cf9a0b2512..ede449141f 100644
--- a/modules/gui/qt/input_manager.cpp
+++ b/modules/gui/qt/input_manager.cpp
@@ -30,7 +30,7 @@
#include "input_manager.hpp"
#include "recents.hpp"
-#include <vlc_keys.h> /* ACTION_ID */
+#include <vlc_actions.h> /* ACTION_ID */
#include <vlc_url.h> /* vlc_uri_decode */
#include <vlc_strings.h> /* vlc_strfinput */
#include <vlc_aout.h> /* audio_output_t */
diff --git a/modules/gui/qt/main_interface.cpp b/modules/gui/qt/main_interface.cpp
index bec22ea53c..bddd8c943f 100644
--- a/modules/gui/qt/main_interface.cpp
+++ b/modules/gui/qt/main_interface.cpp
@@ -64,7 +64,7 @@
#include <QTimer>
-#include <vlc_keys.h> /* Wheel event */
+#include <vlc_actions.h> /* Wheel event */
#include <vlc_vout_display.h> /* vout_thread_t and VOUT_ events */
// #define DEBUG_INTF
diff --git a/modules/gui/qt/util/customwidgets.cpp b/modules/gui/qt/util/customwidgets.cpp
index 7ee4ec71e4..61fd89838f 100644
--- a/modules/gui/qt/util/customwidgets.cpp
+++ b/modules/gui/qt/util/customwidgets.cpp
@@ -37,7 +37,7 @@
#include <QWheelEvent>
#include <QPixmap>
#include <QApplication>
-#include <vlc_keys.h>
+#include <vlc_actions.h>
QFramelessButton::QFramelessButton( QWidget *parent )
: QPushButton( parent )
diff --git a/modules/gui/skins2/controls/ctrl_list.cpp b/modules/gui/skins2/controls/ctrl_list.cpp
index 7a5d89da74..c5f7055682 100644
--- a/modules/gui/skins2/controls/ctrl_list.cpp
+++ b/modules/gui/skins2/controls/ctrl_list.cpp
@@ -34,7 +34,7 @@
#include "../events/evt_key.hpp"
#include "../events/evt_mouse.hpp"
#include "../events/evt_scroll.hpp"
-#include <vlc_keys.h>
+#include <vlc_actions.h>
#define SCROLL_STEP 0.05f
#define LINE_INTERVAL 1 // Number of pixels inserted between 2 lines
diff --git a/modules/gui/skins2/controls/ctrl_tree.cpp b/modules/gui/skins2/controls/ctrl_tree.cpp
index 63fe0503c0..f851a25070 100644
--- a/modules/gui/skins2/controls/ctrl_tree.cpp
+++ b/modules/gui/skins2/controls/ctrl_tree.cpp
@@ -39,7 +39,7 @@
#include "../events/evt_scroll.hpp"
#include "../events/evt_dragndrop.hpp"
#include "../vars/playtree.hpp"
-#include <vlc_keys.h>
+#include <vlc_actions.h>
#define LINE_INTERVAL 1 // Number of pixels inserted between 2 lines
diff --git a/modules/gui/skins2/events/evt_input.cpp b/modules/gui/skins2/events/evt_input.cpp
index e18d7be45f..80d299f071 100644
--- a/modules/gui/skins2/events/evt_input.cpp
+++ b/modules/gui/skins2/events/evt_input.cpp
@@ -23,7 +23,7 @@
*****************************************************************************/
#include "evt_input.hpp"
-#include "vlc_keys.h"
+#include "vlc_actions.h"
const int
EvtInput::kModNone=0,
diff --git a/modules/gui/skins2/events/evt_key.cpp b/modules/gui/skins2/events/evt_key.cpp
index 66c80074f1..34ed297aca 100644
--- a/modules/gui/skins2/events/evt_key.cpp
+++ b/modules/gui/skins2/events/evt_key.cpp
@@ -23,7 +23,7 @@
*****************************************************************************/
#include "evt_key.hpp"
-#include <vlc_keys.h>
+#include <vlc_actions.h>
const std::string EvtKey::getAsString() const
diff --git a/modules/gui/skins2/events/evt_key.hpp b/modules/gui/skins2/events/evt_key.hpp
index 8d9477e092..8206ae551b 100644
--- a/modules/gui/skins2/events/evt_key.hpp
+++ b/modules/gui/skins2/events/evt_key.hpp
@@ -49,7 +49,7 @@ public:
ActionType_t getKeyState() const { return m_action; }
private:
- /// The concerned key, stored according to the '#define's in vlc_keys.h
+ /// The concerned key, stored according to the '#define's in vlc_actions.h
/// but without the modifiers (which are stored in EvtInput)
int m_key;
/// Type of action
diff --git a/modules/gui/skins2/os2/os2_loop.cpp b/modules/gui/skins2/os2/os2_loop.cpp
index 57ba6a215e..598718ed63 100644
--- a/modules/gui/skins2/os2/os2_loop.cpp
+++ b/modules/gui/skins2/os2/os2_loop.cpp
@@ -34,7 +34,7 @@
#include "../events/evt_mouse.hpp"
#include "../events/evt_refresh.hpp"
#include "../events/evt_scroll.hpp"
-#include <vlc_keys.h>
+#include <vlc_actions.h>
#define GET_X_MP( mp ) ( SHORT1FROMMP( mp ))
diff --git a/modules/gui/skins2/src/top_window.cpp b/modules/gui/skins2/src/top_window.cpp
index 0e761d06d9..f447457111 100644
--- a/modules/gui/skins2/src/top_window.cpp
+++ b/modules/gui/skins2/src/top_window.cpp
@@ -47,7 +47,7 @@
#include "../utils/position.hpp"
#include "../utils/ustring.hpp"
-#include <vlc_keys.h>
+#include <vlc_actions.h>
#include <vlc_input.h>
#include <vlc_url.h>
#include <list>
diff --git a/modules/gui/skins2/src/vout_manager.hpp b/modules/gui/skins2/src/vout_manager.hpp
index ade94a380b..60c2713aef 100644
--- a/modules/gui/skins2/src/vout_manager.hpp
+++ b/modules/gui/skins2/src/vout_manager.hpp
@@ -28,7 +28,7 @@
#include <vlc_vout.h>
#include <vlc_vout_window.h>
-#include <vlc_keys.h>
+#include <vlc_actions.h>
#include "../utils/position.hpp"
#include "../commands/cmd_generic.hpp"
#include "../controls/ctrl_video.hpp"
diff --git a/modules/gui/skins2/src/vout_window.cpp b/modules/gui/skins2/src/vout_window.cpp
index 9c2bd2d971..e50683f410 100644
--- a/modules/gui/skins2/src/vout_window.cpp
+++ b/modules/gui/skins2/src/vout_window.cpp
@@ -30,7 +30,7 @@
#include "os_window.hpp"
#include "../events/evt_key.hpp"
-#include <vlc_keys.h>
+#include <vlc_actions.h>
VoutWindow::VoutWindow( intf_thread_t *pIntf, vout_window_t* pWnd,
diff --git a/modules/gui/skins2/win32/win32_loop.cpp b/modules/gui/skins2/win32/win32_loop.cpp
index fdd9a0dc05..bbae954d8b 100644
--- a/modules/gui/skins2/win32/win32_loop.cpp
+++ b/modules/gui/skins2/win32/win32_loop.cpp
@@ -34,7 +34,7 @@
#include "../events/evt_mouse.hpp"
#include "../events/evt_refresh.hpp"
#include "../events/evt_scroll.hpp"
-#include <vlc_keys.h>
+#include <vlc_actions.h>
// XXX: Cygwin (at least) doesn't define these macros. Too bad...
diff --git a/modules/gui/skins2/x11/x11_loop.cpp b/modules/gui/skins2/x11/x11_loop.cpp
index d0edf2dcf1..0aa682e0a3 100644
--- a/modules/gui/skins2/x11/x11_loop.cpp
+++ b/modules/gui/skins2/x11/x11_loop.cpp
@@ -42,7 +42,7 @@
#include "../events/evt_scroll.hpp"
#include "../commands/async_queue.hpp"
#include "../utils/var_bool.hpp"
-#include <vlc_keys.h>
+#include <vlc_actions.h>
// Maximum interval between clicks for a double-click (in microsec)
diff --git a/modules/lua/libs/misc.c b/modules/lua/libs/misc.c
index 95d08a7f40..1bc0dcad94 100644
--- a/modules/lua/libs/misc.c
+++ b/modules/lua/libs/misc.c
@@ -40,7 +40,7 @@
#include <vlc_plugin.h>
#include <vlc_meta.h>
#include <vlc_interface.h>
-#include <vlc_keys.h>
+#include <vlc_actions.h>
#include <vlc_interrupt.h>
#include "../vlc.h"
diff --git a/modules/spu/remoteosd.c b/modules/spu/remoteosd.c
index 1e23a3e234..c112de94ec 100644
--- a/modules/spu/remoteosd.c
+++ b/modules/spu/remoteosd.c
@@ -55,7 +55,8 @@
#include <vlc_filter.h>
#include <vlc_mouse.h>
#include <vlc_subpicture.h>
-#include <vlc_keys.h> /* KEY_MODIFIER_CTRL */
+#include <vlc_actions.h> /* KEY_MODIFIER_CTRL */
+
#include <vlc_network.h> /* net_*, htonl */
#include <gcrypt.h> /* to encrypt password */
#include <vlc_gcrypt.h>
diff --git a/modules/video_output/win32/win32touch.c b/modules/video_output/win32/win32touch.c
index 0e0846ae45..72f041b9d0 100644
--- a/modules/video_output/win32/win32touch.c
+++ b/modules/video_output/win32/win32touch.c
@@ -27,7 +27,7 @@
#include "win32touch.h"
-#include <vlc_keys.h>
+#include <vlc_actions.h>
#include <assert.h>
diff --git a/modules/video_output/xcb/keys.c b/modules/video_output/xcb/keys.c
index b97a6799ee..69b514ed57 100644
--- a/modules/video_output/xcb/keys.c
+++ b/modules/video_output/xcb/keys.c
@@ -36,7 +36,7 @@
#include <xcb/xcb_keysyms.h>
#include <X11/keysym.h>
#include <X11/XF86keysym.h>
-#include <vlc_keys.h>
+#include <vlc_actions.h>
struct key_handler_t
{
diff --git a/po/POTFILES.in b/po/POTFILES.in
index 49b0679632..01388cb324 100644
--- a/po/POTFILES.in
+++ b/po/POTFILES.in
@@ -1,5 +1,6 @@
# main sources
include/vlc_access.h
+include/vlc_actions.h
include/vlc_aout.h
include/vlc_arrays.h
include/vlc_bits.h
@@ -26,7 +27,6 @@ include/vlc_image.h
include/vlc_input.h
include/vlc_intf_strings.h
include/vlc_iso_lang.h
-include/vlc_keys.h
include/vlc/libvlc_events.h
include/vlc/libvlc.h
include/vlc/libvlc_media_list.h
@@ -70,7 +70,6 @@ src/config/core.c
src/config/file.c
src/config/help.c
src/config/intf.c
-src/config/keys.c
src/darwin/error.c
src/extras/libc.c
src/extras/tdestroy.c
@@ -100,6 +99,7 @@ src/interface/interface.c
src/libvlc.c
src/libvlc.h
src/libvlc-module.c
+src/misc/actions.c
src/misc/block.c
src/misc/cpu.c
src/misc/error.c
diff --git a/src/Makefile.am b/src/Makefile.am
index 3a23b008d5..512ee10bf7 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -23,6 +23,7 @@ pluginsincludedir = $(pkgincludedir)/plugins
pluginsinclude_HEADERS = \
../include/vlc_access.h \
+ ../include/vlc_actions.h \
../include/vlc_addons.h \
../include/vlc_aout.h \
../include/vlc_aout_volume.h \
@@ -58,7 +59,6 @@ pluginsinclude_HEADERS = \
../include/vlc_input.h \
../include/vlc_input_item.h \
../include/vlc_interface.h \
- ../include/vlc_keys.h \
../include/vlc_keystore.h \
../include/vlc_main.h \
../include/vlc_md5.h \
@@ -195,7 +195,6 @@ libvlccore_la_SOURCES = \
config/file.c \
config/help.c \
config/intf.c \
- config/keys.c \
config/cmdline.c \
config/getopt.c \
config/vlc_getopt.h \
@@ -310,6 +309,7 @@ libvlccore_la_SOURCES = \
text/filesystem.c \
text/iso_lang.c \
text/iso-639_def.h \
+ misc/actions.c \
misc/background_worker.c \
misc/background_worker.h \
misc/md5.c \
diff --git a/src/config/cmdline.c b/src/config/cmdline.c
index 748ee5c7fe..882f22479b 100644
--- a/src/config/cmdline.c
+++ b/src/config/cmdline.c
@@ -27,7 +27,7 @@
#include <vlc_common.h>
#include "../libvlc.h"
-#include <vlc_keys.h>
+#include <vlc_actions.h>
#include <vlc_charset.h>
#include <vlc_modules.h>
#include <vlc_plugin.h>
diff --git a/src/config/core.c b/src/config/core.c
index 88f2a5fb05..4b93834a97 100644
--- a/src/config/core.c
+++ b/src/config/core.c
@@ -26,7 +26,7 @@
#endif
#include <vlc_common.h>
-#include <vlc_keys.h>
+#include <vlc_actions.h>
#include <vlc_modules.h>
#include <vlc_plugin.h>
diff --git a/src/config/file.c b/src/config/file.c
index b73839fb4d..6270a6bc9d 100644
--- a/src/config/file.c
+++ b/src/config/file.c
@@ -41,7 +41,7 @@
#include "../libvlc.h"
#include <vlc_charset.h>
#include <vlc_fs.h>
-#include <vlc_keys.h>
+#include <vlc_actions.h>
#include <vlc_modules.h>
#include <vlc_plugin.h>
diff --git a/src/libvlc-module.c b/src/libvlc-module.c
index cc25c94c26..d819e75672 100644
--- a/src/libvlc-module.c
+++ b/src/libvlc-module.c
@@ -39,7 +39,7 @@
#include "modules/modules.h"
//#define Nothing here, this is just to prevent update-po from being stupid
-#include "vlc_keys.h"
+#include "vlc_actions.h"
#include "vlc_meta.h"
#include <vlc_aout.h>
diff --git a/src/config/keys.c b/src/misc/actions.c
similarity index 99%
rename from src/config/keys.c
rename to src/misc/actions.c
index 460ca64e65..968a085a0b 100644
--- a/src/config/keys.c
+++ b/src/misc/actions.c
@@ -1,7 +1,7 @@
/*****************************************************************************
- * keys.c: keys configuration
+ * actions.c: handle vlc actions
*****************************************************************************
- * Copyright (C) 2003-2009 VLC authors and VideoLAN
+ * Copyright (C) 2003-2016 VLC authors and VideoLAN
*
* Authors: Sigmund Augdal Helberg <dnumgis at videolan.org>
*
@@ -41,9 +41,9 @@
#include <errno.h>
#include <vlc_common.h>
-#include <vlc_keys.h>
+#include <vlc_actions.h>
#include <vlc_charset.h>
-#include "configuration.h"
+#include "config/configuration.h"
#include "libvlc.h"
typedef struct key_descriptor_s
More information about the vlc-commits
mailing list