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

List:       koffice-devel
Subject:    Re: kross debug messages
From:       Sebastian Sauer <mail () dipe ! org>
Date:       2006-02-21 3:06:56
Message-ID: 200602210406.56715.mail () dipe ! org
[Download RAW message or body]

Hi *,

>>>>Additional proposal: let's use
>>>>
>>>>#define krossdbg kdDebug(30008)
>>>>#define krosswarn kdWarning(30008)
>>>
>> 
>> Someone who know about cross should tell me which header I should add
>> those defines to, though.

lib/kross/krossconfig.h is designed for such "global" like options. With the 
#define's in that file we are already able to enable/disable debug on a 
per-file and/or per-logic base. So, it's somewhat more flexible then one 
single debug-area. But for sure it would be nice to be able to have a 
debug-area for it and to disable every king of debugging-output that way via 
kdebugdialog :)
 
> BTW, Sebastian:
> 
> are we going to have defined KROSS_VERSION_MAJOR, KROSS_VERSION_MINOR and
> int versionMajor();
> int versionMinor(); for KOffice1.5?
> It's safer to have this. Everything like in kexi/kexidb/global.h....

Ah. yes. We have  that already for each plugin, but not for the lib itself. 
So, add it and check the version on communication between the libs or would 
that duplicate the functionality of -version-info 1:0:0 in 
lib/kross/Makefile.global ?

-- 
Sebastian Sauer aka dipesh[sebsauer]
http://www.dipe.org/public_key.asc
Fingerprint: 8F1E 219B 16E6 4EC7 29CC F408 E193 65E2 9134 2221
Coder in http://www.koffice.org && http://www.kmldonkey.org
_______________________________________________
koffice-devel mailing list
koffice-devel@kde.org
https://mail.kde.org/mailman/listinfo/koffice-devel

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

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