refactored everything
This commit is contained in:
@@ -2,17 +2,17 @@
|
||||
// Created by rhetenor on 13.09.18.
|
||||
//
|
||||
|
||||
#ifndef FLIPPR_DRIVER_DRIVERFACTORY_H
|
||||
#define FLIPPR_DRIVER_DRIVERFACTORY_H
|
||||
#ifndef flippR_driver_DRIVERFACTORY_H
|
||||
#define flippR_driver_DRIVERFACTORY_H
|
||||
|
||||
#include <fstream>
|
||||
#include <memory>
|
||||
|
||||
#include "IInputDriver.h"
|
||||
|
||||
namespace FlippR_Driver
|
||||
namespace flippR_driver
|
||||
{
|
||||
std::shared_ptr<Input::IInputDriver> get_InputDriver(std::istream& input_config_stream, std::istream& matrix_config_stream);
|
||||
std::shared_ptr<input::IInputDriver> get_InputDriver(std::istream& input_config_stream, std::istream& matrix_config_stream);
|
||||
}
|
||||
|
||||
#endif //FLIPPR_DRIVER_DRIVERFACTORY_H
|
||||
#endif //flippR_driver_DRIVERFACTORY_H
|
||||
|
||||
@@ -12,8 +12,8 @@
|
||||
#include <string>
|
||||
#include <chrono>
|
||||
|
||||
namespace FlippR_Driver {
|
||||
namespace Input {
|
||||
namespace flippR_driver {
|
||||
namespace input {
|
||||
|
||||
class Event {
|
||||
public:
|
||||
|
||||
@@ -17,9 +17,9 @@
|
||||
#include "IEventHandler.h"
|
||||
#include "Event.h"
|
||||
|
||||
namespace FlippR_Driver
|
||||
namespace flippR_driver
|
||||
{
|
||||
namespace Input
|
||||
namespace input
|
||||
{
|
||||
class EventHandler;
|
||||
|
||||
|
||||
@@ -15,7 +15,7 @@ class IEventHandler
|
||||
public:
|
||||
virtual ~IEventHandler(){};
|
||||
|
||||
virtual void handle(FlippR_Driver::Input::Event& event) = 0;
|
||||
virtual void handle(flippR_driver::input::Event& event) = 0;
|
||||
};
|
||||
|
||||
#endif /* SRC_IEVENTHANDLER_H_ */
|
||||
|
||||
@@ -11,9 +11,9 @@
|
||||
#include "IEventHandler.h"
|
||||
#include <memory>
|
||||
|
||||
namespace FlippR_Driver
|
||||
namespace flippR_driver
|
||||
{
|
||||
namespace Input
|
||||
namespace input
|
||||
{
|
||||
class IInputDriver {
|
||||
public:
|
||||
|
||||
Reference in New Issue
Block a user