blob: ecb08bdb4c504db394af9132006b58fc8d6c2959 [file] [log] [blame]
// Copyright 2019 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.
/// A driver for the math engine. This file is the entry point of execution.
#include <fuchsia/examples/calculator/cpp/fidl.h>
#include <lib/async-loop/cpp/loop.h>
#include <lib/async-loop/default.h>
#include "engine_driver.h"
namespace calculator = fuchsia::examples::calculator;
int main() {
async::Loop loop(&kAsyncLoopConfigAttachToCurrentThread);
calculator_engine::Engine app;
fidl::BindingSet<calculator::Calculator> bindings;
loop.Run();
return 0;
}