00001 /* this is the file containing a thread class for use with 00002 The vuVolume Key Frame Animator 00003 00004 This is written so that the run can be shunted to this and 00005 this will check every so often to ensure that the user has 00006 not requested that the run by stopped. 00007 00008 This only works where vuThread works. 00009 00010 Written By Christopher Steinbach 00011 March 2002 00012 */ 00013 00014 #ifndef vuKeyFrameAnimatorThread_h__ 00015 #define vuKeyFrameAnimatorThread_h__ 00016 00017 #include "vuThread.h" 00018 #include "vuKeyFramerDialog.h" 00019 00020 class vuKeyFramerDialog; 00021 00022 class vuKFThread : public vuThread 00023 00024 { 00025 public: 00026 vuKFThread (vuKeyFramerDialog *KF); 00027 virtual ~vuKFThread (); 00028 00029 public: 00030 virtual void run(int whatsup, void* data); 00031 00032 private: 00033 vuKeyFramerDialog *m_KeyFramer; 00034 00035 bool m_IsRunning; 00036 }; 00037 00038 #endif