blob: 8c7a1e7dd1f8e6d3ea6ff52a5d21ab0234dde2db [file] [log] [blame] [edit]
{{>copyright comment="//"}}
#include "{{PROJECT_PATH}}/{{snake_case PROJECT_NAME}}.h"
#include <lib/async/cpp/task.h>
#include <lib/syslog/cpp/macros.h>
namespace {{snake_case PROJECT_NAME}} {
App::App(async_dispatcher_t* dispatcher) : dispatcher_(dispatcher) {
async::PostTask(dispatcher_, [] { FX_LOGS(INFO) << "Hello, Fuchsia! I'm {{snake_case PROJECT_NAME}}."; });
}
} // namespace {{snake_case PROJECT_NAME}}