KCDDB

sites.h
1/*
2 SPDX-FileCopyrightText: 2004 Richard Lärkäng <nouseforaname@home.se>
3
4 SPDX-License-Identifier: LGPL-2.0-or-later
5*/
6
7#ifndef KCDDB_SITES_H
8#define KCDDB_SITES_H
9
10#include "cddb.h"
11#include "lookup.h"
12#include "kcddb_export.h"
13#include <QList>
14
15namespace KCDDB
16{
17 class Mirror
18 {
19 public:
20 QString address;
21 Lookup::Transport transport;
22 uint port;
23 QString description;
24 } ;
25
26 class KCDDB_EXPORT Sites
27 {
28 public:
29 Sites();
30
31 QList<Mirror> siteList();
32 private:
33 QList<Mirror> readData(const QByteArray& data);
34 Mirror parseLine(const QString& line);
35 } ;
36}
37
38#endif
39
40// vim:tabstop=2:shiftwidth=2:expandtab:cinoptions=(s,U1,m1
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri Nov 29 2024 11:58:24 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.