Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-1.1
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-1.1
Commits
9cbe5a0e
Commit
9cbe5a0e
authored
Nov 17, 2009
by
Rémi Duraffort
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
skins2: fix a redefinition of a macro.
parent
f99c55b6
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
27 additions
and
27 deletions
+27
-27
modules/gui/skins2/commands/cmd_dialogs.hpp
modules/gui/skins2/commands/cmd_dialogs.hpp
+27
-27
No files found.
modules/gui/skins2/commands/cmd_dialogs.hpp
View file @
9cbe5a0e
...
...
@@ -31,33 +31,8 @@
#include <vlc_interface.h>
#define DEFINE_DIALOGS \
DEF( ChangeSkin, showChangeSkin() ) \
DEF( FileSimple, showFileSimple( true ) ) \
DEF( File, showFile( true ) ) \
DEF( Disc, showDisc( true ) ) \
DEF( Net, showNet( true ) ) \
DEF( Messages, showMessages() ) \
DEF( Prefs, showPrefs() ) \
DEF( FileInfo, showFileInfo() ) \
\
DEF( Add, showFile( false ) ) \
DEF( PlaylistLoad, showPlaylistLoad() ) \
DEF( PlaylistSave, showPlaylistSave() ) \
DEF( Directory, showDirectory( true ) ) \
DEF( StreamingWizard, showStreamingWizard() ) \
DEF( Playlist, showPlaylist() ) \
\
DEF( ShowPopupMenu, showPopupMenu(true,INTF_DIALOG_POPUPMENU) ) \
DEF( HidePopupMenu, showPopupMenu(false,INTF_DIALOG_POPUPMENU) ) \
DEF( ShowAudioPopupMenu, showPopupMenu(true,INTF_DIALOG_AUDIOPOPUPMENU) ) \
DEF( HideAudioPopupMenu, showPopupMenu(false,INTF_DIALOG_AUDIOPOPUPMENU) ) \
DEF( ShowVideoPopupMenu, showPopupMenu(true,INTF_DIALOG_VIDEOPOPUPMENU) ) \
DEF( HideVideoPopupMenu, showPopupMenu(false,INTF_DIALOG_VIDEOPOPUPMENU) ) \
DEF( ShowMiscPopupMenu, showPopupMenu(true,INTF_DIALOG_MISCPOPUPMENU) ) \
DEF( HideMiscPopupMenu, showPopupMenu(false,INTF_DIALOG_MISCPOPUPMENU) )
#define DEF( a, c ) \
#define DEF
C
( a, c ) \
class CmdDlg##a: public CmdGeneric \
{ public: \
CmdDlg##a( intf_thread_t *pIntf ): CmdGeneric( pIntf ) { } \
...
...
@@ -70,7 +45,32 @@ class CmdDlg##a: public CmdGeneric \
virtual string getType() const { return #a" dialog"; } \
};
DEFINE_DIALOGS
DEFC
(
ChangeSkin
,
showChangeSkin
()
)
DEFC
(
FileSimple
,
showFileSimple
(
true
)
)
DEFC
(
File
,
showFile
(
true
)
)
DEFC
(
Disc
,
showDisc
(
true
)
)
DEFC
(
Net
,
showNet
(
true
)
)
DEFC
(
Messages
,
showMessages
()
)
DEFC
(
Prefs
,
showPrefs
()
)
DEFC
(
FileInfo
,
showFileInfo
()
)
DEFC
(
Add
,
showFile
(
false
)
)
DEFC
(
PlaylistLoad
,
showPlaylistLoad
()
)
DEFC
(
PlaylistSave
,
showPlaylistSave
()
)
DEFC
(
Directory
,
showDirectory
(
true
)
)
DEFC
(
StreamingWizard
,
showStreamingWizard
()
)
DEFC
(
Playlist
,
showPlaylist
()
)
DEFC
(
ShowPopupMenu
,
showPopupMenu
(
true
,
INTF_DIALOG_POPUPMENU
)
)
DEFC
(
HidePopupMenu
,
showPopupMenu
(
false
,
INTF_DIALOG_POPUPMENU
)
)
DEFC
(
ShowAudioPopupMenu
,
showPopupMenu
(
true
,
INTF_DIALOG_AUDIOPOPUPMENU
)
)
DEFC
(
HideAudioPopupMenu
,
showPopupMenu
(
false
,
INTF_DIALOG_AUDIOPOPUPMENU
)
)
DEFC
(
ShowVideoPopupMenu
,
showPopupMenu
(
true
,
INTF_DIALOG_VIDEOPOPUPMENU
)
)
DEFC
(
HideVideoPopupMenu
,
showPopupMenu
(
false
,
INTF_DIALOG_VIDEOPOPUPMENU
)
)
DEFC
(
ShowMiscPopupMenu
,
showPopupMenu
(
true
,
INTF_DIALOG_MISCPOPUPMENU
)
)
DEFC
(
HideMiscPopupMenu
,
showPopupMenu
(
false
,
INTF_DIALOG_MISCPOPUPMENU
)
)
#undef DEFC
class
CmdInteraction
:
public
CmdGeneric
{
...
...
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