14 #ifndef BERRYISERVICEFACTORY_H_
15 #define BERRYISERVICEFACTORY_H_
23 struct IServiceLocator;
60 return dynamic_cast<S*
>(this->Create(qobject_interface_iid<S*>(), parentLocator, locator));
Light weight base class for most BlueBerry classes.
S * Create(IServiceLocator *parentLocator, IServiceLocator *locator) const
virtual ~IServiceFactory()
virtual Object * Create(const QString &serviceInterface, IServiceLocator *parentLocator, IServiceLocator *locator) const =0