Qt IOC Container 3.5


XmlApplicationContext.cpp

Go to the documentation of this file.
00001 #include "XmlApplicationContext.h"
00002 #include "XmlApplicationContextImpl.h"
00003 
00004 using namespace qic;
00005 
00006 XmlApplicationContext::XmlApplicationContext (QStringList & files)
00007 {
00008   _impl = new XmlApplicationContextImpl(files);
00009 }
00010 
00011 XmlApplicationContext::~XmlApplicationContext ()
00012 {
00013   if (_impl)
00014   {
00015     delete _impl;
00016   }
00017 }
00018 
00019 QObject *
00020 XmlApplicationContext::getObject (QString id)
00021 {
00022   return _impl->getObject(id);
00023 }
00024 
00025 bool
00026 XmlApplicationContext::containsObject (QString id)
00027 {
00028   return _impl->containsObject (id);
00029 }
00030