00001 /*************************************************************************** 00002 updatepeakstrategy.h - description 00003 ------------------- 00004 begin : Tue Nov 12 2002 00005 copyright : (C) 2002 by Peter Eschler 00006 email : eschler@users.sourceforge.net 00007 ***************************************************************************/ 00008 00009 /*************************************************************************** 00010 * * 00011 * This program is free software; you can redistribute it and/or modify * 00012 * it under the terms of the GNU General Public License as published by * 00013 * the Free Software Foundation; either version 2 of the License, or * 00014 * (at your option) any later version. * 00015 * * 00016 ***************************************************************************/ 00017 00018 #ifndef QwavPEAKUPDATESTRATEGY_H 00019 #define QwavPEAKUPDATESTRATEGY_H 00020 00021 //--------------------------------------------------------------------------- 00022 // Includes: system 00023 //--------------------------------------------------------------------------- 00024 00025 #include <string> 00026 00027 //--------------------------------------------------------------------------- 00028 // Includes: project 00029 //--------------------------------------------------------------------------- 00030 00031 #include "qwavdefines.h" 00032 00033 using namespace std; 00034 Qwav_BEGIN_NAMESPACE 00035 00036 //--------------------------------------------------------------------------- 00037 // Forward declarations: 00038 //--------------------------------------------------------------------------- 00039 00040 00041 class QwavPeakVector; 00042 00047 //--------------------------------------------------------------------------- 00048 // Class: QwavPeakUpdater 00049 //--------------------------------------------------------------------------- 00050 00069 class QWAV_EXPORTIMPORT QwavPeakUpdater 00070 { 00071 00072 public: 00073 00076 virtual ~QwavPeakUpdater(); 00077 00083 virtual void updatePeaks(QwavPeakVector* pv) = 0; 00084 00089 virtual string getName() const = 0; 00090 00091 protected: 00094 QwavPeakUpdater(); 00095 00096 00097 }; 00098 00099 Qwav_END_NAMESPACE 00100 00101 #endif // QwavPEAKUPDATESTRATEGY_H