summaryrefslogtreecommitdiff
path: root/src/FbTk/SelectArg.hh
AgeCommit message (Collapse)AuthorFilesLines
2010-03-19Added SelectArg and MemFunSelectArg*Henrik Kinnunen1-0/+74
The MemFunSelectArg* functions can be used to select a specific argument from a signal. For example this would select the string argument as argument to the callback: Signal<void, int, float, string> signal; signal.connect(MemFunSelectArg2(obj, &Object::takesOneStringArg)); signal.emit(10, 3.14, "hello"); ... void Object::takesOneStringArg(const string& value) { ... }