]> git.sesse.net Git - vlc/blobdiff - modules/gui/qt4/actions_manager.hpp
Qt: make the mouse sensitivity in FSC configurable
[vlc] / modules / gui / qt4 / actions_manager.hpp
index 6ab208978be8ce2eaef90384d4d74fcfa7b024ac..a69457905cf7c55dc0807a2453acb85b944c56b9 100644 (file)
@@ -1,5 +1,5 @@
 /*****************************************************************************
- * Controller.hpp : Controller for the main interface
+ * actions_manager.hpp : Controller for the main interface
  ****************************************************************************
  * Copyright (C) 2006-2008 the VideoLAN team
  * $Id$
@@ -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"
@@ -41,6 +41,7 @@ typedef enum actionType_e
     SLOWER_ACTION,
     FASTER_ACTION,
     FULLSCREEN_ACTION,
+    FULLWIDTH_ACTION,
     EXTENDED_ACTION,
     PLAYLIST_ACTION,
     SNAPSHOT_ACTION,
@@ -51,6 +52,10 @@ typedef enum actionType_e
     SKIP_BACK_ACTION,
     SKIP_FW_ACTION,
     QUIT_ACTION,
+    RANDOM_ACTION,
+    LOOP_ACTION,
+    INFO_ACTION,
+    OPEN_SUB_ACTION,
 } actionType_e;
 
 class ActionsManager : public QObject
@@ -66,26 +71,32 @@ 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();
+    void record();
+    void skipForward();
+    void skipBackward();
+protected slots:
     void fullscreen();
     void snapshot();
     void playlist();
-    void record();
     void frame();
 
+    virtual void doAction( int );
 };
 
 #endif