Home » Extra libraries, Code snippets, applications etc. » C++ language problems and code snippets » Basic library interface and separation problem
Re: Basic library interface and separation problem [message #21877 is a reply to message #21876] |
Tue, 09 June 2009 08:22  |
|
Koldo, sorry for the confusion, what I was looking was that:
When two classes need to share more then just basetypes, in my opinion you have two options:
- make one class depend on the other
- create a third class that serves as 'common' API for both.
I my case, because the two class are in separate libraries and I do not want source code dependencies between them; I've done what Didier and you suggested, created a third library that is shared/depended on by the other two which contains a class that serves as common API for both libraries.
Anyway, thanks for your swift responses!
Jan
Jan (skyhawk)
|
|
|
Goto Forum:
Current Time: Mon Jul 07 05:19:39 CEST 2025
Total time taken to generate the page: 0.04204 seconds
|