KCDDB

synccddbplookup.h
1 /*
2  SPDX-FileCopyrightText: 2002 Rik Hemsley (rikkus) <[email protected]>
3  SPDX-FileCopyrightText: 2002 Benjamin Meyer <[email protected]>
4  SPDX-FileCopyrightText: 2002 Nadeem Hasan <[email protected]>
5 
6  SPDX-License-Identifier: LGPL-2.0-or-later
7 */
8 
9 #ifndef KCDDB_SYNC_CDDBP_LOOKUP_H
10 #define KCDDB_SYNC_CDDBP_LOOKUP_H
11 
12 #include "cddbplookup.h"
13 
14 namespace KCDDB
15 {
16  class SyncCDDBPLookup : public CDDBPLookup
17  {
18  public:
19 
20  SyncCDDBPLookup();
21  virtual ~SyncCDDBPLookup();
22 
23  Result lookup( const QString &, uint, const TrackOffsetList & ) override;
24 
25  CDInfoList lookupResponse() const;
26 
27  protected:
28  Result shakeHands();
29  Result runQuery();
30  Result matchToCDInfo( const CDDBMatch & );
31 
32  QString readLine();
33  };
34 }
35 
36 #endif // KCDDB_SYNC_CDDBP_LOOKUP_H
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.