diff options
Diffstat (limited to 'smubermodelsingleton.h')
-rw-r--r-- | smubermodelsingleton.h | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/smubermodelsingleton.h b/smubermodelsingleton.h new file mode 100644 index 0000000..80b2313 --- /dev/null +++ b/smubermodelsingleton.h @@ -0,0 +1,24 @@ +/* + This program is free software; you can redistribute it and/or + modify it under the terms of the GNU General Public License + as published by the Free Software Foundation; either version + 2 of the License, or (at your option) any later version. +*/ + +#ifndef SMUBERMODELSINGLETON_H +#define SMUBERMODELSINGLETON_H + +class SmUberModel; + +class SmUberModelSingleton { + public: + static SmUberModel *instance(); + + private: + SmUberModelSingleton() {} + SmUberModelSingleton(const SmUberModelSingleton &other); + SmUberModelSingleton &operator=(const SmUberModelSingleton &other); + static SmUberModel *mInstance; +}; + +#endif |