mirror of
https://gitlab.com/wirelos/sprocket-lib.git
synced 2025-12-16 21:34:08 +01:00
pass scheduler to app
This commit is contained in:
28
src/App.h
Normal file
28
src/App.h
Normal file
@@ -0,0 +1,28 @@
|
||||
#ifndef _APP_H_
|
||||
#define _APP_H_
|
||||
|
||||
#include <TaskSchedulerDeclarations.h>
|
||||
//#include "Sprocket.h"
|
||||
#include "AppStack.h"
|
||||
|
||||
/* template <class T>
|
||||
class App {
|
||||
private:
|
||||
T* stack;
|
||||
public:
|
||||
App();
|
||||
App(T* stack);
|
||||
};
|
||||
*/
|
||||
|
||||
class App {
|
||||
protected:
|
||||
//Sprocket* sprocket;
|
||||
public:
|
||||
/* App(Sprocket* sprkt){
|
||||
sprocket = sprkt;
|
||||
} */
|
||||
virtual void activate(Scheduler* scheduler);
|
||||
};
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user