KCDDB

cache.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_CACHE_H
10 #define KCDDB_CACHE_H
11 
12 #include "kcddb.h"
13 #include "cdinfo.h"
14 
15 #include <QString>
16 
17 namespace KCDDB
18 {
19  class Config;
20 
21  class KCDDB_EXPORT Cache
22  {
23  public:
24  static CDInfoList lookup( const TrackOffsetList & , const Config & );
25  static void store( const TrackOffsetList &, const CDInfoList &, const Config & );
26  static void store( const TrackOffsetList &, const CDInfo &, const Config & );
27 
28  private:
29  static QString fileName( const QString &category, const QString& discid, const QString &cacheDir );
30  };
31 }
32 
33 #endif // KCDDB_CACHE_H
34 // 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 Sun Dec 5 2021 23:10:08 by doxygen 1.8.11 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.