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

#ifndef PTestShell_h
#define PTestShell_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 ipc {
class PTestShellParent;
} // namespace ipc
} // namespace mozilla
namespace mozilla {
namespace ipc {
class PTestShellChild;
} // namespace ipc
} // namespace mozilla

//-----------------------------------------------------------------------------
// Code common to PTestShellChild and PTestShellParent
//
namespace mozilla {
namespace ipc {
namespace PTestShell {

nsresult
CreateEndpoints(
        mozilla::ipc::EndpointProcInfo aParentDestInfo,
        mozilla::ipc::EndpointProcInfo aChildDestInfo,
        mozilla::ipc::Endpoint<::mozilla::ipc::PTestShellParent>* aParent,
        mozilla::ipc::Endpoint<::mozilla::ipc::PTestShellChild>* aChild);

enum MessageType {
    PTestShellStart = PTestShellMsgStart << 16,
    Msg___delete____ID,
    Reply___delete____ID,
    Msg_ExecuteCommand__ID,
    Msg_PTestShellCommandConstructor__ID,
    Reply_PTestShellCommandConstructor__ID,
    PTestShellEnd
};

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_ExecuteCommand(IPC::Message::routeid_t routingId);

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



} // namespace PTestShell
} // namespace ipc
} // namespace mozilla

#endif // ifndef PTestShell_h
