Initial community commit
This commit is contained in:
parent
537bcbc862
commit
fc06254474
16440 changed files with 4239995 additions and 2 deletions
22
Src/replicant/component/ifc_component_sync.h
Normal file
22
Src/replicant/component/ifc_component_sync.h
Normal file
|
@ -0,0 +1,22 @@
|
|||
#pragma once
|
||||
#include "foundation/dispatch.h"
|
||||
|
||||
// {667F8818-AECD-4017-80EE-C43E096E68C1}
|
||||
static const GUID ifc_component_sync_interface_guid =
|
||||
{ 0x667f8818, 0xaecd, 0x4017, { 0x80, 0xee, 0xc4, 0x3e, 0x9, 0x6e, 0x68, 0xc1 } };
|
||||
|
||||
class ifc_component_sync : public Wasabi2::Dispatchable
|
||||
{
|
||||
protected:
|
||||
ifc_component_sync() : Wasabi2::Dispatchable(DISPATCHABLE_VERSION) {}
|
||||
~ifc_component_sync() {}
|
||||
public:
|
||||
static GUID GetInterfaceGUID() { return ifc_component_sync_interface_guid; }
|
||||
int Wait(size_t count) { return ComponentSync_Wait(count); }
|
||||
enum
|
||||
{
|
||||
DISPATCHABLE_VERSION=0,
|
||||
};
|
||||
private:
|
||||
virtual int WASABICALL ComponentSync_Wait(size_t count)=0;
|
||||
};
|
Loading…
Add table
Add a link
Reference in a new issue