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
Hide 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()
...
@@ -218,15 +218,15 @@ bool OS2Factory::init()
// Initialize the resource path
// Initialize the resource path
char
*
datadir
=
config_GetUserDir
(
VLC_DATA_DIR
);
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
);
free
(
datadir
);
datadir
=
config_GetDataDir
();
datadir
=
config_GetDataDir
();
m_resourcePath
.
push_back
(
(
string
)
datadir
+
"
\\
skins"
);
m_resourcePath
.
push_back
(
(
st
d
::
st
ring
)
datadir
+
"
\\
skins"
);
m_resourcePath
.
push_back
(
(
string
)
datadir
+
"
\\
skins2"
);
m_resourcePath
.
push_back
(
(
st
d
::
st
ring
)
datadir
+
"
\\
skins2"
);
m_resourcePath
.
push_back
(
(
string
)
datadir
+
"
\\
share
\\
skins"
);
m_resourcePath
.
push_back
(
(
st
d
::
st
ring
)
datadir
+
"
\\
share
\\
skins"
);
m_resourcePath
.
push_back
(
(
string
)
datadir
+
"
\\
share
\\
skins2"
);
m_resourcePath
.
push_back
(
(
st
d
::
st
ring
)
datadir
+
"
\\
share
\\
skins2"
);
m_resourcePath
.
push_back
(
(
string
)
datadir
+
"
\\
vlc
\\
skins"
);
m_resourcePath
.
push_back
(
(
st
d
::
st
ring
)
datadir
+
"
\\
vlc
\\
skins"
);
m_resourcePath
.
push_back
(
(
string
)
datadir
+
"
\\
vlc
\\
skins2"
);
m_resourcePath
.
push_back
(
(
st
d
::
st
ring
)
datadir
+
"
\\
vlc
\\
skins2"
);
free
(
datadir
);
free
(
datadir
);
// All went well
// All went well
...
@@ -424,7 +424,7 @@ void OS2Factory::changeCursor( CursorType_t type ) const
...
@@ -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
;
struct
dirent
*
file
;
DIR
*
dir
;
DIR
*
dir
;
...
@@ -436,7 +436,7 @@ void OS2Factory::rmDir( const string &rPath )
...
@@ -436,7 +436,7 @@ void OS2Factory::rmDir( const string &rPath )
while
(
(
file
=
readdir
(
dir
))
)
while
(
(
file
=
readdir
(
dir
))
)
{
{
struct
stat
statbuf
;
struct
stat
statbuf
;
string
filename
=
file
->
d_name
;
st
d
::
st
ring
filename
=
file
->
d_name
;
// Skip "." and ".."
// Skip "." and ".."
if
(
filename
==
"."
||
filename
==
".."
)
if
(
filename
==
"."
||
filename
==
".."
)
...
...
modules/gui/skins2/os2/os2_factory.hpp
View file @
b31b1488
...
@@ -88,10 +88,10 @@ public:
...
@@ -88,10 +88,10 @@ public:
virtual
OSPopup
*
createOSPopup
();
virtual
OSPopup
*
createOSPopup
();
/// Get the directory separator
/// 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
/// Get the resource path
virtual
const
list
<
string
>
&
getResourcePath
()
const
virtual
const
std
::
list
<
std
::
string
>
&
getResourcePath
()
const
{
return
m_resourcePath
;
}
{
return
m_resourcePath
;
}
/// Get the screen size
/// Get the screen size
...
@@ -116,10 +116,10 @@ public:
...
@@ -116,10 +116,10 @@ public:
virtual
void
changeCursor
(
CursorType_t
type
)
const
;
virtual
void
changeCursor
(
CursorType_t
type
)
const
;
/// Delete a directory recursively
/// 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 to find the GenericWindow associated with a OS2Window
map
<
HWND
,
GenericWindow
*>
m_windowMap
;
std
::
map
<
HWND
,
GenericWindow
*>
m_windowMap
;
/// Get the parent window handle
/// Get the parent window handle
HWND
getParentWindow
()
{
return
m_hParentClientWindow
;
}
HWND
getParentWindow
()
{
return
m_hParentClientWindow
;
}
...
@@ -149,9 +149,9 @@ private:
...
@@ -149,9 +149,9 @@ private:
/// Cursor type
/// Cursor type
mutable
CursorType_t
m_cursorType
;
mutable
CursorType_t
m_cursorType
;
/// Directory separator
/// Directory separator
const
string
m_dirSep
;
const
st
d
::
st
ring
m_dirSep
;
/// Resource path
/// 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:
...
@@ -59,7 +59,7 @@ private:
/// Map associating special (i.e. non ascii) virtual key codes with
/// Map associating special (i.e. non ascii) virtual key codes with
/// internal vlc key codes
/// internal vlc key codes
map
<
int
,
int
>
virtKeyToVlcKey
;
std
::
map
<
int
,
int
>
virtKeyToVlcKey
;
/// Helper function to find the modifier in a Windows message
/// Helper function to find the modifier in a Windows message
int
getMod
(
MPARAM
mp
)
const
;
int
getMod
(
MPARAM
mp
)
const
;
...
...
modules/gui/skins2/os2/os2_popup.cpp
View file @
b31b1488
...
@@ -78,7 +78,7 @@ void OS2Popup::hide()
...
@@ -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
;
MENUITEM
mi
;
...
...
modules/gui/skins2/os2/os2_popup.hpp
View file @
b31b1488
...
@@ -42,7 +42,7 @@ public:
...
@@ -42,7 +42,7 @@ public:
virtual
void
hide
();
virtual
void
hide
();
/// Append a new menu item with the given label to the popup menu
/// 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
/// Create a dummy menu item to separate sections
virtual
void
addSeparator
(
int
pos
);
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