Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
videolan
vlc
Commits
c5f17c47
Commit
c5f17c47
authored
May 18, 2014
by
Jean-Baptiste Kempf
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Qt: cosmetics and update copyright for ActionsManager
parent
e161c6a7
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
12 deletions
+11
-12
modules/gui/qt4/actions_manager.cpp
modules/gui/qt4/actions_manager.cpp
+10
-11
modules/gui/qt4/actions_manager.hpp
modules/gui/qt4/actions_manager.hpp
+1
-1
No files found.
modules/gui/qt4/actions_manager.cpp
View file @
c5f17c47
/*****************************************************************************
* actions_manager.cpp : Controller for the main interface
****************************************************************************
* Copyright
(C) 2006-2008 the VideoLAN team
* Copyright
© 2009-2014 VideoLAN and VLC authors
* $Id$
*
* Authors: Jean-Baptiste Kempf <jb@videolan.org>
* Ilkka Ollakka <ileoo@videolan.org>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
...
...
@@ -30,9 +29,10 @@
#include <vlc_keys.h>
#include "actions_manager.hpp"
#include "dialogs_provider.hpp"
/* Opening Dialogs */
#include "input_manager.hpp"
#include "main_interface.hpp"
/* Show playlist */
#include "dialogs_provider.hpp"
/* Opening Dialogs */
#include "input_manager.hpp"
/* THEMIM */
#include "main_interface.hpp"
/* Show playlist */
#include "components/controller.hpp"
/* Toggle FSC controller width */
ActionsManager
::
ActionsManager
(
intf_thread_t
*
_p_i
)
...
...
@@ -40,8 +40,6 @@ ActionsManager::ActionsManager( intf_thread_t * _p_i )
p_intf
=
_p_i
;
}
ActionsManager
::~
ActionsManager
(){}
void
ActionsManager
::
doAction
(
int
id_action
)
{
switch
(
id_action
)
...
...
@@ -95,7 +93,7 @@ void ActionsManager::doAction( int id_action )
p_intf
->
p_sys
->
p_mi
->
getFullscreenControllerWidget
()
->
toggleFullwidth
();
break
;
default:
msg_
Dbg
(
p_intf
,
"Action
: %i"
,
id_action
);
msg_
Warn
(
p_intf
,
"Action not supported
: %i"
,
id_action
);
break
;
}
}
...
...
@@ -112,10 +110,10 @@ void ActionsManager::play()
}
/**
* TODO
* TODO
* This functions toggle the fullscreen mode
* If there is no video, it should first activate Visualisations...
*
This has also to be fixed in enableVideo()
* This has also to be fixed in enableVideo()
*/
void
ActionsManager
::
fullscreen
()
{
...
...
@@ -140,7 +138,8 @@ void ActionsManager::snapshot()
void
ActionsManager
::
playlist
()
{
if
(
p_intf
->
p_sys
->
p_mi
)
p_intf
->
p_sys
->
p_mi
->
togglePlaylist
();
if
(
p_intf
->
p_sys
->
p_mi
)
p_intf
->
p_sys
->
p_mi
->
togglePlaylist
();
}
void
ActionsManager
::
record
()
...
...
modules/gui/qt4/actions_manager.hpp
View file @
c5f17c47
...
...
@@ -69,7 +69,7 @@ public:
private:
ActionsManager
(
intf_thread_t
*
_p_i
);
virtual
~
ActionsManager
()
;
virtual
~
ActionsManager
()
{}
intf_thread_t
*
p_intf
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment