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

@@ -17,7 +17,8 @@ public:
virtual ~ResourceHandler() {}
void setResource(Resource *resource) { m_resource = resource; }
// reimplement this if you need to do something after you have been put in a shared pointer
/// reimplement this if you need to do something after you have been put in a shared pointer
// we do this instead of inheriting from std::enable_shared_from_this
virtual void init(std::shared_ptr<ResourceHandler>&) {}
QVariant result() const { return m_result; }