Qt IOC Container 3.5


XmlApplicationContext.h

Go to the documentation of this file.
00001 
00002 #ifndef QIC_XML_APPLICATION_CONTEXT_H_
00003 #define QIC_XML_APPLICATION_CONTEXT_H_
00004 
00005 #include <QString>
00006 #include <QObject>
00007 
00008 #include "ApplicationContext.h"
00009 
00010 namespace qic
00011 {
00012   class XmlApplicationContextImpl;
00013 
00020   class XmlApplicationContext : public ApplicationContext
00021   {
00022   public:
00029     XmlApplicationContext (QStringList & files);
00030 
00031     virtual ~XmlApplicationContext ();
00032 
00033     QObject * getObject (QString id);
00034 
00035     bool containsObject (QString id);
00036 
00037   protected:
00042     XmlApplicationContextImpl * _impl;
00043 
00044   }
00045   ; // class XmlApplicationContext
00046 
00047 }
00048 ; // namespace qic
00049 
00050 #endif