blob: d3e7b75a9c0b54b84176438c0e073ee2171a7c4b [file] [log] [blame]
// Copyright 2015 The Vanadium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
[JavaPackage="org.chromium.mojo.examples.fortune"]
module mojo.examples;
enum Result {
A,
B
};
union outArgTypes {
int64 i64;
Result res;
};
struct aInArg {
string str;
};
[ServiceName="mojo::examples::RemoteEcho"]
interface RemoteEcho {
EchoString(string value) => (string value);
EchoX(array<bool> arg1, aInArg arg2) => (outArgTypes out);
};