Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-2-2
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-2-2
Commits
59b0ce48
Commit
59b0ce48
authored
Apr 02, 2004
by
Gildas Bazin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* modules/gui/wxwindows/wxwindows.h: use a namespace to avoid symbol conflicts.
parent
65b525b1
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
27 additions
and
24 deletions
+27
-24
modules/gui/wxwindows/wxwindows.h
modules/gui/wxwindows/wxwindows.h
+27
-24
No files found.
modules/gui/wxwindows/wxwindows.h
View file @
59b0ce48
...
@@ -52,12 +52,6 @@
...
@@ -52,12 +52,6 @@
DECLARE_LOCAL_EVENT_TYPE
(
wxEVT_DIALOG
,
0
);
DECLARE_LOCAL_EVENT_TYPE
(
wxEVT_DIALOG
,
0
);
DECLARE_LOCAL_EVENT_TYPE
(
wxEVT_INTF
,
1
);
DECLARE_LOCAL_EVENT_TYPE
(
wxEVT_INTF
,
1
);
class
OpenDialog
;
class
Playlist
;
class
Messages
;
class
FileInfo
;
class
VideoWindow
;
#define SLIDER_MAX_POS 10000
#define SLIDER_MAX_POS 10000
/* wxU is used to convert ansi/utf8 strings to unicode strings (wchar_t) */
/* wxU is used to convert ansi/utf8 strings to unicode strings (wchar_t) */
...
@@ -97,7 +91,9 @@ class VideoWindow;
...
@@ -97,7 +91,9 @@ class VideoWindow;
#define MODE_AUTHOR 2
#define MODE_AUTHOR 2
#define MODE_TITLE 3
#define MODE_TITLE 3
wxArrayString
SeparateEntries
(
wxString
);
class
PrefsTreeCtrl
;
class
AutoBuiltPanel
;
class
VideoWindow
;
/*****************************************************************************
/*****************************************************************************
* intf_sys_t: description and status of wxwindows interface
* intf_sys_t: description and status of wxwindows interface
...
@@ -139,12 +135,28 @@ struct intf_sys_t
...
@@ -139,12 +135,28 @@ struct intf_sys_t
/*****************************************************************************
/*****************************************************************************
* Prototypes
* Prototypes
*****************************************************************************/
*****************************************************************************/
wxArrayString
SeparateEntries
(
wxString
);
wxWindow
*
VideoWindow
(
intf_thread_t
*
p_intf
,
wxWindow
*
p_parent
);
namespace
wxvlc
{
class
Interface
;
class
OpenDialog
;
class
V4LDialog
;
class
SoutDialog
;
class
SubsFileDialog
;
class
Playlist
;
class
Messages
;
class
FileInfo
;
class
StreamDialog
;
class
BookmarksDialog
;
class
ItemInfoDialog
;
class
NewGroup
;
class
ExportPlaylist
;
/*****************************************************************************
/*****************************************************************************
* Classes declarations.
* Classes declarations.
*****************************************************************************/
*****************************************************************************/
class
Interface
;
/* Timer */
/* Timer */
class
Timer
:
public
wxTimer
class
Timer
:
public
wxTimer
{
{
...
@@ -171,7 +183,6 @@ public:
...
@@ -171,7 +183,6 @@ public:
virtual
~
Interface
();
virtual
~
Interface
();
void
TogglePlayButton
(
int
i_playing_status
);
void
TogglePlayButton
(
int
i_playing_status
);
// wxFlexGridSizer *frame_sizer;
wxBoxSizer
*
frame_sizer
;
wxBoxSizer
*
frame_sizer
;
wxStatusBar
*
statusbar
;
wxStatusBar
*
statusbar
;
...
@@ -261,9 +272,6 @@ private:
...
@@ -261,9 +272,6 @@ private:
vlc_bool_t
b_navig_menu
;
vlc_bool_t
b_navig_menu
;
};
};
class
StreamDialog
;
class
BookmarksDialog
;
/* Dialogs Provider */
/* Dialogs Provider */
class
DialogsProvider
:
public
wxFrame
class
DialogsProvider
:
public
wxFrame
{
{
...
@@ -315,11 +323,7 @@ public:
...
@@ -315,11 +323,7 @@ public:
};
};
/* Open Dialog */
/* Open Dialog */
class
AutoBuiltPanel
;
WX_DEFINE_ARRAY
(
AutoBuiltPanel
*
,
ArrayOfAutoBuiltPanel
);
WX_DEFINE_ARRAY
(
AutoBuiltPanel
*
,
ArrayOfAutoBuiltPanel
);
class
V4LDialog
;
class
SoutDialog
;
class
SubsFileDialog
;
class
OpenDialog
:
public
wxFrame
class
OpenDialog
:
public
wxFrame
{
{
public:
public:
...
@@ -700,7 +704,6 @@ private:
...
@@ -700,7 +704,6 @@ private:
/* Preferences Dialog */
/* Preferences Dialog */
class
PrefsTreeCtrl
;
class
PrefsDialog
:
public
wxFrame
class
PrefsDialog
:
public
wxFrame
{
{
public:
public:
...
@@ -756,9 +759,6 @@ private:
...
@@ -756,9 +759,6 @@ private:
};
};
/* Playlist */
/* Playlist */
class
ItemInfoDialog
;
class
NewGroup
;
class
ExportPlaylist
;
class
Playlist
:
public
wxFrame
class
Playlist
:
public
wxFrame
{
{
public:
public:
...
@@ -838,7 +838,6 @@ private:
...
@@ -838,7 +838,6 @@ private:
int
i_duration_sorted
;
int
i_duration_sorted
;
};
};
class
NewGroup
:
public
wxDialog
class
NewGroup
:
public
wxDialog
{
{
public:
public:
...
@@ -948,6 +947,7 @@ private:
...
@@ -948,6 +947,7 @@ private:
vlc_bool_t
b_enqueue
;
vlc_bool_t
b_enqueue
;
};
};
#endif
#endif
}
// end of wxvlc namespace
/* Menus */
/* Menus */
void
PopupMenu
(
intf_thread_t
*
_p_intf
,
wxWindow
*
p_parent
,
void
PopupMenu
(
intf_thread_t
*
_p_intf
,
wxWindow
*
p_parent
,
...
@@ -957,6 +957,8 @@ wxMenu *AudioMenu( intf_thread_t *_p_intf, wxWindow *p_parent );
...
@@ -957,6 +957,8 @@ wxMenu *AudioMenu( intf_thread_t *_p_intf, wxWindow *p_parent );
wxMenu
*
VideoMenu
(
intf_thread_t
*
_p_intf
,
wxWindow
*
p_parent
);
wxMenu
*
VideoMenu
(
intf_thread_t
*
_p_intf
,
wxWindow
*
p_parent
);
wxMenu
*
NavigMenu
(
intf_thread_t
*
_p_intf
,
wxWindow
*
p_parent
);
wxMenu
*
NavigMenu
(
intf_thread_t
*
_p_intf
,
wxWindow
*
p_parent
);
namespace
wxvlc
{
class
MenuEvtHandler
:
public
wxEvtHandler
class
MenuEvtHandler
:
public
wxEvtHandler
{
{
public:
public:
...
@@ -999,8 +1001,6 @@ private:
...
@@ -999,8 +1001,6 @@ private:
int
i_item_id
;
int
i_item_id
;
};
};
wxWindow
*
VideoWindow
(
intf_thread_t
*
p_intf
,
wxWindow
*
p_parent
);
class
BookmarksDialog
:
public
wxFrame
class
BookmarksDialog
:
public
wxFrame
{
{
public:
public:
...
@@ -1030,6 +1030,9 @@ private:
...
@@ -1030,6 +1030,9 @@ private:
wxListView
*
list_ctrl
;
wxListView
*
list_ctrl
;
};
};
}
// end of wxvlc namespace
using
namespace
wxvlc
;
static
inline
int
ConvertHotkeyModifiers
(
int
i_hotkey
)
static
inline
int
ConvertHotkeyModifiers
(
int
i_hotkey
)
{
{
int
i_accel_flags
=
0
;
int
i_accel_flags
=
0
;
...
...
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