This commit is contained in:
Niklas Gollenstede
2025-10-31 22:37:36 +01:00
commit 174fe17e89
197 changed files with 79558 additions and 0 deletions

32
kernel/user/app1/appl.h Normal file
View File

@@ -0,0 +1,32 @@
// vim: set noet ts=4 sw=4:
/*! \file
* \brief Enthält die Klasse Application
*/
#pragma once
#include "../../thread/thread.h"
#include "../../types.h"
//! \brief Test application
//!
//! \note Any class derived from Thread defines an application for StuBS.
//!
class Application : public Thread {
// Prevent copies and assignments
Application(const Application&) = delete;
Application& operator=(const Application&) = delete;
public:
Application(Application&&) = delete;
/*! \brief Constructor
*
*/
Application() {}
/*! \brief Contains the application code.
*
*/
void action() override;
};