From 497745ad31c90545b288e2845049e0ce474bcbe2 Mon Sep 17 00:00:00 2001 From: gcontini <1121667+gcontini@users.noreply.github.com> Date: 周六, 19 10月 2019 10:10:45 +0800 Subject: [PATCH] Merge branch 'feature/code_review_and_refactor' into develop --- src/library/locate/LocatorFactory.hpp | 32 ++++++++++++++++++++++++++++++++ 1 files changed, 32 insertions(+), 0 deletions(-) diff --git a/src/library/locate/LocatorFactory.hpp b/src/library/locate/LocatorFactory.hpp new file mode 100644 index 0000000..6f1cd30 --- /dev/null +++ b/src/library/locate/LocatorFactory.hpp @@ -0,0 +1,32 @@ +#ifndef RETRIEVE_FACTORY_H_ +#define RETRIEVE_FACTORY_H_ + +#include <cstddef> +#include <string> +#include <vector> + +#include "../base/base.h" +#include "../api/datatypes.h" +#include "LocatorStrategy.hpp" + +namespace license { +namespace locate { + +class LocatorFactory { +private: + inline LocatorFactory() { + } + inline ~LocatorFactory() { + } +public: + + static FUNCTION_RETURN get_active_strategies( + std::vector<std::unique_ptr<LocatorStrategy>> &strategiesOut, + const LicenseLocation *locationHint); + +}; + +} +} + +#endif -- Gitblit v1.9.1