X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=modules%2Fgui%2Fqt4%2Factions_manager.hpp;h=fb05481e0dc62d74c37a19329e17c2006632dfac;hb=05d736eac9cb11e55fca0552ff4150cb48004ed8;hp=463edc5fa4c010df620d80a1c27687b50000b614;hpb=087123fe974490145e8c1a50ec726cd4c7dd3187;p=vlc diff --git a/modules/gui/qt4/actions_manager.hpp b/modules/gui/qt4/actions_manager.hpp index 463edc5fa4..fb05481e0d 100644 --- a/modules/gui/qt4/actions_manager.hpp +++ b/modules/gui/qt4/actions_manager.hpp @@ -21,8 +21,8 @@ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA. *****************************************************************************/ -#ifndef _ACTIONS_MANAGER_H_ -#define _ACTIONS_MANAGER_H_ +#ifndef QVLC_ACTIONS_MANAGER_H_ +#define QVLC_ACTIONS_MANAGER_H_ 1 #ifdef HAVE_CONFIG_H # include "config.h" @@ -51,6 +51,9 @@ typedef enum actionType_e SKIP_BACK_ACTION, SKIP_FW_ACTION, QUIT_ACTION, + RANDOM_ACTION, + LOOP_ACTION, + INFO_ACTION, } actionType_e; class ActionsManager : public QObject @@ -66,11 +69,13 @@ public: } static void killInstance() { - if( instance ) delete instance; + delete instance; + instance = NULL; } - virtual ~ActionsManager(); private: + virtual ~ActionsManager(); + static ActionsManager *instance; ActionsManager( intf_thread_t *_p_i, QObject *_parent ); intf_thread_t *p_intf;