Commit f0e26657 authored by Jan Möbius's avatar Jan Möbius

Documentation

git-svn-id: http://www.openflipper.org/svnrepo/OpenFlipper/branches/Free@7653 383ad7c9-94d9-4d36-a494-682f7c89f535
parent f5bf6682
......@@ -241,8 +241,10 @@ int Core::loadObject( DataType _type, QString _filename) {
return -1; //no plugin found
}
/// Function for adding an empty object of given DataType
int Core::addEmptyObject( DataType _type ) {
/** \todo Iterate over all plugins but check with bitmask! for a supporting plugin
*/
for (int i=0; i < (int)supportedTypes_.size(); i++)
if (supportedTypes_[i].type == _type)
return supportedTypes_[i].plugin->addEmpty();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment