//
// Automatically generated by ipdlc.
// Edit at your own risk
//

#ifndef PSpeechSynthesisRequest_h
#define PSpeechSynthesisRequest_h

#include "mozilla/Attributes.h"
#include "IPCMessageStart.h"
#include "mozilla/RefPtr.h"
#include "nsString.h"
#include "nsTArray.h"
#include "nsTHashtable.h"
#include "mozilla/MozPromise.h"
#include "mozilla/OperatorNewExtensions.h"
#include "mozilla/UniquePtr.h"
#include "mozilla/ipc/ByteBuf.h"
#include "mozilla/ipc/FileDescriptor.h"
#include "mozilla/ipc/IPCForwards.h"
#include "mozilla/ipc/Shmem.h"

namespace mozilla {
namespace dom {
class PSpeechSynthesisRequestParent;
} // namespace dom
} // namespace mozilla
namespace mozilla {
namespace dom {
class PSpeechSynthesisRequestChild;
} // namespace dom
} // namespace mozilla

//-----------------------------------------------------------------------------
// Code common to PSpeechSynthesisRequestChild and PSpeechSynthesisRequestParent
//
namespace mozilla {
namespace dom {
namespace PSpeechSynthesisRequest {

nsresult
CreateEndpoints(
        mozilla::ipc::EndpointProcInfo aParentDestInfo,
        mozilla::ipc::EndpointProcInfo aChildDestInfo,
        mozilla::ipc::Endpoint<::mozilla::dom::PSpeechSynthesisRequestParent>* aParent,
        mozilla::ipc::Endpoint<::mozilla::dom::PSpeechSynthesisRequestChild>* aChild);

enum MessageType {
    PSpeechSynthesisRequestStart = PSpeechSynthesisRequestMsgStart << 16,
    Msg___delete____ID,
    Reply___delete____ID,
    Msg_Pause__ID,
    Msg_Resume__ID,
    Msg_Cancel__ID,
    Msg_ForceEnd__ID,
    Msg_SetAudioOutputVolume__ID,
    Msg_OnEnd__ID,
    Msg_OnStart__ID,
    Msg_OnPause__ID,
    Msg_OnResume__ID,
    Msg_OnBoundary__ID,
    Msg_OnMark__ID,
    PSpeechSynthesisRequestEnd
};

mozilla::UniquePtr<IPC::Message>
Msg___delete__(IPC::Message::routeid_t routingId);
mozilla::UniquePtr<IPC::Message>
Reply___delete__(IPC::Message::routeid_t routingId);

mozilla::UniquePtr<IPC::Message>
Msg_Pause(IPC::Message::routeid_t routingId);

mozilla::UniquePtr<IPC::Message>
Msg_Resume(IPC::Message::routeid_t routingId);

mozilla::UniquePtr<IPC::Message>
Msg_Cancel(IPC::Message::routeid_t routingId);

mozilla::UniquePtr<IPC::Message>
Msg_ForceEnd(IPC::Message::routeid_t routingId);

mozilla::UniquePtr<IPC::Message>
Msg_SetAudioOutputVolume(IPC::Message::routeid_t routingId);

mozilla::UniquePtr<IPC::Message>
Msg_OnEnd(IPC::Message::routeid_t routingId);

mozilla::UniquePtr<IPC::Message>
Msg_OnStart(IPC::Message::routeid_t routingId);

mozilla::UniquePtr<IPC::Message>
Msg_OnPause(IPC::Message::routeid_t routingId);

mozilla::UniquePtr<IPC::Message>
Msg_OnResume(IPC::Message::routeid_t routingId);

mozilla::UniquePtr<IPC::Message>
Msg_OnBoundary(IPC::Message::routeid_t routingId);

mozilla::UniquePtr<IPC::Message>
Msg_OnMark(IPC::Message::routeid_t routingId);



} // namespace PSpeechSynthesisRequest
} // namespace dom
} // namespace mozilla

#endif // ifndef PSpeechSynthesisRequest_h
