1 #include "libs/Kernel.h"
3 #include "libs/nuts_bolts.h"
4 #include "libs/utils.h"
10 void Pauser::on_module_loaded(){
16 if( this->counter
== 1 ){
17 this->kernel
->call_event(ON_PAUSE
, &this->counter
);
21 void Pauser::release(){
23 if( this->counter
== 0 ){
24 this->kernel
->call_event(ON_PLAY
, &this->counter
);