From: Andreas V. <li...@br...> - 2008-08-17 13:45:09
|
Am Sun, 17 Aug 2008 11:21:03 +0200 schrieb Christopher Lang: > > Paolo, > > a question on your code: > > what is that "private" stuff all about? For example in class > "Connection" you are using this: > > class DXXAPI Connection > ... > 59 struct Private; > 60 > 61 typedef std::list<Private*> PrivatePList; > 62 > 63 Connection( Private* ); > > Could you provide a little bit of rationale about this? It somehow > confuses me. Is this simply a "private" dbus connection for example > "app to app" connection? Or is this some (to me unknown) technique to > produce c++ quasi private members in the "public" section? > > many thanks > > Chris Yes, this would be really helpful. Maybe it's a design pattern that I don't recognize. Sometimes it's really hard to understand the logic behind that "Private" stuff. Currently I use kscope to dive deeper into dbus-c++. It's really helpful to not get lost big sources. regards Andreas |