blob: 20128d5b9588ee7139cb90c4939ab2357a4213a6 [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 <lib/async-loop/cpp/loop.h>
#include <lib/async-loop/default.h>
#include <samples/examples/calculator/cpp/fidl.h>
#include "engine_driver.h"
namespace calculator = samples::examples::calculator;
int main() {
async::Loop loop(&kAsyncLoopConfigAttachToCurrentThread);
calculator_engine::Engine app;
fidl::BindingSet<calculator::Calculator> bindings;
loop.Run();
return 0;
}