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
e4e2ff7f
Commit
e4e2ff7f
authored
Oct 11, 2008
by
Geoffroy Couprie
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
WinCE intf: get rid of VLC_OBJECT_MODULE
parent
559e9799
Changes
2
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
105 additions
and
123 deletions
+105
-123
modules/gui/wince/preferences.cpp
modules/gui/wince/preferences.cpp
+98
-117
modules/gui/wince/preferences_widgets.cpp
modules/gui/wince/preferences_widgets.cpp
+7
-6
No files found.
modules/gui/wince/preferences.cpp
View file @
e4e2ff7f
This diff is collapsed.
Click to expand it.
modules/gui/wince/preferences_widgets.cpp
View file @
e4e2ff7f
...
...
@@ -287,7 +287,7 @@ ModuleConfigControl::ModuleConfigControl( vlc_object_t *p_this,
int
*
py_pos
)
:
ConfigControl
(
p_this
,
p_item
,
parent
,
hInst
)
{
vlc_list_t
*
p_list
;
module_t
*
*
p_list
;
module_t
*
p_parser
;
label
=
CreateWindow
(
_T
(
"STATIC"
),
_FROMMB
(
p_item
->
psz_text
),
...
...
@@ -306,14 +306,15 @@ ModuleConfigControl::ModuleConfigControl( vlc_object_t *p_this,
*
py_pos
+=
15
+
10
;
/* build a list of available modules */
p_list
=
vlc_list_find
(
p_this
,
VLC_OBJECT_MODULE
,
FIND_ANYWHERE
);
p_list
=
module_list_get
(
NULL
);
ComboBox_AddString
(
combo
,
_T
(
"Default"
)
);
ComboBox_SetItemData
(
combo
,
0
,
(
void
*
)
NULL
);
ComboBox_SetCurSel
(
combo
,
0
);
//ComboBox_SetText( combo, _T("Default") );
for
(
int
i_index
=
0
;
i_index
<
p_list
->
i_count
;
i_index
++
)
for
(
size_t
i_index
=
0
;
p_list
[
i_index
];
i_index
++
)
{
p_parser
=
(
module_t
*
)
p_list
->
p_values
[
i_index
].
p_object
;
p_parser
=
p_list
[
i_index
]
;
if
(
module_provides
(
p_parser
,
p_item
->
psz_type
)
)
{
...
...
@@ -324,11 +325,11 @@ ModuleConfigControl::ModuleConfigControl( vlc_object_t *p_this,
module_get_object
(
p_parser
))
)
{
ComboBox_SetCurSel
(
combo
,
i_index
);
//ComboBox_SetText( combo, _FROMMB(
p_parser->psz_longname
) );
//ComboBox_SetText( combo, _FROMMB(
module_GetLongName(p_parser)
) );
}
}
}
vlc_list_releas
e
(
p_list
);
module_list_fre
e
(
p_list
);
}
ModuleConfigControl
::~
ModuleConfigControl
()
...
...
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