[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-core-devel
Subject:    Namespaces in libkdecore
From:       Thiago Macieira <thiago.macieira () kdemail ! net>
Date:       2004-05-01 17:17:15
Message-ID: 200405011417.16549.thiago.macieira () kdemail ! net
[Download RAW message or body]


While talking to some other developers, it seems that the use of 
namespaces throughout KDE libraries is a wanted feature, despite the 
fact that it would break source compatibility.

So, having that in mind, I intend to merge libqt-addon back into 
libkdecore (whence it came in the first place, a year ago) using 
namespaces.

The question then becomes: what would be the best way?

My personal preference is to have
	KDE::Module::Class
in an include file called
	kmodule/class.h

Hence, my QStreamSocket class would become KDE::Network::StreamSocket, 
in include file knetwork/streamsocket.h (inside kdelibs/kdecore).

Do you like this proposal? Any other suggestions? Drop namespaces 
completely?

I plan to ask sysadmin for the move during this week, maybe Monday.
-- 
  Thiago Macieira  -  Registered Linux user #65028
   thiago (AT) macieira (DOT) info
    ICQ UIN: 1967141   PGP/GPG: 0x6EF45358; fingerprint:
    E067 918B B660 DBD1 105C  966C 33F5 F005 6EF4 5358

[Attachment #3 (application/pgp-signature)]

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic