From 9463850c2471dac67b571f5343cd5307cc0d6d54 Mon Sep 17 00:00:00 2001 From: Romain Vimont Date: Sun, 15 Sep 2019 16:27:37 +0200 Subject: [PATCH] Rename "convert.h" to "event_converter.h" The filename gave no hint about what was converted. --- app/meson.build | 2 +- app/src/{convert.c => event_converter.c} | 2 +- app/src/{convert.h => event_converter.h} | 0 app/src/input_manager.c | 2 +- 4 files changed, 3 insertions(+), 3 deletions(-) rename app/src/{convert.c => event_converter.c} (99%) rename app/src/{convert.h => event_converter.h} (100%) diff --git a/app/meson.build b/app/meson.build index 3410c2d3..ccd05fee 100644 --- a/app/meson.build +++ b/app/meson.build @@ -3,10 +3,10 @@ src = [ 'src/command.c', 'src/control_msg.c', 'src/controller.c', - 'src/convert.c', 'src/decoder.c', 'src/device.c', 'src/device_msg.c', + 'src/event_converter.c', 'src/file_handler.c', 'src/fps_counter.c', 'src/input_manager.c', diff --git a/app/src/convert.c b/app/src/event_converter.c similarity index 99% rename from app/src/convert.c rename to app/src/event_converter.c index adf6d400..17351645 100644 --- a/app/src/convert.c +++ b/app/src/event_converter.c @@ -1,4 +1,4 @@ -#include "convert.h" +#include "event_converter.h" #define MAP(FROM, TO) case FROM: *to = TO; return true #define FAIL default: return false diff --git a/app/src/convert.h b/app/src/event_converter.h similarity index 100% rename from app/src/convert.h rename to app/src/event_converter.h diff --git a/app/src/input_manager.c b/app/src/input_manager.c index 5258beda..506c5798 100644 --- a/app/src/input_manager.c +++ b/app/src/input_manager.c @@ -1,7 +1,7 @@ #include "input_manager.h" #include -#include "convert.h" +#include "event_converter.h" #include "lock_util.h" #include "log.h"