still great refactor
This commit is contained in:
28
FlippR-Driver/src/output/DisplayBoardPinController.h
Normal file
28
FlippR-Driver/src/output/DisplayBoardPinController.h
Normal file
@@ -0,0 +1,28 @@
|
||||
//
|
||||
// Created by rhetenor on 14.12.18.
|
||||
//
|
||||
|
||||
#ifndef FLIPPR_DRIVER_DISPLAYPINCONTROLLER_H
|
||||
#define FLIPPR_DRIVER_DISPLAYPINCONTROLLER_H
|
||||
|
||||
#include "items/IDisplay.h"
|
||||
|
||||
namespace flippR_driver
|
||||
{
|
||||
namespace output
|
||||
{
|
||||
|
||||
class DisplayBoardPinController
|
||||
{
|
||||
public:
|
||||
virtual ~DisplayBoardPinController() = default;
|
||||
|
||||
virtual void activate_displays() = 0;
|
||||
virtual void deactivate_displays() = 0;
|
||||
|
||||
virtual void write_display(items::IDisplay &display) = 0;
|
||||
};
|
||||
|
||||
}
|
||||
}
|
||||
#endif //FLIPPR_DRIVER_DISPLAYPINCONTROLLER_H
|
||||
Reference in New Issue
Block a user