From 6c7a1bab05abfc09a66304ba67864095865e8a6a Mon Sep 17 00:00:00 2001 From: Reuben Thomas Date: Sat, 16 Apr 2005 15:18:29 +0000 Subject: Fix for newer g++ from Thomas Lussnig. --- ncpd/channel.h | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'ncpd') diff --git a/ncpd/channel.h b/ncpd/channel.h index e9bf3ea..4643b36 100644 --- a/ncpd/channel.h +++ b/ncpd/channel.h @@ -37,7 +37,7 @@ class ppsocket; class channel { public: channel(ncp *ncpController); - virtual ~channel(); + virtual ~channel() = 0; void newNcpController(ncp *ncpController); void setNcpChannel(int chan); @@ -45,22 +45,22 @@ public: void ncpSend(bufferStore &a); void setVerbose(short int _verbose); short int getVerbose(); - virtual void ncpDataCallback(bufferStore &a) = NULL; - virtual char *getNcpRegisterName() = NULL; + virtual void ncpDataCallback(bufferStore &a) = 0; + virtual char *getNcpRegisterName() = 0; void ncpConnect(); void ncpRegister(); void ncpDoRegisterAck(int ch, const char *name); - virtual void ncpConnectAck() = NULL; - virtual void ncpConnectTerminate() = NULL; - virtual void ncpConnectNak() = NULL; - virtual void ncpRegisterAck() = NULL; + virtual void ncpConnectAck() = 0; + virtual void ncpConnectTerminate() = 0; + virtual void ncpConnectNak() = 0; + virtual void ncpRegisterAck() = 0; void ncpDisconnect(); short int ncpProtocolVersion(); const char *getNcpConnectName(); void setNcpConnectName(const char *); // The following two calls are used for destructing an instance - virtual bool terminate(); // Mainloop will terminate this class if true + bool terminate(); // Mainloop will terminate this class if true void terminateWhenAsked(); PcServer *ncpFindPcServer(const char *name); -- cgit v1.2.3