Go to the FreeLists Home Page Home Signup Help Login
 



[openbeosnetteam] || [Date Prev] [07-2003 Date Index] [Date Next] || [Thread Prev] [07-2003 Thread Index] [Thread Next]

[openbeosnetteam] Re: KPPPFSM.cpp,1.1,1.2

  • From: "Axel Dörfler" <axeld@xxxxxxxxxxxxxxxx>
  • To: openbeosnetteam@xxxxxxxxxxxxx
  • Date: Thu, 24 Jul 2003 12:48:05 +0200 CEST
"Waldemar Kornewald" <Waldemar.Kornewald@xxxxxx> wrote:
> > If not you could do something like this:
> > namespace PPP {
> >     class FinalStateMachine()
> > };
> > 
> > Just a suggestion; since you are doing the work, it's up to you to 
> > decide :-)
> There is no way to have a clean interface without making this class 
> publicly accessible. Otherwise the FSM events (mentioned in the RFC) 
> will be spread over two or more classes which makes it harder to 
> read.

Namespaces don't make classes private - just use either:

PPP::FinalStateMachine

or

using namespace PPP;
FinalStateMachine

or what have you thought of?

Adios...
   Axel.






[ Home | Signup | Help | Login | Archives | Lists ]

All trademarks and copyrights within the FreeLists archives are owned by their respective owners.
Everything else ©2007 Avenir Technologies, LLC.