X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=include%2Fyaz%2B%2B%2Fsocket-observer.h;fp=include%2Fyaz%2B%2B%2Fsocket-observer.h;h=bd2425cb335db5793fc6df7e8acb4598e48a0367;hb=8ebe1a2bcb6bec3d8c4b4077b4c85830d9398c5d;hp=34c5e3185eb204c57953f0ccbe051a46ee7c7bc2;hpb=e63ffd23f48e25b606fea163c96ea77a89b9c6cf;p=yazpp-moved-to-github.git diff --git a/include/yaz++/socket-observer.h b/include/yaz++/socket-observer.h index 34c5e31..bd2425c 100644 --- a/include/yaz++/socket-observer.h +++ b/include/yaz++/socket-observer.h @@ -2,7 +2,7 @@ * Copyright (c) 1998-2005, Index Data. * See the file LICENSE for details. * - * $Id: socket-observer.h,v 1.6 2005-06-25 15:53:19 adam Exp $ + * $Id: socket-observer.h,v 1.7 2005-09-22 12:40:45 adam Exp $ */ #ifndef YAZ_SOCKET_OBSERVER_H @@ -54,6 +54,7 @@ class YAZ_EXPORT ISocketObservable { /// Specify timeout virtual void timeoutObserver(ISocketObserver *observer, int timeout)=0; + virtual ~ISocketObservable() = 0; }; /** Socket Observer. @@ -65,6 +66,7 @@ class YAZ_EXPORT ISocketObserver { public: /// Notify the observer that something happened to socket virtual void socketNotify(int event) = 0; + virtual ~ISocketObserver() = 0; }; };