File indexing completed on 2025-03-23 04:28:11
0001 /* 0002 SPDX-FileCopyrightText: 2008-2009 Sebastian Trueg <trueg@k3b.org> 0003 SPDX-FileCopyrightText: 1998-2009 Sebastian Trueg <trueg@k3b.org> 0004 0005 SPDX-License-Identifier: GPL-2.0-or-later 0006 */ 0007 0008 #ifndef _K3B_DISKINFO_P_H_ 0009 #define _K3B_DISKINFO_P_H_ 0010 0011 #include "k3bmsf.h" 0012 #include "k3bdeviceglobals.h" 0013 0014 #include <QByteArray> 0015 #include <QSharedData> 0016 0017 namespace K3b { 0018 namespace Device { 0019 class DiskInfoPrivate : public QSharedData 0020 { 0021 public: 0022 DiskInfoPrivate() 0023 : mediaType(MEDIA_UNKNOWN), 0024 currentProfile(MEDIA_UNKNOWN), 0025 diskState(STATE_UNKNOWN), 0026 lastSessionState(STATE_UNKNOWN), 0027 bgFormatState(BG_FORMAT_INVALID), 0028 numSessions(0), 0029 numTracks(0), 0030 rewritable(false) { 0031 } 0032 0033 MediaType mediaType; 0034 int currentProfile; 0035 0036 MediaState diskState; 0037 MediaState lastSessionState; 0038 BackGroundFormattingState bgFormatState; 0039 int numSessions; 0040 int numTracks; 0041 int numLayers; // only for DVD media 0042 int rewritable; 0043 0044 K3b::Msf capacity; 0045 K3b::Msf usedCapacity; 0046 K3b::Msf firstLayerSize; 0047 0048 QByteArray mediaId; 0049 }; 0050 } 0051 } 0052 0053 #endif