| 1 |
|
| 2 |
|
| 3 |
|
| 4 |
|
| 5 |
|
| 6 |
|
| 7 |
|
| 8 |
|
| 9 |
|
| 10 |
|
| 11 |
|
| 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) |