oopapidocs  2.0
abstractmetadataloader.cpp
00001 #include "abstractmetadataloader.h"
00002 #include <QtCore>
00003 
00004 using namespace Abstract;
00005 
00006 MetaDataLoader* MetaDataLoader::instance() {
00007     MetaDataLoader* retval =
00008             qApp->findChild<MetaDataLoader*>();
00009     if (retval == 0) {
00010        qCritical() << "Abstract::MetaDataLoader::instance(): "
00011                     "Create concrete derived MetaDataLoader before calling this.";
00012        Q_ASSERT(false);
00013     }
00014     return retval;
00015 }
00016 MetaDataLoader::~MetaDataLoader() {
00017 }
 All Classes Namespaces Functions Enumerations