00001 /*************************************************************************** 00002 dataprovider.h - description 00003 ------------------- 00004 begin : Mon Mar 1 2004 00005 copyright : (C) 2004 by Lynn Hazan 00006 email : lynn.hazan.myrealbox.com 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 DATAPROVIDER_H 00019 #define DATAPROVIDER_H 00020 00021 // include files for QT 00022 #include <qobject.h> 00023 00024 // include files for KDE 00025 #include <kurl.h> 00026 00033 class DataProvider : public QObject{ 00034 Q_OBJECT 00035 public: 00039 DataProvider(KURL fileUrl); 00040 virtual ~DataProvider(); 00041 00048 virtual void requestData(long startTime,long endTime,QObject* initiator,long startTimeInRecordingUnits=0){}; 00049 00051 virtual inline bool isThreadsRunning(){return false;}; 00052 00053 protected: 00055 QString fileName; 00056 00057 }; 00058 00059 #endif