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

#ifndef PRemotePrintJob_h
#define PRemotePrintJob_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 layout {
class PRemotePrintJobParent;
} // namespace layout
} // namespace mozilla
namespace mozilla {
namespace layout {
class PRemotePrintJobChild;
} // namespace layout
} // namespace mozilla

//-----------------------------------------------------------------------------
// Code common to PRemotePrintJobChild and PRemotePrintJobParent
//
namespace mozilla {
namespace layout {
namespace PRemotePrintJob {

nsresult
CreateEndpoints(
        mozilla::ipc::EndpointProcInfo aParentDestInfo,
        mozilla::ipc::EndpointProcInfo aChildDestInfo,
        mozilla::ipc::Endpoint<::mozilla::layout::PRemotePrintJobParent>* aParent,
        mozilla::ipc::Endpoint<::mozilla::layout::PRemotePrintJobChild>* aChild);

enum MessageType {
    PRemotePrintJobStart = PRemotePrintJobMsgStart << 16,
    Msg_AbortPrint__ID,
    Msg_InitializePrint__ID,
    Msg_ProcessPage__ID,
    Msg_FinalizePrint__ID,
    Msg_ProgressChange__ID,
    Msg_StatusChange__ID,
    Msg_PrintInitializationResult__ID,
    Msg_PageProcessed__ID,
    Msg___delete____ID,
    Reply___delete____ID,
    PRemotePrintJobEnd
};

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

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

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

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

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

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

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

mozilla::UniquePtr<IPC::Message>
Msg_PageProcessed(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 PRemotePrintJob
} // namespace layout
} // namespace mozilla

#endif // ifndef PRemotePrintJob_h
