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
7647873a
Commit
7647873a
authored
Jan 19, 2011
by
Erwan Tulou
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
skins2: remove dead code
parent
d272e598
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
1 addition
and
18 deletions
+1
-18
modules/gui/skins2/src/os_factory.hpp
modules/gui/skins2/src/os_factory.hpp
+0
-3
modules/gui/skins2/src/vout_window.cpp
modules/gui/skins2/src/vout_window.cpp
+1
-7
modules/gui/skins2/win32/win32_factory.hpp
modules/gui/skins2/win32/win32_factory.hpp
+0
-2
modules/gui/skins2/x11/x11_display.hpp
modules/gui/skins2/x11/x11_display.hpp
+0
-3
modules/gui/skins2/x11/x11_factory.hpp
modules/gui/skins2/x11/x11_factory.hpp
+0
-3
No files found.
modules/gui/skins2/src/os_factory.hpp
View file @
7647873a
...
@@ -132,9 +132,6 @@ public:
...
@@ -132,9 +132,6 @@ public:
/// Delete a directory recursively
/// Delete a directory recursively
virtual
void
rmDir
(
const
string
&
rPath
)
=
0
;
virtual
void
rmDir
(
const
string
&
rPath
)
=
0
;
/// Get Display
virtual
char
*
getDisplay
()
=
0
;
protected:
protected:
// Protected because it's a singleton
// Protected because it's a singleton
OSFactory
(
intf_thread_t
*
pIntf
)
:
SkinObject
(
pIntf
)
{
}
OSFactory
(
intf_thread_t
*
pIntf
)
:
SkinObject
(
pIntf
)
{
}
...
...
modules/gui/skins2/src/vout_window.cpp
View file @
7647873a
...
@@ -46,9 +46,7 @@ VoutWindow::VoutWindow( intf_thread_t *pIntf, vout_window_t* pWnd,
...
@@ -46,9 +46,7 @@ VoutWindow::VoutWindow( intf_thread_t *pIntf, vout_window_t* pWnd,
#ifdef X11_SKINS
#ifdef X11_SKINS
m_pWnd
->
handle
.
xid
=
getOSHandle
();
m_pWnd
->
handle
.
xid
=
getOSHandle
();
if
(
m_pWnd
->
handle
.
xid
)
m_pWnd
->
display
.
x11
=
NULL
;
m_pWnd
->
display
.
x11
=
OSFactory
::
instance
(
getIntf
()
)
->
getDisplay
();
#else
#else
m_pWnd
->
handle
.
hwnd
=
getOSHandle
();
m_pWnd
->
handle
.
hwnd
=
getOSHandle
();
#endif
#endif
...
@@ -61,10 +59,6 @@ VoutWindow::~VoutWindow()
...
@@ -61,10 +59,6 @@ VoutWindow::~VoutWindow()
{
{
if
(
m_pWnd
)
if
(
m_pWnd
)
{
{
#ifdef X11_SKINS
free
(
m_pWnd
->
display
.
x11
);
m_pWnd
->
display
.
x11
=
NULL
;
#endif
vlc_object_release
(
m_pWnd
);
vlc_object_release
(
m_pWnd
);
}
}
}
}
...
...
modules/gui/skins2/win32/win32_factory.hpp
View file @
7647873a
...
@@ -118,8 +118,6 @@ public:
...
@@ -118,8 +118,6 @@ public:
HWND
getParentWindow
()
{
return
m_hParentWindow
;
}
HWND
getParentWindow
()
{
return
m_hParentWindow
;
}
char
*
getDisplay
()
{
return
NULL
;
}
/// Callback function (Windows Procedure)
/// Callback function (Windows Procedure)
static
LRESULT
CALLBACK
Win32Proc
(
HWND
hwnd
,
UINT
uMsg
,
static
LRESULT
CALLBACK
Win32Proc
(
HWND
hwnd
,
UINT
uMsg
,
WPARAM
wParam
,
LPARAM
lParam
);
WPARAM
wParam
,
LPARAM
lParam
);
...
...
modules/gui/skins2/x11/x11_display.hpp
View file @
7647873a
...
@@ -83,9 +83,6 @@ public:
...
@@ -83,9 +83,6 @@ public:
/// Get the main window ID
/// Get the main window ID
Window
getMainWindow
()
const
{
return
m_mainWindow
;
}
Window
getMainWindow
()
const
{
return
m_mainWindow
;
}
/// Get the x11_display string (to be freed by caller)
char
*
getX11Display
()
{
return
NULL
;
}
/// EWMH spec
/// EWMH spec
Atom
m_net_wm_supported
;
Atom
m_net_wm_supported
;
Atom
m_net_wm_state
;
Atom
m_net_wm_state
;
...
...
modules/gui/skins2/x11/x11_factory.hpp
View file @
7647873a
...
@@ -142,9 +142,6 @@ public:
...
@@ -142,9 +142,6 @@ public:
/// Get the timer loop
/// Get the timer loop
X11TimerLoop
*
getTimerLoop
()
const
{
return
m_pTimerLoop
;
}
X11TimerLoop
*
getTimerLoop
()
const
{
return
m_pTimerLoop
;
}
/// Get x11_display string (to be freed by caller)
char
*
getDisplay
()
{
return
m_pDisplay
->
getX11Display
();
}
private:
private:
/// X11 display
/// X11 display
X11Display
*
m_pDisplay
;
X11Display
*
m_pDisplay
;
...
...
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