X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=include%2Fyaz%2B%2B%2Fpdu-observer.h;fp=include%2Fyaz%2B%2B%2Fpdu-observer.h;h=2b90a8bb50381ed1730e50b3e9aeb82aafc32869;hb=8ebe1a2bcb6bec3d8c4b4077b4c85830d9398c5d;hp=3a0627a311570d2b6863e9638118d844b4c2c2c7;hpb=e63ffd23f48e25b606fea163c96ea77a89b9c6cf;p=yazpp-moved-to-github.git diff --git a/include/yaz++/pdu-observer.h b/include/yaz++/pdu-observer.h index 3a0627a..2b90a8b 100644 --- a/include/yaz++/pdu-observer.h +++ b/include/yaz++/pdu-observer.h @@ -2,12 +2,14 @@ * Copyright (c) 1998-2005, Index Data. * See the file LICENSE for details. * - * $Id: pdu-observer.h,v 1.7 2005-06-25 15:53:19 adam Exp $ + * $Id: pdu-observer.h,v 1.8 2005-09-22 12:40:45 adam Exp $ */ #ifndef YAZ_PDU_OBSERVER_H #define YAZ_PDU_OBSERVER_H +#include + namespace yazpp_1 { class IPDU_Observer; @@ -36,6 +38,8 @@ class YAZ_EXPORT IPDU_Observable { virtual void idleTime (int timeout) = 0; /// Get peername virtual const char *getpeername() = 0; + + virtual ~IPDU_Observable() = 0; }; /** Protocol Data Unit Observer. @@ -55,6 +59,8 @@ class YAZ_EXPORT IPDU_Observer { /// Make clone of observer using IPDU_Observable interface virtual IPDU_Observer *sessionNotify( IPDU_Observable *the_PDU_Observable, int fd) = 0; + + virtual ~IPDU_Observer() = 0; }; };