X-Git-Url: http://code.vuplus.com/gitweb/?p=vuplus_dvbapp;a=blobdiff_plain;f=lib%2Fbase%2Fidatasource.h;fp=lib%2Fbase%2Fidatasource.h;h=0000000000000000000000000000000000000000;hp=0daa5267f0b70e6a43fc7da48ef35bfb497afa86;hb=453fc1c6f82fa3b6ae983059eb55ad822860a5eb;hpb=7199d3c37e7e7065bd6943702b5864fa5186b9a8 diff --git a/lib/base/idatasource.h b/lib/base/idatasource.h deleted file mode 100644 index 0daa526..0000000 --- a/lib/base/idatasource.h +++ /dev/null @@ -1,19 +0,0 @@ -#ifndef __lib_base_idatasource_h -#define __lib_base_idatasource_h - -#include - -class iDataSource: public iObject -{ -public: - /* NOTE: should only be used to get current position or filelength */ - virtual off_t lseek(off_t offset, int whence)=0; - - /* NOTE: you must be able to handle short reads! */ - virtual ssize_t read(off_t offset, void *buf, size_t count)=0; /* NOTE: this is what you in normal case have to use!! */ - - virtual off_t length()=0; - virtual int valid()=0; -}; - -#endif