|
@@ -15,14 +15,15 @@
|
|
|
#ifndef __DATA_SOURCE_FACTORY_H
|
|
|
#define __DATA_SOURCE_FACTORY_H 1
|
|
|
|
|
|
-#include <boost/noncopyable.hpp>
|
|
|
-
|
|
|
#include <datasrc/data_source.h>
|
|
|
#include <datasrc/client.h>
|
|
|
#include <exceptions/exceptions.h>
|
|
|
|
|
|
#include <cc/data.h>
|
|
|
|
|
|
+#include <boost/noncopyable.hpp>
|
|
|
+#include <boost/shared_ptr.hpp>
|
|
|
+
|
|
|
namespace isc {
|
|
|
namespace datasrc {
|
|
|
|
|
@@ -171,6 +172,12 @@ private:
|
|
|
LibraryContainer ds_lib_;
|
|
|
};
|
|
|
|
|
|
+///
|
|
|
+/// Shared pointer type for datasource client containers
|
|
|
+///
|
|
|
+typedef boost::shared_ptr<DataSourceClientContainer>
|
|
|
+ DataSourceClientContainerPtr;
|
|
|
+
|
|
|
} // end namespace datasrc
|
|
|
} // end namespace isc
|
|
|
#endif // DATA_SOURCE_FACTORY_H
|