Handout
This commit is contained in:
6
user/app2/kappl.cc
Normal file
6
user/app2/kappl.cc
Normal file
@@ -0,0 +1,6 @@
|
||||
// vim: set noet ts=4 sw=4:
|
||||
|
||||
#include "./kappl.h"
|
||||
|
||||
void KeyboardApplication::action() { // NOLINT
|
||||
}
|
||||
29
user/app2/kappl.h
Normal file
29
user/app2/kappl.h
Normal file
@@ -0,0 +1,29 @@
|
||||
// vim: set noet ts=4 sw=4:
|
||||
|
||||
/*! \file
|
||||
* \brief Enthält die Klasse KeyboardApplication
|
||||
*/
|
||||
|
||||
#pragma once
|
||||
#include "../../types.h"
|
||||
|
||||
/*! \brief Keyboard Application
|
||||
*
|
||||
* \todo(16) Use the keyboard semaphore and buffer in \ref Vault
|
||||
*/
|
||||
class KeyboardApplication {
|
||||
// Prevent copies and assignments
|
||||
KeyboardApplication(const KeyboardApplication&) = delete;
|
||||
KeyboardApplication& operator=(const KeyboardApplication&) = delete;
|
||||
|
||||
public:
|
||||
/*! \brief Constructor
|
||||
*
|
||||
* \todo(14) Implement Constructor
|
||||
*/
|
||||
|
||||
/*! \brief Contains the application code.
|
||||
*
|
||||
*/
|
||||
void action();
|
||||
};
|
||||
Reference in New Issue
Block a user