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

List:       kde-commits
Subject:    kdelibs/dcop/dcopidl2cpp
From:       Lubos Lunak <l.lunak () email ! cz>
Date:       2002-07-27 12:05:15
[Download RAW message or body]


kdelibs/dcop/dcopidl2cpp stub.cpp,1.8,1.9 stubimpl.cpp,1.18,1.19
Author: lunakl


Modified Files:
         stub.cpp stubimpl.cpp
Log Message:
Handle correctly the case, when the base class is not DCOPObject (like,
when I'm lazy, use my KUniqueApplication based app class and just add
DCOP methods to it). Which means:
- #include the necessary .h file for the base stub
- in the constructor, always explicitly call DCOPStub constructor and none
else, because there's virtual inheritance used, apparently because of the
very unlikely case people will multiply inherit DCOP interfaces
(see your favourite C++ book for virtual base classes constructors calling)

Also, there's no need for the stub methods to be virtual. And I guess I could
add the necessary stubs implementations (like for KUniqueApplication) to kdelibs.
*Sigh*, I wish I wasn't so lazy, I wouldn't have to do all this.



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

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