no message
parent
bcf8e6d63d
commit
5aedbe969a
|
@ -31,8 +31,7 @@
|
||||||
</component>
|
</component>
|
||||||
<component name="ChangeListManager">
|
<component name="ChangeListManager">
|
||||||
<list default="true" id="0facce0d-c642-4d80-b2fb-daf5f3e68dff" name="Default Changelist" comment="">
|
<list default="true" id="0facce0d-c642-4d80-b2fb-daf5f3e68dff" name="Default Changelist" comment="">
|
||||||
<change afterPath="$PROJECT_DIR$/general/src/pattern/factory.hpp" afterDir="false" />
|
<change beforePath="$PROJECT_DIR$/general/src/pattern/factory.hpp" beforeDir="false" afterPath="$PROJECT_DIR$/general/src/pattern/factory.hpp" afterDir="false" />
|
||||||
<change beforePath="$PROJECT_DIR$/.idea/workspace.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/workspace.xml" afterDir="false" />
|
|
||||||
</list>
|
</list>
|
||||||
<option name="SHOW_DIALOG" value="false" />
|
<option name="SHOW_DIALOG" value="false" />
|
||||||
<option name="HIGHLIGHT_CONFLICTS" value="true" />
|
<option name="HIGHLIGHT_CONFLICTS" value="true" />
|
||||||
|
|
|
@ -4,11 +4,12 @@
|
||||||
|
|
||||||
#ifndef GENERAL_FACTORY_HPP
|
#ifndef GENERAL_FACTORY_HPP
|
||||||
#define GENERAL_FACTORY_HPP
|
#define GENERAL_FACTORY_HPP
|
||||||
|
#include <string>
|
||||||
|
using namespace std;
|
||||||
template<typename T>
|
template<typename T>
|
||||||
class Factory{
|
class Factory{
|
||||||
public:
|
public:
|
||||||
virtual T* GetProduct(){
|
virtual T* GetProduct(std::string type){
|
||||||
return nullptr;
|
return nullptr;
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue