1 /*************************************************************************** 2 \fn DIA_working.cpp 3 \brief UI that handles working state with cancel & percent 4 5 copyright : (C) 2003/2009 by mean fixounet@free.fr 6 7 8 9 ***************************************************************************/ 10 11 /*************************************************************************** 12 * * 13 * This program is free software; you can redistribute it and/or modify * 14 * it under the terms of the GNU General Public License as published by * 15 * the Free Software Foundation; either version 2 of the License, or * 16 * (at your option) any later version. * 17 * * 18 ***************************************************************************/ 19 20 #ifndef __DIA_AUDIO_TRACKS__ 21 #define __DIA_AUDIO_TRACKS__ 22 23 #include "ADM_coreUI6_export.h" 24 25 class PoolOfAudioTracks; 26 class ActiveAudioTracks; 27 /** 28 \class DIA_audioTrackBase 29 */ 30 class DIA_audioTrackBase 31 { 32 protected : 33 PoolOfAudioTracks *_pool; 34 ActiveAudioTracks *_srcActive; 35 public: 36 void *_priv; DIA_audioTrackBase(PoolOfAudioTracks * pool,ActiveAudioTracks * active)37 DIA_audioTrackBase( PoolOfAudioTracks *pool, ActiveAudioTracks *active ) 38 { 39 _pool=pool; 40 _srcActive=active; 41 }; ~DIA_audioTrackBase()42 virtual ~DIA_audioTrackBase(){}; 43 virtual bool run(void)=0; 44 45 }; 46 ADM_COREUI6_EXPORT DIA_audioTrackBase *createAudioTrack(PoolOfAudioTracks *pool, ActiveAudioTracks *active ); 47 #endif 48 // EOF 49 50