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

#ifndef PClientHandle_h
#define PClientHandle_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"
#include "mozilla/dom/ClientIPCTypes.h"

namespace mozilla {
namespace dom {
class PClientHandleParent;
} // namespace dom
} // namespace mozilla
namespace mozilla {
namespace dom {
class PClientHandleChild;
} // namespace dom
} // namespace mozilla

//-----------------------------------------------------------------------------
// Code common to PClientHandleChild and PClientHandleParent
//
namespace mozilla {
namespace dom {
namespace PClientHandle {

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

enum MessageType {
    PClientHandleStart = PClientHandleMsgStart << 16,
    Msg_Teardown__ID,
    Msg_PClientHandleOpConstructor__ID,
    Reply_PClientHandleOpConstructor__ID,
    Msg_ExecutionReady__ID,
    Msg___delete____ID,
    Reply___delete____ID,
    PClientHandleEnd
};

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

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

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

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



} // namespace PClientHandle
} // namespace dom
} // namespace mozilla

#endif // ifndef PClientHandle_h
