Added support for the SubscriptionHandlerFactory object.
This commit is contained in:
1 parent
0ef782a11c
commit
b40cb9f5a4
114 files changed
+497
-480
No files matched your search
@@ -0,0 +1,21 @@
|
||||
#ifndef __SubscriptionHandlerFactory_h__
|
||||
#define __SubscriptionHandlerFactory_h__
|
||||
|
||||
#include "SubscriptionHandler.h"
|
||||
#include <string>
|
||||
|
||||
namespace core {
|
||||
|
||||
class SubscriptionHandlerFactory {
|
||||
|
||||
public:
|
||||
|
||||
virtual SubscriptionHandler * getSubscriptionHandler(std::string name) {
|
||||
return new SubscriptionHandler();
|
||||
}
|
||||
|
||||
};
|
||||
|
||||
}
|
||||
|
||||
#endif
|
||||
Reference in new issue
Block a user