blob: 3ea393125b149b64ad43c401e3ef46adc528c082 [file] [log] [blame]
// Copyright 2018 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 GARNET_BIN_A11Y_A11Y_MANAGER_APP_H_
#define GARNET_BIN_A11Y_A11Y_MANAGER_APP_H_
#include <memory>
#include <fuchsia/accessibility/cpp/fidl.h>
#include <fuchsia/sys/cpp/fidl.h>
#include "garnet/bin/a11y/a11y_manager/manager_impl.h"
#include "garnet/bin/a11y/a11y_manager/semantic_tree.h"
#include "garnet/bin/a11y/a11y_manager/toggler_impl.h"
#include "lib/component/cpp/startup_context.h"
#include "lib/fidl/cpp/binding_set.h"
#include "lib/fxl/logging.h"
#include "lib/fxl/macros.h"
namespace a11y_manager {
// A11y manager application entry point.
class App {
public:
App();
~App() = default;
private:
std::unique_ptr<component::StartupContext> startup_context_;
std::unique_ptr<SemanticTree> semantic_tree_;
std::unique_ptr<ManagerImpl> a11y_manager_;
std::unique_ptr<TogglerImpl> toggler_impl_;
FXL_DISALLOW_COPY_AND_ASSIGN(App);
};
} // namespace a11y_manager
#endif // GARNET_BIN_A11Y_A11Y_MANAGER_APP_H_