]> git.sesse.net Git - vlc/blobdiff - modules/gui/skins2/events/evt_menu.hpp
live555 : enable/disable tracks on the fly
[vlc] / modules / gui / skins2 / events / evt_menu.hpp
index f439be53e9825abea8e863d2699f0dc377c910b0..b960549ee4d3ac8fa014ae9f3f122dd7db0ef003 100644 (file)
@@ -16,9 +16,9 @@
  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  * GNU General Public License for more details.
  *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
+ * You should have received a copy of the GNU General Public License along
+ * with this program; if not, write to the Free Software Foundation, Inc.,
+ * 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
  *****************************************************************************/
 
 #ifndef EVT_MENU_HPP
 /// Mouse move event
 class EvtMenu: public EvtGeneric
 {
-    public:
-        EvtMenu( intf_thread_t *pIntf, int itemId ):
-            EvtGeneric( pIntf ), m_itemId( itemId ) {}
-        virtual ~EvtMenu() {}
+public:
+    EvtMenu( intf_thread_t *pIntf, int itemId )
+           : EvtGeneric( pIntf ), m_itemId( itemId ) { }
+    virtual ~EvtMenu() { }
+    virtual const string getAsString() const { return "menu"; }
 
-        /// Return the type of event
-        virtual const string getAsString() const { return "menu"; }
+    int getItemId() const { return m_itemId; }
 
-        // Getter
-        int getItemId() const { return m_itemId; }
-
-    private:
-        /// Coordinates of the mouse (absolute or relative)
-        int m_itemId;
+private:
+    /// Coordinates of the mouse (absolute or relative)
+    int m_itemId;
 };