X-Git-Url: http://git.indexdata.com/?p=yazproxy-moved-to-github.git;a=blobdiff_plain;f=src%2Fmsg-thread.h;h=e17307a132e552277f7a26593184205ac95150ef;hp=b7e4e577be0be8ad7be23a92201563a030c600e0;hb=82b0575e71269b113acb2bb7c7541a470ed07c9a;hpb=ce193eb0444478dc61e832497ab7f4a7ae73c0c6 diff --git a/src/msg-thread.h b/src/msg-thread.h index b7e4e57..e17307a 100644 --- a/src/msg-thread.h +++ b/src/msg-thread.h @@ -1,7 +1,5 @@ -/* $Id: msg-thread.h,v 1.10 2006-03-30 13:29:23 adam Exp $ - Copyright (c) 1998-2006, Index Data. - -This file is part of the yazproxy. +/* This file is part of YAZ proxy + Copyright (C) 1998-2011 Index Data YAZ proxy is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free @@ -14,32 +12,28 @@ FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License -along with YAZ proxy; see the file LICENSE. If not, write to the -Free Software Foundation, 59 Temple Place - Suite 330, Boston, MA -02111-1307, USA. - */ - -#include -#include +along with this program; if not, write to the Free Software +Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA +*/ #include #include -class IMsg_Thread { +class YAZ_EXPORT IMsg_Thread { public: virtual IMsg_Thread *handle() = 0; virtual void result() = 0; virtual ~IMsg_Thread(); }; -class Msg_Thread_Queue_List { +class YAZ_EXPORT Msg_Thread_Queue_List { friend class Msg_Thread_Queue; private: IMsg_Thread *m_item; Msg_Thread_Queue_List *m_next; }; -class Msg_Thread_Queue { +class YAZ_EXPORT Msg_Thread_Queue { public: Msg_Thread_Queue(); void enqueue(IMsg_Thread *in); @@ -49,7 +43,7 @@ class Msg_Thread_Queue { Msg_Thread_Queue_List *m_list; }; -class Msg_Thread : public yazpp_1::ISocketObserver { +class YAZ_EXPORT Msg_Thread : public yazpp_1::ISocketObserver { class Private; public: Msg_Thread(yazpp_1::ISocketObservable *obs, int no_threads); @@ -65,6 +59,7 @@ private: /* * Local variables: * c-basic-offset: 4 + * c-file-style: "Stroustrup" * indent-tabs-mode: nil * End: * vim: shiftwidth=4 tabstop=8 expandtab