diff options
Diffstat (limited to 'include/ISingleton.h')
| -rw-r--r-- | include/ISingleton.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/include/ISingleton.h b/include/ISingleton.h new file mode 100644 index 0000000..1dcd0d1 --- /dev/null +++ b/include/ISingleton.h @@ -0,0 +1,12 @@ +#ifndef SINGLETON_H +#define SINGLETON_H + + +template <typename T> +class ISingleton +{ + public: + virtual T *getInstance() = 0; +}; + +#endif |
