Don't do an "or" operation of the return IDs with TAGBASE_NATMEG
[AROS-Contrib.git] / FryingPan / Optical / OptSession.h
blob13b6d466ff13990629c624ff13dca152a9d5efb2
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 _OPTSESSION_H_
21 #define _OPTSESSION_H_
24 * this is for optical's internal use *only*
26 #include "OptItem.h"
28 class OptDisc;
30 class OptSession : public OptItem
32 public:
33 OptSession(IOptItem *parent);
35 virtual EItemType getItemType() const;
36 virtual void setItemType(EItemType lNewType);
37 virtual EDataType getDataType() const;
38 virtual void setDataType(EDataType lNewType);
39 virtual uint16 getPreGapSize() const;
40 virtual void setPreGapSize(uint16 lNewSize);
41 virtual uint16 getPostGapSize() const;
42 virtual void setPostGapSize(uint16 lNewSize);
43 virtual int32 getStartAddress() const;
44 virtual void setStartAddress(int32 lNewAddress);
45 virtual int32 getEndAddress() const;
46 virtual void setEndAddress(int32 lNewAddress);
47 virtual void setDataBlockCount(int32 lNewSize);
49 virtual int32 getDataBlockCount() const;
51 virtual void setProtected(bool bProtected);
52 virtual void setPreemphasized(bool bPreemph);
54 virtual uint32 getDiscID() const;
55 virtual void setDiscID(uint32 id);
57 virtual uint16 getFlags() const;
58 virtual void setFlags(uint16 lNewFlags);
60 virtual IOptItem *addChild();
63 #endif