KCDDB

cache.h
1/*
2 SPDX-FileCopyrightText: 2002 Rik Hemsley (rikkus) <rik@kde.org>
3 SPDX-FileCopyrightText: 2002 Benjamin Meyer <ben-devel@meyerhome.net>
4 SPDX-FileCopyrightText: 2002 Nadeem Hasan <nhasan@kde.org>
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
17namespace 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-2024 The KDE developers.
Generated on Tue Mar 26 2024 11:19:58 by doxygen 1.10.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.