File indexing completed on 2024-12-01 05:20:02

0001 /*
0002     SPDX-FileCopyrightText: 2002 Szombathelyi György <gyurco@users.sourceforge.net>
0003     SPDX-FileCopyrightText: 2004-2022 Krusader Krew <https://krusader.org>
0004 
0005     SPDX-License-Identifier: GPL-2.0-or-later
0006 */
0007 
0008 #ifndef KISODIRECTORY_H
0009 #define KISODIRECTORY_H
0010 
0011 // QtCore
0012 #include <QString>
0013 
0014 #include <KArchive/KArchive>
0015 
0016 class KIsoDirectory : public KArchiveDirectory
0017 {
0018 public:
0019     KIsoDirectory(KArchive *archive,
0020                   const QString &name,
0021                   int access,
0022                   time_t date,
0023                   time_t adate,
0024                   time_t cdate,
0025                   const QString &user,
0026                   const QString &group,
0027                   const QString &symlink);
0028     ~KIsoDirectory();
0029     time_t date() const
0030     {
0031         return m_date;
0032     }
0033     time_t adate() const
0034     {
0035         return m_adate;
0036     }
0037     time_t cdate() const
0038     {
0039         return m_cdate;
0040     }
0041 
0042 private:
0043     time_t m_date, m_adate, m_cdate;
0044 };
0045 
0046 #endif