summaryrefslogtreecommitdiff
path: root/plugins/Dropbox/src/singleton.h
diff options
context:
space:
mode:
authorAlexander Lantsev <aunsane@gmail.com>2014-03-07 19:41:15 +0000
committerAlexander Lantsev <aunsane@gmail.com>2014-03-07 19:41:15 +0000
commit3997c1912c9ef57697452f357b02b10b8f5bc6a7 (patch)
tree06003caf27213aa4bd5ecaf36992b03037c7b1b3 /plugins/Dropbox/src/singleton.h
parent370996a4a7ced75fe363bc1c3eb34f77f5d7aee1 (diff)
Dropbox:
- code cleaning and reorganization - added "/help" command - more informative authorization request - version bumped git-svn-id: http://svn.miranda-ng.org/main/trunk@8456 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/Dropbox/src/singleton.h')
-rw-r--r--plugins/Dropbox/src/singleton.h29
1 files changed, 0 insertions, 29 deletions
diff --git a/plugins/Dropbox/src/singleton.h b/plugins/Dropbox/src/singleton.h
deleted file mode 100644
index 432e2ed7f0..0000000000
--- a/plugins/Dropbox/src/singleton.h
+++ /dev/null
@@ -1,29 +0,0 @@
-#ifndef _SINGLETON_H_
-#define _SINGLETON_H_
-
-template<typename T>
-class Singleton
-{
-public:
- static T *GetInstance()
- {
- if (!instance)
- instance = new T;
- return instance;
- }
-
-private:
- static T* instance;
-
- Singleton();
- Singleton(Singleton const&);
-
- ~Singleton();
-
- Singleton &operator=(Singleton const&);
-};
-
-template <typename T> T *Singleton<T>::instance = 0;
-
-
-#endif //_SINGLETON_H_ \ No newline at end of file