Copy as Markdown

Other Tools

//
// Automatically generated by ipdlc.
// Edit at your own risk
//
#ifndef PTestCrossProcessSemaphore_h
#define PTestCrossProcessSemaphore_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 PTestCrossProcessSemaphoreParent;
} // namespace _ipdltest
} // namespace mozilla
namespace mozilla {
namespace _ipdltest {
class PTestCrossProcessSemaphoreChild;
} // namespace _ipdltest
} // namespace mozilla
//-----------------------------------------------------------------------------
// Code common to PTestCrossProcessSemaphoreChild and PTestCrossProcessSemaphoreParent
//
namespace mozilla {
namespace _ipdltest {
namespace PTestCrossProcessSemaphore {
nsresult
CreateEndpoints(
base::ProcessId aParentDestPid,
base::ProcessId aChildDestPid,
mozilla::ipc::Endpoint<::mozilla::_ipdltest::PTestCrossProcessSemaphoreParent>* aParent,
mozilla::ipc::Endpoint<::mozilla::_ipdltest::PTestCrossProcessSemaphoreChild>* aChild);
nsresult
CreateEndpoints(
mozilla::ipc::Endpoint<::mozilla::_ipdltest::PTestCrossProcessSemaphoreParent>* aParent,
mozilla::ipc::Endpoint<::mozilla::_ipdltest::PTestCrossProcessSemaphoreChild>* aChild);
enum MessageType {
PTestCrossProcessSemaphoreStart = PTestCrossProcessSemaphoreMsgStart << 16,
Msg_CrossProcessSemaphore__ID,
PTestCrossProcessSemaphoreEnd
};
mozilla::UniquePtr<IPC::Message>
Msg_CrossProcessSemaphore(int32_t routingId);
} // namespace PTestCrossProcessSemaphore
} // namespace _ipdltest
} // namespace mozilla
#endif // ifndef PTestCrossProcessSemaphore_h