29 lines
1.8 KiB
Text
29 lines
1.8 KiB
Text
$NetBSD: patch-ad,v 1.1 2007/12/01 13:55:12 rillig Exp $
|
|
|
|
--- protolib/common/eventDispatcher.h.orig 2002-01-14 17:29:05.000000000 +0000
|
|
+++ protolib/common/eventDispatcher.h 2007-12-01 13:41:07.000000000 +0000
|
|
@@ -121,13 +121,13 @@ class EventDispatcher
|
|
// If this optional socket installer is used instead of
|
|
// explicit calls to "AddSocketInput()", the UdpSocket "installData"
|
|
// should be inited to a pointer to the EventDispatcher instance.
|
|
- static bool EventDispatcher::SocketInstaller(UdpSocketCmd cmd,
|
|
+ static bool SocketInstaller(UdpSocketCmd cmd,
|
|
UdpSocket* theSocket,
|
|
const void* installData);
|
|
|
|
// (TBD) Provide a static TimerInstaller so EventDispatcher
|
|
// users can use their own ProtocolTimerMgrs if desired
|
|
- static bool EventDispatcher::TimerInstaller(
|
|
+ static bool TimerInstaller(
|
|
ProtocolTimerInstallCmd cmd,
|
|
double delay,
|
|
ProtocolTimerMgr* timerMgr,
|
|
@@ -162,7 +162,7 @@ class EventDispatcher
|
|
bool InstallTimerMgr(ProtocolTimerMgr* timerMgr, double delay);
|
|
bool ModifyTimerMgr(ProtocolTimerMgr* timerMgr, double delay);
|
|
bool RemoveTimerMgr(ProtocolTimerMgr* timerMgr);
|
|
- static bool EventDispatcher::PrivateTimerInstaller(ProtocolTimerInstallCmd cmd,
|
|
+ static bool PrivateTimerInstaller(ProtocolTimerInstallCmd cmd,
|
|
double theDelay,
|
|
ProtocolTimerMgr* timerMgr,
|
|
const void* installData);
|