Handout
This commit is contained in:
6
user/app1/appl.cc
Normal file
6
user/app1/appl.cc
Normal file
@@ -0,0 +1,6 @@
|
||||
// vim: set noet ts=4 sw=4:
|
||||
|
||||
#include "appl.h"
|
||||
|
||||
void Application::action() { // NOLINT
|
||||
}
|
||||
33
user/app1/appl.h
Normal file
33
user/app1/appl.h
Normal file
@@ -0,0 +1,33 @@
|
||||
// vim: set noet ts=4 sw=4:
|
||||
|
||||
/*! \file
|
||||
* \brief Enthält die Klasse Application
|
||||
*/
|
||||
|
||||
#pragma once
|
||||
#include "../../types.h"
|
||||
|
||||
//! \brief Test application
|
||||
//!
|
||||
//! \todo(12) Create a test application
|
||||
//! \todo(14) Application should inherit from \ref Thread
|
||||
//! \todo(16) Make some noise using the \ref PIT::pcspeaker "PC Speaker"
|
||||
class Application {
|
||||
// Prevent copies and assignments
|
||||
Application(const Application&) = delete;
|
||||
Application& operator=(const Application&) = delete;
|
||||
|
||||
public:
|
||||
Application(Application&&) = default; // XXX: is this used anywhere?
|
||||
|
||||
/*! \brief Constructor
|
||||
*
|
||||
* \todo(14) Implement Constructor
|
||||
*/
|
||||
|
||||
/*! \brief Contains the application code.
|
||||
*
|
||||
* \todo(14) Implement Method
|
||||
*/
|
||||
void action();
|
||||
};
|
||||
Reference in New Issue
Block a user