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
b31b1488
Commit
b31b1488
authored
Jul 06, 2015
by
KO Myung-Hun
Committed by
Jean-Baptiste Kempf
Jul 06, 2015
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
skins2: os2: prepend std:: explicitly
Signed-off-by:
Jean-Baptiste Kempf
<
jb@videolan.org
>
parent
ab41e0e2
Changes
5
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
18 additions
and
18 deletions
+18
-18
modules/gui/skins2/os2/os2_factory.cpp
modules/gui/skins2/os2/os2_factory.cpp
+9
-9
modules/gui/skins2/os2/os2_factory.hpp
modules/gui/skins2/os2/os2_factory.hpp
+6
-6
modules/gui/skins2/os2/os2_loop.hpp
modules/gui/skins2/os2/os2_loop.hpp
+1
-1
modules/gui/skins2/os2/os2_popup.cpp
modules/gui/skins2/os2/os2_popup.cpp
+1
-1
modules/gui/skins2/os2/os2_popup.hpp
modules/gui/skins2/os2/os2_popup.hpp
+1
-1
No files found.
modules/gui/skins2/os2/os2_factory.cpp
View file @
b31b1488
...
...
@@ -218,15 +218,15 @@ bool OS2Factory::init()
// Initialize the resource path
char
*
datadir
=
config_GetUserDir
(
VLC_DATA_DIR
);
m_resourcePath
.
push_back
(
(
string
)
datadir
+
"
\\
skins"
);
m_resourcePath
.
push_back
(
(
st
d
::
st
ring
)
datadir
+
"
\\
skins"
);
free
(
datadir
);
datadir
=
config_GetDataDir
();
m_resourcePath
.
push_back
(
(
string
)
datadir
+
"
\\
skins"
);
m_resourcePath
.
push_back
(
(
string
)
datadir
+
"
\\
skins2"
);
m_resourcePath
.
push_back
(
(
string
)
datadir
+
"
\\
share
\\
skins"
);
m_resourcePath
.
push_back
(
(
string
)
datadir
+
"
\\
share
\\
skins2"
);
m_resourcePath
.
push_back
(
(
string
)
datadir
+
"
\\
vlc
\\
skins"
);
m_resourcePath
.
push_back
(
(
string
)
datadir
+
"
\\
vlc
\\
skins2"
);
m_resourcePath
.
push_back
(
(
st
d
::
st
ring
)
datadir
+
"
\\
skins"
);
m_resourcePath
.
push_back
(
(
st
d
::
st
ring
)
datadir
+
"
\\
skins2"
);
m_resourcePath
.
push_back
(
(
st
d
::
st
ring
)
datadir
+
"
\\
share
\\
skins"
);
m_resourcePath
.
push_back
(
(
st
d
::
st
ring
)
datadir
+
"
\\
share
\\
skins2"
);
m_resourcePath
.
push_back
(
(
st
d
::
st
ring
)
datadir
+
"
\\
vlc
\\
skins"
);
m_resourcePath
.
push_back
(
(
st
d
::
st
ring
)
datadir
+
"
\\
vlc
\\
skins2"
);
free
(
datadir
);
// All went well
...
...
@@ -424,7 +424,7 @@ void OS2Factory::changeCursor( CursorType_t type ) const
}
void
OS2Factory
::
rmDir
(
const
string
&
rPath
)
void
OS2Factory
::
rmDir
(
const
st
d
::
st
ring
&
rPath
)
{
struct
dirent
*
file
;
DIR
*
dir
;
...
...
@@ -436,7 +436,7 @@ void OS2Factory::rmDir( const string &rPath )
while
(
(
file
=
readdir
(
dir
))
)
{
struct
stat
statbuf
;
string
filename
=
file
->
d_name
;
st
d
::
st
ring
filename
=
file
->
d_name
;
// Skip "." and ".."
if
(
filename
==
"."
||
filename
==
".."
)
...
...
modules/gui/skins2/os2/os2_factory.hpp
View file @
b31b1488
...
...
@@ -88,10 +88,10 @@ public:
virtual
OSPopup
*
createOSPopup
();
/// Get the directory separator
virtual
const
string
&
getDirSeparator
()
const
{
return
m_dirSep
;
}
virtual
const
st
d
::
st
ring
&
getDirSeparator
()
const
{
return
m_dirSep
;
}
/// Get the resource path
virtual
const
list
<
string
>
&
getResourcePath
()
const
virtual
const
std
::
list
<
std
::
string
>
&
getResourcePath
()
const
{
return
m_resourcePath
;
}
/// Get the screen size
...
...
@@ -116,10 +116,10 @@ public:
virtual
void
changeCursor
(
CursorType_t
type
)
const
;
/// Delete a directory recursively
virtual
void
rmDir
(
const
string
&
rPath
);
virtual
void
rmDir
(
const
st
d
::
st
ring
&
rPath
);
/// Map to find the GenericWindow associated with a OS2Window
map
<
HWND
,
GenericWindow
*>
m_windowMap
;
std
::
map
<
HWND
,
GenericWindow
*>
m_windowMap
;
/// Get the parent window handle
HWND
getParentWindow
()
{
return
m_hParentClientWindow
;
}
...
...
@@ -149,9 +149,9 @@ private:
/// Cursor type
mutable
CursorType_t
m_cursorType
;
/// Directory separator
const
string
m_dirSep
;
const
st
d
::
st
ring
m_dirSep
;
/// Resource path
list
<
string
>
m_resourcePath
;
std
::
list
<
std
::
string
>
m_resourcePath
;
};
...
...
modules/gui/skins2/os2/os2_loop.hpp
View file @
b31b1488
...
...
@@ -59,7 +59,7 @@ private:
/// Map associating special (i.e. non ascii) virtual key codes with
/// internal vlc key codes
map
<
int
,
int
>
virtKeyToVlcKey
;
std
::
map
<
int
,
int
>
virtKeyToVlcKey
;
/// Helper function to find the modifier in a Windows message
int
getMod
(
MPARAM
mp
)
const
;
...
...
modules/gui/skins2/os2/os2_popup.cpp
View file @
b31b1488
...
...
@@ -78,7 +78,7 @@ void OS2Popup::hide()
}
void
OS2Popup
::
addItem
(
const
string
&
rLabel
,
int
pos
)
void
OS2Popup
::
addItem
(
const
st
d
::
st
ring
&
rLabel
,
int
pos
)
{
MENUITEM
mi
;
...
...
modules/gui/skins2/os2/os2_popup.hpp
View file @
b31b1488
...
...
@@ -42,7 +42,7 @@ public:
virtual
void
hide
();
/// Append a new menu item with the given label to the popup menu
virtual
void
addItem
(
const
string
&
rLabel
,
int
pos
);
virtual
void
addItem
(
const
st
d
::
st
ring
&
rLabel
,
int
pos
);
/// Create a dummy menu item to separate sections
virtual
void
addSeparator
(
int
pos
);
...
...
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