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

#ifndef PRemoteSpellcheckEngine_h
#define PRemoteSpellcheckEngine_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 {
class PRemoteSpellcheckEngineParent;
} // namespace mozilla
namespace mozilla {
class PRemoteSpellcheckEngineChild;
} // namespace mozilla

//-----------------------------------------------------------------------------
// Code common to PRemoteSpellcheckEngineChild and PRemoteSpellcheckEngineParent
//
namespace mozilla {
namespace PRemoteSpellcheckEngine {

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

enum MessageType {
    PRemoteSpellcheckEngineStart = PRemoteSpellcheckEngineMsgStart << 16,
    Msg___delete____ID,
    Reply___delete____ID,
    Msg_CheckAsync__ID,
    Reply_CheckAsync__ID,
    Msg_SetDictionary__ID,
    Reply_SetDictionary__ID,
    Msg_SetDictionaries__ID,
    Reply_SetDictionaries__ID,
    Msg_Suggest__ID,
    Reply_Suggest__ID,
    Msg_SetDictionaryFromList__ID,
    Reply_SetDictionaryFromList__ID,
    PRemoteSpellcheckEngineEnd
};

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_CheckAsync(IPC::Message::routeid_t routingId);
mozilla::UniquePtr<IPC::Message>
Reply_CheckAsync(IPC::Message::routeid_t routingId);

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

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

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

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



} // namespace PRemoteSpellcheckEngine
} // namespace mozilla

#endif // ifndef PRemoteSpellcheckEngine_h
