Commit Graph

28 Commits

Author SHA1 Message Date
Rémi Denis-Courmont
55abf4ec4b Revert "sd: Make most members private."
This reverts commit 786292c3f2.

Apparently, compiling libvlccore (on any platform) is too much to ask.
2010-02-24 17:56:03 +02:00
Rémi Denis-Courmont
350b105276 Revert "sd: Export internals with a getters."
This reverts commit 027b44025e.
2010-02-24 17:54:49 +02:00
Pierre d'Herbemont
027b44025e sd: Export internals with a getters.
lua need them. Also fix an obvious leak.
2010-02-24 14:15:59 +01:00
Pierre d'Herbemont
786292c3f2 sd: Make most members private. 2010-02-24 13:46:39 +01:00
Rémi Denis-Courmont
ee73bdeaf5 No need for sprintf() here
This reverts commit af688c8f29.
2010-02-10 17:46:39 +02:00
Jakob Leben
af688c8f29 services_discovery: fix embedding longname in name, take 2
The longname argument to macro #define VLC_SD_PROBE_HELPER(name, longname, cat)
is usually in the form like N_("some_longname"). Literalization of the argument by
doing # longname in the macro will result in a literal "N_(\"some_longname\")"
instead of translating the long name.
2010-02-10 02:30:12 +01:00
Jakob Leben
2a2dd55119 services_discovery: implement SD categories and use in Qt interface 2010-02-10 02:12:36 +01:00
Rémi Denis-Courmont
bb14295fac Revert "services_discovery: fix embedding translated longname into name"
This fixes a buffer overflow and a warning.
This reverts commit caa08dce07.
2010-02-09 21:45:25 +02:00
Jakob Leben
caa08dce07 services_discovery: fix embedding translated longname into name 2010-02-09 19:00:45 +01:00
Rémi Denis-Courmont
191fab819d Automatically pass the long name in the SD probe helper 2010-02-06 17:08:27 +02:00
Rémi Denis-Courmont
6e160dae0f SD: initialize config chain also in LibVLC media discovery, fix leaks 2010-02-04 18:50:08 +02:00
Fabio Ritrovato
0a69bbfd9e luasd: use a configuration chain to pass parameters to SD
Signed-off-by: Rémi Denis-Courmont <remi@remlab.net>
2010-02-04 18:16:13 +02:00
Rémi Denis-Courmont
ace8442cc7 probe: helpers for services discovery 2009-12-21 21:42:36 +02:00
Rémi Denis-Courmont
dccd947213 vlc_sd_GetNames: add object parameter 2009-12-21 20:07:20 +02:00
Rémi Denis-Courmont
5aa9519392 Remove useless parameter 2009-01-10 20:53:49 +02:00
Rémi Denis-Courmont
7276a43dcd SD: remove psz_module parameter, shorter function names 2009-01-10 19:28:34 +02:00
Rémi Denis-Courmont
c4877da890 Remove buggy and unused function 2009-01-10 19:20:28 +02:00
Rémi Denis-Courmont
64fb2cd16e Restore SD human-readable names 2009-01-10 19:11:31 +02:00
Pierre d'Herbemont
4e9d2f92cd services_discovery: Partially fix service discovery. We yet need to find a way to properly get the localized name... grr.
Previously we properly initialized the localized name of the object in Open(). Now Open() also runs Run() so we are kind of stuck. Please fix.
2008-09-20 23:12:35 +02:00
Rémi Denis-Courmont
a77e2404c8 simplify service discoveries
By the way, the event management seems quite broken. Events may occur
before _Create returns (even before this commit)...
2008-09-20 22:10:54 +03:00
Jean-Paul Saman
ebd800345f Add a bunch of \file doxygen comments 2008-08-13 22:22:58 +08:00
Rémi Denis-Courmont
c0f4bfc5d8 Headers: use non-reserved identifiers for multi-inclusion protection 2008-08-11 19:34:48 +03:00
Rémi Denis-Courmont
fbb8255dcf Remove __LIBVLC__ test 2008-06-06 19:07:55 +03:00
Sam Hocevar
5122c9d9e9 Various spelling fixes. 2008-03-21 21:25:49 +00:00
Rémi Denis-Courmont
1b09c02c7e Include assert.h when needed 2008-01-24 16:08:13 +00:00
Antoine Cellerier
acbd355a0b Use the services_discovery_GetServicesNames() function in the qt4 and wxwidgets (i don't compile the wxwidgets module so there might be a few warnings/errors). This removes comprehension of how VLC modules work from the interface plugins. This change still needs to be done in the modules/gui/macosx/playlist.m file. 2007-11-11 21:08:36 +00:00
Antoine Cellerier
07c7cdcb21 Add argument to module_GetModulesNamesForCapability (and services_discovery_GetServicesNames) to also get the longnames. 2007-11-11 20:32:43 +00:00
Pierre d'Herbemont
222960cff9 playlist/services_discovery.c: Isolate more the services_discovery code from the playlist code by having two separate header. Partly revert [22536]. 2007-10-11 01:02:50 +00:00