Re: glibmm: Creating a DBus namespace?
- From: Jacky Alcine <jacky alcine thesii org>
- To: gtkmm-list gnome org
- Subject: Re: glibmm: Creating a DBus namespace?
- Date: Tue, 15 Feb 2011 04:57:08 -0500
That makes sense. For the sake of cleanliness; is it possible to perhaps
rename the C object notations as well? I mean, the type GDBus is a bit
misleading; as it's part of Gio.
On 02/15/2011 04:53 AM, Milosz Derezynski wrote:
> The "namespacing" in the C layer is very confusing. First, GDBus is part of
> GIO, but types are named GDBus*, not GioDBus*.
>
> Then there are the "methods", which are named g_dbus_*, which would much
> rather suggest being a part of Glib itself, rather than GIO, but so is
> everything else in GIO (GFile*, g_file_*).
>
> It's not easy for me to come to an inner consensus here but since there is
> already a Gio namespace in glibmm and even a Gio::DBus one, I'd prefer to
> see these classes move into Gio::DBus::*, but definitely not into GDBus::*.
>
> On Tue, Feb 15, 2011 at 10:37 AM, Jacky Alcine <jacky alcine thesii org>wrote:
>
>> Sounds like a very good idea, promotes OOP-style coding.
>>
>> On 02/15/2011 04:19 AM, Murray Cumming wrote:
>>> We now have several Gio::DBus* classes:
>>> http://library.gnome.org/devel/glibmm/unstable/group__DBus.html
>>>
>>> I'm thinking of moving these into a Gio::DBus namespace, so we'd have
>>> Gio::DBus::Connection, instead of Gio::DBusConnection.
>>>
>>> Or maybe GDBus::Connection?
>>>
>>
>> --
>> *Jacky Alcine* Blog <http://jdevelopthis.blogspot.com> | Wintermute Blog
>> <http://wintermuteai.wordpress.com> | Ubuntu Wiki
>> <https://wiki.ubuntu.com/jackyalcine> | Launchpad
>> <https://launchpad.net/~jackyalcine>
>>
>> _______________________________________________
>> gtkmm-list mailing list
>> gtkmm-list gnome org
>> http://mail.gnome.org/mailman/listinfo/gtkmm-list
>>
>>
>
>
>
>
> _______________________________________________
> gtkmm-list mailing list
> gtkmm-list gnome org
> http://mail.gnome.org/mailman/listinfo/gtkmm-list
--
*Jacky Alcine* Blog <http://jdevelopthis.blogspot.com> | Wintermute Blog
<http://wintermuteai.wordpress.com> | Ubuntu Wiki
<https://wiki.ubuntu.com/jackyalcine> | Launchpad
<https://launchpad.net/~jackyalcine>
begin:vcard
fn:Jacky Alcine
n:Alcine;Jacky
org:SII;Development
email;internet:jacky alcine thesii org
title:Mr
x-mozilla-html:TRUE
url:http://www.thesii.org
version:2.1
end:vcard
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]