File indexing completed on 2024-04-28 04:49:54

0001 /*
0002     SPDX-FileCopyrightText: 1998-2007 Sebastian Trueg <trueg@k3b.org>
0003     SPDX-License-Identifier: GPL-2.0-or-later
0004 */
0005 
0006 #ifndef _K3B_VIDEODVD_PTT_H_
0007 #define _K3B_VIDEODVD_PTT_H_
0008 
0009 #include "k3b_export.h"
0010 
0011 #include "k3bvideodvd.h"
0012 #include "k3bvideodvdtime.h"
0013 
0014 namespace K3b {
0015     namespace VideoDVD
0016     {
0017         class LIBK3B_EXPORT PTT
0018         {
0019         public:
0020             PTT() {}
0021 
0022             unsigned int pttNumber() const { return m_pttNum; }
0023 
0024             const Time& playbackTime() const { return m_playbackTime; }
0025 
0026             unsigned int firstSector() const { return m_firstSector; }
0027             unsigned int lastSector() const { return m_lastSector; }
0028 
0029         private:
0030             unsigned int m_pttNum;
0031             Time m_playbackTime;
0032 
0033             unsigned int m_firstSector;
0034             unsigned int m_lastSector;
0035 
0036             friend class VideoDVD;
0037         };
0038     }
0039 }
0040 
0041 #endif