1 //****************************************************************************// 2 // animcallback.h // 3 // Copyright (C) 2004 Keith Fulton <keith@paqrat.com> // 4 //****************************************************************************// 5 // This library is free software; you can redistribute it and/or modify it // 6 // under the terms of the GNU Lesser General Public License as published by // 7 // the Free Software Foundation; either version 2.1 of the License, or (at // 8 // your option) any later version. // 9 //****************************************************************************// 10 11 #ifndef CAL_ANIMCALLBACK_H 12 #define CAL_ANIMCALLBACK_H 13 14 15 #include "cal3d/global.h" 16 17 18 class CalAnimation; 19 20 struct CalAnimationCallback 21 { ~CalAnimationCallbackCalAnimationCallback22 virtual ~CalAnimationCallback() {} 23 virtual void AnimationUpdate(float anim_time,CalModel *model, void * userData) = 0; 24 virtual void AnimationComplete(CalModel *model, void * userData) = 0; 25 }; 26 27 28 #endif 29 30 //****************************************************************************// 31