Debian Codegraph @

components/verifier/accuraterip/accuraterip.h

raw symbols SCIP
1 /* fre:ac - free audio converter
2 * Copyright (C) 2001-2023 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 #include <boca.h>
14
15 #include "algorithm.h"
16
17 BoCA_BEGIN_COMPONENT(VerifierAccurateRip)
18
19 namespace BoCA
20 {
21 class VerifierAccurateRip : public CS::VerifierComponent
22 {
23 private:
24 ConfigLayer *configLayer;
25
26 Algorithm algorithm;
27
28 static Void ConfigureDrive(Int);
29 static Void NotifyMissingEntry();
30 public:
31 static const String &GetComponentSpecs();
32
33 VerifierAccurateRip();
34 ~VerifierAccurateRip();
35
36 Bool CanVerifyTrack(const Track &);
37
38 Bool Activate();
39
40 Int ProcessData(Buffer<UnsignedByte> &);
41
42 Bool Verify();
43
44 ConfigLayer *GetConfigurationLayer();
45 slots:
46 Bool OnConfigureDrive();
47 Bool OnDiscInsert();
48 };
49 };
50
51 BoCA_DEFINE_VERIFIER_COMPONENT(VerifierAccurateRip)
52
53 BoCA_END_COMPONENT(VerifierAccurateRip)