aboutsummaryrefslogtreecommitdiff
path: root/Src/replicant/Wasabi/api.cpp
blob: 5ff52e742adc3650b1a63a2dc3cd5815c9d0edef (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
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;
}