Freya  0.0.1
A Gtk3 MPD Client
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Defines
src/Utils/Singleton.hh File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Defines

#define DEF_SINGLETON(NAME)

Define Documentation

#define DEF_SINGLETON (   NAME)
Value:
public:                         \
    static NAME& instance()      \
    {                            \
       static NAME _instance;    \
       return _instance;         \
    }                            \
 private:                        \
    NAME();                      \
    NAME(const NAME&);

Definition at line 38 of file Singleton.hh.