Changeset 5ca8805a8f359c45f477e123ea5a97c6a3276373
- Timestamp:
- 07/19/06 13:53:51
(2 years ago)
- Author:
- Clément Stenac <zorglub@videolan.org>
- git-committer:
- Clément Stenac <zorglub@videolan.org> 1153310031 +0000
- git-parent:
[a8fcedd2dde5382673e6b39c559d3b93ac638297]
- git-author:
- Clément Stenac <zorglub@videolan.org> 1153310031 +0000
- Message:
Add support for modules help strings (Closes:#413)
-
Files:
-
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
| r3619c8a |
r5ca8805 |
|
| 113 | 113 | p_module->psz_shortname = NULL; \ |
|---|
| 114 | 114 | p_module->psz_longname = MODULE_STRING; \ |
|---|
| | 115 | p_module->psz_help = NULL; \ |
|---|
| 115 | 116 | p_module->pp_shortcuts[ 0 ] = MODULE_STRING; \ |
|---|
| 116 | 117 | p_module->i_cpu = 0; \ |
|---|
| … | … | |
| 186 | 187 | p_submodule->psz_longname = desc |
|---|
| 187 | 188 | |
|---|
| | 189 | #define set_help( help ) \ |
|---|
| | 190 | p_submodule->psz_help = help |
|---|
| | 191 | |
|---|
| 188 | 192 | #define set_capability( cap, score ) \ |
|---|
| 189 | 193 | p_submodule->psz_capability = cap; \ |
|---|
| r408ffc7 |
r5ca8805 |
|
| 58 | 58 | * directfb: Direct Framebuffer video output |
|---|
| 59 | 59 | * directory : input module to read files in a directory |
|---|
| 60 | | * distort: miscellaneous image effects filter. |
|---|
| 61 | 60 | * dmo: a DirectMediaObject decoder that uses DirectMedia to decode video (WMV3) |
|---|
| 62 | 61 | * dolby_surround_decoder: simple decoder for dolby surround encoded streams |
|---|
| … | … | |
| 133 | 132 | * linear_resampler: linear audio resampler |
|---|
| 134 | 133 | * lirc: Linux infrared control module |
|---|
| 135 | | * livedotcom: rtp demux based on liveMedia (live.com) |
|---|
| | 134 | * live555: rtp demux based on liveMedia (live555.com) |
|---|
| 136 | 135 | * logger: file logger plugin |
|---|
| 137 | 136 | * logo: video filter to put a logo on the video |
|---|
| 138 | 137 | * lpcm: LPCM decoder |
|---|
| 139 | | * m3u: PLS, M3U, ASX and B4S playlist parser |
|---|
| 140 | 138 | * m4a: MPEG-4 Audio Stream demuxer |
|---|
| 141 | 139 | * m4v: MPEG-4 Video Stream demuxer |
|---|
| … | … | |
| 219 | 217 | * screensaver: screensaver disabling module |
|---|
| 220 | 218 | * sdl_image: SDL-based image decoder |
|---|
| 221 | | * sgimb: SGIMB referrer files parser |
|---|
| 222 | 219 | * shout: Shoutcast services discovery |
|---|
| 223 | 220 | * showintf: shows the main interface |
|---|
| r8e394d7 |
r5ca8805 |
|
| 72 | 72 | set_description( N_("Headphone virtual spatialization effect") ); |
|---|
| 73 | 73 | set_shortname( _("Headphone effect") ); |
|---|
| | 74 | set_help( MODULE_DESCRIPTION ); |
|---|
| 74 | 75 | set_category( CAT_AUDIO ); |
|---|
| 75 | 76 | set_subcategory( SUBCAT_AUDIO_AFILTER ); |
|---|
| r64e68cb |
r5ca8805 |
|
| 385 | 385 | } |
|---|
| 386 | 386 | else |
|---|
| 387 | | head = QString( p_module->psz_longname ); |
|---|
| | 387 | { |
|---|
| | 388 | head = QString( qfu(p_module->psz_longname) ); |
|---|
| | 389 | if( p_module->psz_help ) |
|---|
| | 390 | { |
|---|
| | 391 | head.append( "\n" ); |
|---|
| | 392 | head.append( qfu( p_module->psz_help ) ); |
|---|
| | 393 | } |
|---|
| | 394 | } |
|---|
| 388 | 395 | |
|---|
| 389 | 396 | QLabel *label = new QLabel( head, this ); |
|---|