File indexing completed on 2025-01-05 04:37:09
0001 /* 0002 SPDX-FileCopyrightText: 2005 Joris Guisson <joris.guisson@gmail.com> 0003 0004 SPDX-License-Identifier: GPL-2.0-or-later 0005 */ 0006 #ifndef BTSINGLEDATACHECKER_H 0007 #define BTSINGLEDATACHECKER_H 0008 0009 #include "datachecker.h" 0010 0011 namespace bt 0012 { 0013 /** 0014 * @author Joris Guisson 0015 * 0016 * Data checker for single file torrents. 0017 */ 0018 class KTORRENT_EXPORT SingleDataChecker : public DataChecker 0019 { 0020 public: 0021 SingleDataChecker(bt::Uint32 from, bt::Uint32 to); 0022 ~SingleDataChecker() override; 0023 0024 void check(const QString &path, const Torrent &tor, const QString &dnddir, const BitSet ¤t_status) override; 0025 }; 0026 0027 } 0028 0029 #endif