disable the unrecognized nls and x flags
[AROS-Contrib.git] / FryingPan / DTLib / IFileReader.h
blob95fa456b70ff1de8b2cbd942b441e21609994bc8
1 /*
2 * FryingPan - Amiga CD/DVD Recording Software (User Interface and supporting Libraries only)
3 * Copyright (C) 2001-2011 Tomasz Wiszkowski Tomasz.Wiszkowski at gmail.com
4 *
5 * This program is free software; you can redistribute it and/or
6 * modify it under the terms of the GNU Lesser General Public License
7 * as published by the Free Software Foundation; either version 2.1
8 * of the License, or (at your option) any later version.
9 *
10 * This program is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 * GNU Lesser General Public License for more details.
15 * You should have received a copy of the GNU Lesser General Public License
16 * along with this program; if not, write to the Free Software
17 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
20 #ifndef _IFILEREADER_H_
21 #define _IFILEREADER_H_
23 #include <Generic/Generic.h>
24 struct IOptItem;
26 class IFileReader
28 public: // pure-virtual
29 virtual const char* getName() = 0;
30 virtual const char* getTrackName() = 0;
31 virtual bool readData(const IOptItem* item, void* pBuff, int pLen) = 0;
32 virtual bool setUp() = 0;
33 virtual void cleanUp() = 0;
34 virtual void dispose() = 0;
35 virtual unsigned long getBlockCount() = 0;
36 virtual unsigned short getBlockSize() = 0;
37 virtual bool isAudio() = 0;
38 virtual bool isData() = 0;
39 virtual bool fillOptItem(IOptItem *item) = 0;
42 #endif
43 // vim: ts=3 et