Use logid namespace

This commit is contained in:
PixlOne
2019-10-04 21:56:17 -04:00
parent 295a469505
commit 9272666ffe
13 changed files with 394 additions and 357 deletions
+2 -1
View File
@@ -10,6 +10,7 @@
#include "Configuration.h"
#include "util.h"
using namespace logid;
using namespace libconfig;
Configuration::Configuration(const char *config_file)
@@ -230,7 +231,7 @@ DeviceConfig::DeviceConfig(const libconfig::Setting &root)
}
}
ButtonAction* parse_action(Action type, const Setting* action_config, bool is_gesture)
ButtonAction* logid::parse_action(Action type, const Setting* action_config, bool is_gesture)
{
if(type == Action::None) return new NoAction();
if(type == Action::Keypress)