6 #ifndef SWIFT_MISC_NETWORK_REMOTEFILELIST_H
7 #define SWIFT_MISC_NETWORK_REMOTEFILELIST_H
12 #include <QStringList>
21 namespace swift::misc::network
37 QStringList getNames(
bool sorted =
true)
const;
40 QStringList getBaseNamesPlusSize(
bool sorted =
true)
const;
43 CRemoteFile findFirstByNameOrDefault(
const QString &name)
const;
46 CRemoteFile findFirstContainingNameOrDefault(
const QString &name, Qt::CaseSensitivity cs)
const;
49 CRemoteFile findFirstByMatchingBaseNameOrDefault(
const QString &name)
const;
55 qint64 getTotalFileSize()
const;
58 QString getTotalFileSizeHumanReadable()
const;
Generic ordered container with value semantics.
Generic sequential container with value semantics.
CSequence()=default
Default constructor.
Value object encapsulating a list of remote files.
#define SWIFT_DECLARE_SEQUENCE_MIXINS(Namespace, T, List)
Explicit template declaration of mixins for a CSequence subclass to be placed near the top of the hea...
#define SWIFT_MISC_EXPORT
Export a class or function from the library.