#ifndef RM_APPLICATION_H #define RM_APPLICATION_H #if !(PLAYER_ONLY_LIBRARY_MODE) #include #include #include class RMApplication : public QApplication { Q_OBJECT public: RMApplication(int &argc, char **argv); ~RMApplication(); bool lock(); void foregroundApplication(); static RMApplication* instance(); private: QSharedMemory *_singular; // shared memory !! SINGLE ACCESS }; #endif // #if !(PLAYER_ONLY_LIBRARY_MODE) #endif // RM_APPLICATION_H