]> git.sesse.net Git - vlc/blobdiff - modules/gui/qt4/actions_manager.hpp
Qt: respect font sizes
[vlc] / modules / gui / qt4 / actions_manager.hpp
index 6bef13faed9440391f8f176a74f9c160801a0817..fb05481e0dc62d74c37a19329e17c2006632dfac 100644 (file)
@@ -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"
@@ -50,6 +50,10 @@ typedef enum actionType_e
     REVERSE_ACTION,
     SKIP_BACK_ACTION,
     SKIP_FW_ACTION,
+    QUIT_ACTION,
+    RANDOM_ACTION,
+    LOOP_ACTION,
+    INFO_ACTION,
 } actionType_e;
 
 class ActionsManager : public QObject
@@ -65,26 +69,30 @@ 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;
 
-protected slots:
-    virtual void doAction( int );
-
-protected slots:
+public slots:
+    void toggleMuteAudio();
+    void AudioUp();
+    void AudioDown();
     void play();
+protected slots:
     void fullscreen();
     void snapshot();
     void playlist();
     void record();
     void frame();
 
+    virtual void doAction( int );
 };
 
 #endif