Initial community commit
This commit is contained in:
parent
537bcbc862
commit
fc06254474
16440 changed files with 4239995 additions and 2 deletions
15
Src/replicant/Wasabi/api.cpp
Normal file
15
Src/replicant/Wasabi/api.cpp
Normal file
|
@ -0,0 +1,15 @@
|
|||
#include "Wasabi.h"
|
||||
#include "api__wasabi-replicant.h"
|
||||
#include "nswasabi/singleton.h"
|
||||
#include "foundation/error.h"
|
||||
|
||||
SysCallbacks system_callbacks;
|
||||
ServiceManager service_manager;
|
||||
|
||||
static SingletonServiceFactory<SysCallbacks, api_syscb> syscb_factory;
|
||||
|
||||
int Wasabi_Init()
|
||||
{
|
||||
syscb_factory.Register(WASABI2_API_SVC, WASABI2_API_SYSCB);
|
||||
return NErr_Success;
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue