KCDDB

synchttplookup.h
1 /*
2  SPDX-FileCopyrightText: 2002 Rik Hemsley (rikkus) <[email protected]>
3  SPDX-FileCopyrightText: 2002 Benjamin Meyer <[email protected]>
4 
5  SPDX-License-Identifier: LGPL-2.0-or-later
6 */
7 
8 #ifndef KCDDB_SYNC_HTTP_LOOKUP_H
9 #define KCDDB_SYNC_HTTP_LOOKUP_H
10 
11 #include "httplookup.h"
12 
13 namespace KCDDB
14 {
15  class SyncHTTPLookup : public HTTPLookup
16  {
17  public:
18 
19  SyncHTTPLookup();
20  virtual ~SyncHTTPLookup();
21 
22  Result lookup( const QString &, uint, const TrackOffsetList & ) override;
23 
24  CDInfoList lookupResponse() const;
25 
26  protected:
27 
28  Result fetchURL() override;
29 
30  Result runQuery();
31  Result matchToCDInfo( const CDDBMatch & );
32  };
33 }
34 
35 #endif // KCDDB_SYNC_HTTP_LOOKUP_H
36 
37 // vim:tabstop=2:shiftwidth=2:expandtab:cinoptions=(s,U1,m1
This file is part of the KDE documentation.
Documentation copyright © 1996-2021 The KDE developers.
Generated on Fri Nov 26 2021 23:22:53 by doxygen 1.8.11 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.