This commit is contained in:
Jonas Zeunert
2018-09-20 20:10:30 +02:00
parent 7962ff756e
commit 6daa369006
3 changed files with 33 additions and 28 deletions

View File

@@ -5,7 +5,7 @@
#include "PrintHandler.h"
#include <iostream>
PrintHandler::PrintHandler(std::shared_ptr<Input::IInputDriver> driver) :
PrintHandler::PrintHandler(std::shared_ptr<FlippR_Driver::Input::IInputDriver> driver) :
EventHandler(driver)
{}

View File

@@ -5,12 +5,13 @@
#ifndef FLIPPR_DRIVER_PRINTHANDLER_H
#define FLIPPR_DRIVER_PRINTHANDLER_H
#include <memory>
#include "IEventHandler.h"
class PrintHandler : public IEventHandler
{
public:
PrintHandler(std::shared_ptr<Input::IInputDriver> driver);
PrintHandler(std::shared_ptr<FlippR_Driver::Input::IInputDriver> driver);
virtual void handle(FlippR_Driver::Input::Event& event) override;
};