Qt IOC Container 3.5


ReferenceInjector.h

Go to the documentation of this file.
00001 #ifndef QIC_REFERENCE_INJECTOR_H_
00002 #define QIC_REFERENCE_INJECTOR_H_
00003 
00004 #include <QObject>
00005 #include <QString>
00006 #include <QVariant>
00007 
00008 namespace qic
00009 {
00010 
00011   class ReferenceResolver;
00012 
00021   class ReferenceInjector
00022   {
00023   public:
00024     virtual ~ReferenceInjector() {}
00025 
00035     virtual QVariant injectReference (QVariant & prop, ReferenceResolver * resolver, QHash <QString, QObject *> & injector_map) = 0;
00036 
00037   }
00038   ; // interface ReferenceInjector
00039 
00040 }
00041 ; // namespace qic
00042 
00043 Q_DECLARE_INTERFACE(qic::ReferenceInjector, "org.qic.ReferenceInjector/1.0")
00044 
00045 #endif