1 // Copyright 2013 The Chromium Authors. All rights reserved. 2 // Use of this source code is governed by a BSD-style license that can be 3 // found in the LICENSE file. 4 5 module math { 6 7 [Peer=CalculatorUI] 8 interface Calculator { 9 void Clear() @0; 10 void Add(double value @0) @1; 11 void Multiply(double value @0) @2; 12 }; 13 14 [Peer=Calculator] 15 interface CalculatorUI { 16 void Output(double value @0) @0; 17 }; 18 19 } 20