Debian Codegraph @

include/cddb/cddblocal.h

raw symbols SCIP
1 /* fre:ac - free audio converter
2 * Copyright (C) 2001-2020 Robert Kausch <[email protected]>
3 *
4 * This program is free software; you can redistribute it and/or
5 * modify it under the terms of the GNU General Public License as
6 * published by the Free Software Foundation, either version 2 of
7 * the License, or (at your option) any later version.
8 *
9 * THIS PACKAGE IS PROVIDED "AS IS" AND WITHOUT ANY EXPRESS OR
10 * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
11 * WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE. */
12
13 #ifndef H_FREAC_CDDB_LOCAL
14 #define H_FREAC_CDDB_LOCAL
15
16 #include <cddb/cddb.h>
17 #include <boca/common/protocol.h>
18
19 namespace freac
20 {
21 class CDDBLocal : public CDDB
22 {
23 private:
24 Array<String> results;
25
26 Bool QueryUnixDB(const String &);
27 Bool QueryWinDB(const String &);
28 public:
29 CDDBLocal();
30 virtual ~CDDBLocal();
31
32 Bool ConnectToServer();
33 Int Query(const String &);
34 Bool Read(const String &, UnsignedInt32, CDDBInfo &);
35 Bool Submit(const CDDBInfo &);
36 Bool CloseConnection();
37 };
38 };
39
40 #endif