From 3997c1912c9ef57697452f357b02b10b8f5bc6a7 Mon Sep 17 00:00:00 2001 From: Alexander Lantsev Date: Fri, 7 Mar 2014 19:41:15 +0000 Subject: 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 --- plugins/Dropbox/src/singleton.h | 29 ----------------------------- 1 file changed, 29 deletions(-) delete mode 100644 plugins/Dropbox/src/singleton.h (limited to 'plugins/Dropbox/src/singleton.h') 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 -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 T *Singleton::instance = 0; - - -#endif //_SINGLETON_H_ \ No newline at end of file -- cgit v1.2.3