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

#ifndef PClientManager_h
#define PClientManager_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 PClientManagerParent;
} // namespace dom
} // namespace mozilla
namespace mozilla {
namespace dom {
class PClientManagerChild;
} // namespace dom
} // namespace mozilla

//-----------------------------------------------------------------------------
// Code common to PClientManagerChild and PClientManagerParent
//
namespace mozilla {
namespace dom {
namespace PClientManager {

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

enum MessageType {
    PClientManagerStart = PClientManagerMsgStart << 16,
    Msg_Teardown__ID,
    Msg_PClientHandleConstructor__ID,
    Reply_PClientHandleConstructor__ID,
    Msg_PClientManagerOpConstructor__ID,
    Reply_PClientManagerOpConstructor__ID,
    Msg_PClientSourceConstructor__ID,
    Reply_PClientSourceConstructor__ID,
    Msg_ExpectFutureClientSource__ID,
    Msg_ForgetFutureClientSource__ID,
    Msg_PClientNavigateOpConstructor__ID,
    Reply_PClientNavigateOpConstructor__ID,
    Msg___delete____ID,
    Reply___delete____ID,
    PClientManagerEnd
};

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

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

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

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

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

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

mozilla::UniquePtr<IPC::Message>
Msg_PClientNavigateOpConstructor(IPC::Message::routeid_t routingId);
mozilla::UniquePtr<IPC::Message>
Reply_PClientNavigateOpConstructor(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 PClientManager
} // namespace dom
} // namespace mozilla

#endif // ifndef PClientManager_h
