Copy as Markdown
Other Tools
//
// Automatically generated by ipdlc.
// Edit at your own risk
//
#ifndef PTestShmem_h
#define PTestShmem_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 _ipdltest {
class PTestShmemParent;
} // namespace _ipdltest
} // namespace mozilla
namespace mozilla {
namespace _ipdltest {
class PTestShmemChild;
} // namespace _ipdltest
} // namespace mozilla
//-----------------------------------------------------------------------------
// Code common to PTestShmemChild and PTestShmemParent
//
namespace mozilla {
namespace _ipdltest {
namespace PTestShmem {
nsresult
CreateEndpoints(
mozilla::ipc::EndpointProcInfo aParentDestInfo,
mozilla::ipc::EndpointProcInfo aChildDestInfo,
mozilla::ipc::Endpoint<::mozilla::_ipdltest::PTestShmemParent>* aParent,
mozilla::ipc::Endpoint<::mozilla::_ipdltest::PTestShmemChild>* aChild);
nsresult
CreateEndpoints(
mozilla::ipc::Endpoint<::mozilla::_ipdltest::PTestShmemParent>* aParent,
mozilla::ipc::Endpoint<::mozilla::_ipdltest::PTestShmemChild>* aChild);
enum MessageType {
PTestShmemStart = PTestShmemMsgStart << 16,
Msg_Give__ID,
Msg_Take__ID,
Msg___delete____ID,
Reply___delete____ID,
PTestShmemEnd
};
mozilla::UniquePtr<IPC::Message>
Msg_Give(int32_t routingId);
mozilla::UniquePtr<IPC::Message>
Msg_Take(int32_t routingId);
mozilla::UniquePtr<IPC::Message>
Msg___delete__(int32_t routingId);
mozilla::UniquePtr<IPC::Message>
Reply___delete__(int32_t routingId);
} // namespace PTestShmem
} // namespace _ipdltest
} // namespace mozilla
#endif // ifndef PTestShmem_h