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

#ifndef PGamepadTestChannel_h
#define PGamepadTestChannel_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/GamepadEventTypes.h"

namespace mozilla {
namespace dom {
class PGamepadTestChannelParent;
} // namespace dom
} // namespace mozilla
namespace mozilla {
namespace dom {
class PGamepadTestChannelChild;
} // namespace dom
} // namespace mozilla

//-----------------------------------------------------------------------------
// Code common to PGamepadTestChannelChild and PGamepadTestChannelParent
//
namespace mozilla {
namespace dom {
namespace PGamepadTestChannel {

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

enum MessageType {
    PGamepadTestChannelStart = PGamepadTestChannelMsgStart << 16,
    Msg_GamepadTestEvent__ID,
    Msg___delete____ID,
    Reply___delete____ID,
    Msg_ReplyGamepadHandle__ID,
    PGamepadTestChannelEnd
};

mozilla::UniquePtr<IPC::Message>
Msg_GamepadTestEvent(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);

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



} // namespace PGamepadTestChannel
} // namespace dom
} // namespace mozilla

#endif // ifndef PGamepadTestChannel_h
