michael@0: /* -*- Mode: c++; c-basic-offset: 2; indent-tabs-mode: nil; tab-width: 40 -*- */ michael@0: /* vim: set ts=2 et sw=2 tw=80: */ michael@0: /* This Source Code Form is subject to the terms of the Mozilla Public michael@0: * License, v. 2.0. If a copy of the MPL was not distributed with this file, michael@0: * You can obtain one at http://mozilla.org/MPL/2.0/. */ michael@0: michael@0: include protocol PTelephony; michael@0: include TelephonyTypes; michael@0: michael@0: namespace mozilla { michael@0: namespace dom { michael@0: namespace telephony { michael@0: michael@0: struct EnumerateCallsResponse michael@0: { michael@0: // empty. michael@0: }; michael@0: michael@0: struct DialResponse michael@0: { michael@0: // empty. michael@0: }; michael@0: michael@0: union IPCTelephonyResponse michael@0: { michael@0: EnumerateCallsResponse; michael@0: DialResponse; michael@0: }; michael@0: michael@0: protocol PTelephonyRequest michael@0: { michael@0: manager PTelephony; michael@0: michael@0: child: michael@0: NotifyEnumerateCallState(uint32_t aClientId, IPCCallStateData aData); michael@0: michael@0: NotifyDialError(nsString aError); michael@0: michael@0: NotifyDialSuccess(); michael@0: michael@0: /** michael@0: * Sent when the asynchronous request has completed. michael@0: */ michael@0: __delete__(IPCTelephonyResponse aResponse); michael@0: }; michael@0: michael@0: } /* namespace telephony */ michael@0: } /* namespace dom */ michael@0: } /* namespace mozilla */