forgotten commit. disabled until egl is adapted.
[AROS-Contrib.git] / FryingPan / DTLib / wCUESession.h
blob5377ffddcf58451f10b46e9757af5bc5662c6cce
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 _WCUESESSION_H_
21 #define _WCUESESSION_H_
23 #include "IFileWriter.h"
24 #include "DTLib.h"
25 #include <Generic/String.h>
27 using namespace GenNS;
29 class wCUESession : public IFileWriter
31 protected:
32 const IOptItem *sess;
33 String name;
34 BPTR fcue;
35 BPTR fbin;
37 protected:
38 wCUESession(const char* sFileName, const IOptItem *it, EDtError &rc);
39 virtual ~wCUESession();
40 public:
41 static IFileWriter *openWrite(const char* sFile, const IOptItem *it, EDtError &rc);
42 virtual const char* getName();
43 virtual bool writeData(void* pBuff, int pLen);
44 virtual bool setUp();
45 virtual void cleanUp();
46 virtual void deleteFiles();
47 virtual void dispose();
48 virtual void setBlockCount(unsigned long);
49 virtual void setBlockSize(unsigned short);
50 static bool static_isAudio();
51 static bool static_isData();
52 static bool static_isSession();
53 static const char *static_getName();
57 #endif