On Tue, Feb 22, 2005 at 09:20:19PM -0500, Kevin C. Krinke wrote:
On Wed, 2005-02-23 at 01:20 +0100, Torsten Schoenfeld wrote:
Aloha,
GStreamer is a powerful and pretty popular media framework. GNOME already uses it extensively, and KDE just started to. It's based on GLib and uses its object oriented C API style. The objects have names like GstQueue or GstElement.
... Gnome2::Gst:: makes sense to me.
Except it's not tied to Gnome. KDE users it too.
One option would be to use a very clear top level name space and used 'aliased' internally to call it 'Gst'.
http://search.cpan.org/~ovid/aliased-0.11/lib/aliased.pm
Another alternative is to let the user choose. Take a look at Yves' Data::Dumper::Streamer module. During the installation, the user has a choice of additionally installing it in the DDS namespace (this does not occur by default).
http://search.cpan.org/~yves/Data-Dump-Streamer-1.10/lib/Data/Dump/Streamer.pm#Installing_DDS_as_an_alias
(unwrap as required).
David