blob: 085d18c7556832567d08c02096fc0d3723c96362 [file] [log] [blame]
// Copyright 2020 The Fuchsia Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef TOOLS_CREATE_GOLDENS_MY_COMPONENT_V2_CPP_MY_COMPONENT_V2_CPP_H_
#define TOOLS_CREATE_GOLDENS_MY_COMPONENT_V2_CPP_MY_COMPONENT_V2_CPP_H_
#include <lib/async/dispatcher.h>
namespace my_component_v2_cpp {
// 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 my_component_v2_cpp
#endif // TOOLS_CREATE_GOLDENS_MY_COMPONENT_V2_CPP_MY_COMPONENT_V2_CPP_H_