Lumiera  0.pre.03
»edit your freedom«
lifecycle.cpp File Reference

Go to the source code of this file.

Description

Implementation of installable callbacks for lifecycle events.

Definition in file lifecycle.cpp.

#include "lib/error.hpp"
#include "include/lifecycle.h"
#include "lib/lifecycleregistry.hpp"
#include "lib/util.hpp"

Typedefs

typedef LifecycleRegistry::Hook Callback
 

Functions

void lumiera_Lifecycle_trigger (const char *eventLabel)
 
void lumiera_LifecycleHook_add (const char *eventLabel, void callbackFun(void))
 
const char * ON_BASIC_INIT ("ON_BASIC_INIT")
 
const char * ON_EMERGENCY ("ON_EMERGENCY")
 
const char * ON_GLOBAL_INIT ("ON_GLOBAL_INIT")
 
const char * ON_GLOBAL_SHUTDOWN ("ON_GLOBAL_SHUTDOWN")
 

Variables

const char * lumiera_ON_BASIC_INIT = lumiera::ON_BASIC_INIT
 
const char * lumiera_ON_EMERGENCY = lumiera::ON_EMERGENCY
 
const char * lumiera_ON_GLOBAL_INIT = lumiera::ON_GLOBAL_INIT
 
const char * lumiera_ON_GLOBAL_SHUTDOWN = lumiera::ON_GLOBAL_SHUTDOWN
 

Namespaces

 lumiera
 Lumiera public interface.