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

List:       kmail-devel
Subject:    Re: Kmail API?
From:       Waldo Bastian <bastian () kde ! org>
Date:       2000-07-31 20:40:07
[Download RAW message or body]

On Mon, 31 Jul 2000, Don Sanders wrote:
> I'm cool with that but I think we have problems with the datatypes. KMail
> doesn't use the stl, I don't want to use 'string' as a data type. Also I'm
> not sure about these 'int folderHandle'. I think we want to use char*
> folderPath where folderPath is the file name of the mail folder to be
> operated on.

If you use "char *" as datatype you need to specify the encoding to use as 
well. If you want to make it compatible with stuff we get from the command 
line it would be "according to the users LOCALE", e.g. QString::local8Bit()

Cheers,
Waldo
-- 
Make way, KDE/Linux is coming to a desktop near you!

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

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