Copy as Markdown

Other Tools

//
// Automatically generated by ipdlc.
// Edit at your own risk
//
#ifndef PMediaSystemResourceManager_h
#define PMediaSystemResourceManager_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 media {
class PMediaSystemResourceManagerParent;
} // namespace media
} // namespace mozilla
namespace mozilla {
namespace media {
class PMediaSystemResourceManagerChild;
} // namespace media
} // namespace mozilla
//-----------------------------------------------------------------------------
// Code common to PMediaSystemResourceManagerChild and PMediaSystemResourceManagerParent
//
namespace mozilla {
namespace media {
namespace PMediaSystemResourceManager {
nsresult
CreateEndpoints(
mozilla::ipc::EndpointProcInfo aParentDestInfo,
mozilla::ipc::EndpointProcInfo aChildDestInfo,
mozilla::ipc::Endpoint<::mozilla::media::PMediaSystemResourceManagerParent>* aParent,
mozilla::ipc::Endpoint<::mozilla::media::PMediaSystemResourceManagerChild>* aChild);
enum MessageType {
PMediaSystemResourceManagerStart = PMediaSystemResourceManagerMsgStart << 16,
Msg_Response__ID,
Msg___delete____ID,
Reply___delete____ID,
Msg_Acquire__ID,
Msg_Release__ID,
Msg_RemoveResourceManager__ID,
PMediaSystemResourceManagerEnd
};
mozilla::UniquePtr<IPC::Message>
Msg_Response(int32_t routingId);
mozilla::UniquePtr<IPC::Message>
Msg___delete__(int32_t routingId);
mozilla::UniquePtr<IPC::Message>
Reply___delete__(int32_t routingId);
mozilla::UniquePtr<IPC::Message>
Msg_Acquire(int32_t routingId);
mozilla::UniquePtr<IPC::Message>
Msg_Release(int32_t routingId);
mozilla::UniquePtr<IPC::Message>
Msg_RemoveResourceManager(int32_t routingId);
} // namespace PMediaSystemResourceManager
} // namespace media
} // namespace mozilla
#endif // ifndef PMediaSystemResourceManager_h