00001 00002 // 00003 // $Id: QAvatarListener.h,v 1.3 2004/01/14 22:09:04 scharver Exp $ 00004 // 00005 // Author: Chris Scharver 00006 // Email: scharver@evl.uic.edu 00007 // Copyright (c) 2003 Electronic Visualization Laboratory, 00008 // University of Illinois at Chicago 00009 // 00010 // Permission is hereby granted, free of charge, to any person 00011 // obtaining a copy of this software and associated documentation 00012 // files (the "Software"), to deal in the Software without 00013 // restriction, including without limitation the rights to use, copy, 00014 // modify, merge, publish, distribute, sublicense, and/or sell copies 00015 // of the Software, and to permit persons to whom the Software is 00016 // furnished to do so, subject to the following conditions: 00017 // 00018 // The above copyright notice and this permission notice shall be 00019 // included in all copies or substantial portions of the Software. 00020 // 00021 // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, 00022 // EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF 00023 // MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND 00024 // NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT 00025 // HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, 00026 // WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 00027 // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER 00028 // DEALINGS IN THE SOFTWARE. 00029 // 00031 00032 #ifndef _QAVATARLISTENER_H 00033 #define _QAVATARLISTENER_H 00034 00035 class QAvatar; 00036 00042 class QAvatarListener 00043 { 00044 public: 00046 virtual ~QAvatarListener() {} 00047 00049 virtual void avatarArrive(QAvatar*) = 0; 00050 00052 virtual void avatarAux(QAvatar*) = 0; 00053 00055 virtual void avatarBye(QAvatar*) = 0; 00056 00058 virtual void avatarHello(QAvatar*) = 0; 00059 00061 virtual void avatarTracker(QAvatar*) = 0; 00062 }; 00063 00064 #endif /* _QAVATARLISTENER_H */