NOISSUE Comment and bugfix the Resource system

This commit is contained in:
Jan Dalheimer
2015-06-06 12:30:49 +02:00
committed by Petr Mrázek
parent 24db645167
commit 1e51b62c88
12 changed files with 180 additions and 86 deletions

View File

@ -51,6 +51,11 @@ private:
QMetaProperty m_property;
};
/** Observer for functions, lambdas etc.
* Template arguments:
* * We need Ret and Arg in order to create the std::function
* * We need Func in order to std::forward the function
*/
template <typename Ret, typename Arg, typename Func>
class FunctionResourceObserver : public ResourceObserver
{