Files
haiku-beta6/src/servers/net/PPPServer.h
T
Waldemar Kornewald 0a628cf2fc Nothing special. Just bringing the cvs version up-to-date with my private version.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7206 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-04-15 16:05:40 +00:00

38 lines
886 B
C++

//-----------------------------------------------------------------------
// This software is part of the OpenBeOS distribution and is covered
// by the OpenBeOS license.
//
// Copyright (c) 2004 Waldemar Kornewald, [email protected]
//-----------------------------------------------------------------------
#ifndef _PPP_SERVER__H
#define _PPP_SERVER__H
#include <Handler.h>
#include <PPPInterfaceListener.h>
class SimpleMessageFilter;
class PPPServer : public BHandler {
public:
PPPServer();
virtual ~PPPServer();
virtual void MessageReceived(BMessage *message);
// the SimpleMessageFilter routes ppp_server messages to this handler
private:
void InitInterfaces();
bool AskBeforeDialing(ppp_interface_id id);
void HandleReportMessage(BMessage *message);
private:
SimpleMessageFilter *fFilter;
PPPInterfaceListener *fListener;
};
#endif