Generated file

Copy as Markdown

Other Tools

//
// Automatically generated by ipdlc.
// Edit at your own risk
//
#ifndef PSerialManager_h
#define PSerialManager_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/SerialTypes.h"
namespace mozilla {
namespace dom {
class PSerialManagerParent;
} // namespace dom
} // namespace mozilla
namespace mozilla {
namespace dom {
class PSerialManagerChild;
} // namespace dom
} // namespace mozilla
//-----------------------------------------------------------------------------
// Code common to PSerialManagerChild and PSerialManagerParent
//
namespace mozilla {
namespace dom {
namespace PSerialManager {
nsresult
CreateEndpoints(
mozilla::ipc::EndpointProcInfo aParentDestInfo,
mozilla::ipc::EndpointProcInfo aChildDestInfo,
mozilla::ipc::Endpoint<::mozilla::dom::PSerialManagerParent>* aParent,
mozilla::ipc::Endpoint<::mozilla::dom::PSerialManagerChild>* aChild);
nsresult
CreateEndpoints(
mozilla::ipc::Endpoint<::mozilla::dom::PSerialManagerParent>* aParent,
mozilla::ipc::Endpoint<::mozilla::dom::PSerialManagerChild>* aChild);
enum MessageType {
PSerialManagerStart = PSerialManagerMsgStart << 16,
Msg_GetAvailablePorts__ID,
Reply_GetAvailablePorts__ID,
Msg_CreatePort__ID,
Msg_SimulateDeviceConnection__ID,
Reply_SimulateDeviceConnection__ID,
Msg_SimulateDeviceDisconnection__ID,
Reply_SimulateDeviceDisconnection__ID,
Msg_RemoveAllMockDevices__ID,
Reply_RemoveAllMockDevices__ID,
Msg_ResetToDefaultMockDevices__ID,
Reply_ResetToDefaultMockDevices__ID,
Msg___delete____ID,
Reply___delete____ID,
PSerialManagerEnd
};
mozilla::UniquePtr<IPC::Message>
Msg_GetAvailablePorts(IPC::Message::routeid_t routingId);
mozilla::UniquePtr<IPC::Message>
Reply_GetAvailablePorts(IPC::Message::routeid_t routingId);
mozilla::UniquePtr<IPC::Message>
Msg_CreatePort(IPC::Message::routeid_t routingId);
mozilla::UniquePtr<IPC::Message>
Msg_SimulateDeviceConnection(IPC::Message::routeid_t routingId);
mozilla::UniquePtr<IPC::Message>
Reply_SimulateDeviceConnection(IPC::Message::routeid_t routingId);
mozilla::UniquePtr<IPC::Message>
Msg_SimulateDeviceDisconnection(IPC::Message::routeid_t routingId);
mozilla::UniquePtr<IPC::Message>
Reply_SimulateDeviceDisconnection(IPC::Message::routeid_t routingId);
mozilla::UniquePtr<IPC::Message>
Msg_RemoveAllMockDevices(IPC::Message::routeid_t routingId);
mozilla::UniquePtr<IPC::Message>
Reply_RemoveAllMockDevices(IPC::Message::routeid_t routingId);
mozilla::UniquePtr<IPC::Message>
Msg_ResetToDefaultMockDevices(IPC::Message::routeid_t routingId);
mozilla::UniquePtr<IPC::Message>
Reply_ResetToDefaultMockDevices(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 PSerialManager
} // namespace dom
} // namespace mozilla
#endif // ifndef PSerialManager_h