openATV enigma2
openATV is an open source SetTopBox Graphical user interface.
libsig_comp.h
Go to the documentation of this file.
1 #ifndef __LIBSIG_COMP_H
2 #define __LIBSIG_COMP_H
3 
4 #include <sigc++/sigc++.h>
5 
6 #define CONNECT(_signal, _slot) _signal.connect(sigc::mem_fun(*this, &_slot))
7 #define CONNECT_EXTRA(_signal, _slot, extra_args...) _signal.connect(bind(sigc::mem_fun(*this, &_slot), extra_args))
8 
9 #endif // __LIBSIG_COMP_H