1 /* Copyright (c) MediaArea.net SARL. All Rights Reserved. 2 * 3 * Use of this source code is governed by a BSD-style license that can 4 * be found in the License.html file in the root of the source tree. 5 */ 6 7 //+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 8 // 9 // Give information about a lot of media files 10 // Dispatch the file to be tested by all containers 11 // 12 //+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 13 14 //--------------------------------------------------------------------------- 15 #ifndef Reader__BaseH 16 #define Reader__BaseH 17 //--------------------------------------------------------------------------- 18 19 //--------------------------------------------------------------------------- 20 #include "MediaInfo/MediaInfo_Internal.h" 21 //--------------------------------------------------------------------------- 22 23 namespace MediaInfoLib 24 { 25 26 //*************************************************************************** 27 /// @brief Reader__Base 28 //*************************************************************************** 29 30 class Reader__Base 31 { 32 public : 33 //Constructor/Destructor ~Reader__Base()34 virtual ~Reader__Base() {} 35 36 //Format testing 37 virtual size_t Format_Test(MediaInfo_Internal* MI, String File_Name)=0; Format_Test_PerParser_Continue(MediaInfo_Internal *)38 virtual size_t Format_Test_PerParser_Continue (MediaInfo_Internal* /*MI*/) {return 0;}; 39 #if MEDIAINFO_SEEK Format_Test_PerParser_Seek(MediaInfo_Internal *,size_t,int64u,int64u)40 virtual size_t Format_Test_PerParser_Seek (MediaInfo_Internal*, size_t, int64u, int64u) {return 0;}; 41 #endif //MEDIAINFO_SEEK 42 }; 43 44 } //NameSpace 45 #endif 46