InputBindingListener.cpp
Go to the documentation of this file.
2 #include "InputBindingSystem.hpp"
3 
4 namespace iv
5 {
6 
8  inst( inst ),
9  ibs( inst->getSystem< InputBindingSystem >() )
10 {
11  if( !this->ibs )
12  return;
13 
14  this->ibs->register_listener( this );
15 }
16 
18 {
19  if( !this->ibs )
20  return;
21 
22  this->ibs->unregister_listener( this );
23 }
24 
26 {
27  return this->inst;
28 }
29 
30 }