Qt IOC Container 3.5


PropertyListInjector.h

Go to the documentation of this file.
00001 #ifndef QIC_PROPERTY_LIST_INJECTOR_H_
00002 #define QIC_PROPERTY_LIST_INJECTOR_H_
00003 
00004 #include <QObject>
00005 #include <QString>
00006 #include <QVariant>
00007 
00008 #include "ReferenceInjector.h"
00009 
00010 namespace qic
00011 {
00012 
00013   // Do not include ReferenceResolver.h file. Because it's abstract class, the plugin won't link if ReferenceResolver.h is included.
00014   class ReferenceResolver;
00015 
00022   class PropertyListInjector : public QObject, public ReferenceInjector
00023   {
00024     Q_OBJECT
00025     Q_INTERFACES(qic::ReferenceInjector)
00026 
00027   public:
00028     virtual ~PropertyListInjector () {};
00029 
00030     virtual QVariant injectReference (QVariant & prop, ReferenceResolver * resolver, QHash <QString, QObject *> & injector_map);
00031 
00032   }
00033   ; // class PropertyListInjector
00034 
00035 }
00036 ; // namespace qic
00037 
00038 #endif