blob: 1a18a7281a3818e14e6992e2e14f69d5728bed5a [file] [log] [blame] [edit]
{{>copyright comment="//"}}
#ifndef {{screaming_snake_case PROJECT_PATH}}_{{screaming_snake_case PROJECT_NAME}}_H_
#define {{screaming_snake_case PROJECT_PATH}}_{{screaming_snake_case PROJECT_NAME}}_H_
#include <lib/async/dispatcher.h>
namespace {{snake_case PROJECT_NAME}} {
// This is the component's main class. It holds all of the component's state.
class App {
public:
explicit App(async_dispatcher_t* dispatcher);
private:
async_dispatcher_t* dispatcher_;
};
} // namespace {{snake_case PROJECT_NAME}}
#endif // {{screaming_snake_case PROJECT_PATH}}_{{screaming_snake_case PROJECT_NAME}}_H_