Unravel Engine C++ Reference
Loading...
Searching...
No Matches
service.h File Reference
#include <cmd_line/parser.h>
#include <context/context.hpp>
#include <entt/meta/meta.hpp>

Go to the source code of this file.

Classes

struct  module_desc
 
struct  module_data
 
struct  service
 

Macros

#define SERVICE_RESULT_EXIT   0
 
#define SERVICE_RESULT_RUN   1
 
#define SERVICE_RESULT_RELOAD   2
 

Functions

int service_main (const char *name, int argc, char *argv[])
 

Macro Definition Documentation

◆ SERVICE_RESULT_EXIT

#define SERVICE_RESULT_EXIT   0

Definition at line 18 of file service.h.

◆ SERVICE_RESULT_RELOAD

#define SERVICE_RESULT_RELOAD   2

Definition at line 20 of file service.h.

◆ SERVICE_RESULT_RUN

#define SERVICE_RESULT_RUN   1

Definition at line 19 of file service.h.

Function Documentation

◆ service_main()

int service_main ( const char * name,
int argc,
char * argv[] )

Definition at line 166 of file service.cpp.