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

List:       pykde
Subject:    Re: [PyKDE] namespaces in sip
From:       Gerard Vermeulen <gvermeul () grenoble ! cnrs ! fr>
Date:       2003-10-16 6:56:55
[Download RAW message or body]

On Wed, 15 Oct 2003 13:46:49 -0800
Patrick Stinson <ajole-1@gci.net> wrote:

[ .. ]
> 
> I'm working on modifying my sip project to include a lot of classes all 
> contained in the same C++ namespace. What is the correct way to organize the 
> sip files? Do all classes in the namespace have to be declared within the 
> namespace in the same sip file? 
> 
> Right now I have added the namespace decl and brackets in each class' sip 
> file, all of which are included in the module file, just like in PyQt. When 
> it's like this, I get a sip parse error on the line including the second file 
> with a namespace decl. 
>
Jim is very modest.  You should get the sources of PyKDE to steal all recipes
he is using (at least that is what I do, if the sip files in PyQt do not
provide an answer).

Gerard 

_______________________________________________
PyKDE mailing list    PyKDE@mats.imk.fraunhofer.de
http://mats.imk.fraunhofer.de/mailman/listinfo/pykde
[prev in list] [next in list] [prev in thread] [next in thread] 

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