| 1 |
|
| 2 |
|
| 3 |
|
| 4 |
|
| 5 |
|
| 6 |
|
| 7 |
|
| 8 |
|
| 9 |
|
| 10 |
|
| 11 |
|
| 12 |
|
| 13 |
#include <boca.h> |
| 14 |
|
| 15 |
#include "player.h" |
| 16 |
|
| 17 |
BoCA_BEGIN_COMPONENT(Notifier) |
| 18 |
|
| 19 |
namespace BoCA |
| 20 |
{ |
| 21 |
class Notifier : public CS::ExtensionComponent |
| 22 |
{ |
| 23 |
private: |
| 24 |
ConfigLayer *configLayer; |
| 25 |
|
| 26 |
Array<UnsignedInt64> conversions; |
| 27 |
|
| 28 |
Player player; |
| 29 |
public: |
| 30 |
static const String &GetComponentSpecs(); |
| 31 |
|
| 32 |
Notifier(); |
| 33 |
~Notifier(); |
| 34 |
|
| 35 |
ConfigLayer *GetConfigurationLayer(); |
| 36 |
slots: |
| 37 |
Void OnStartConversion(Int, const Array<Track> &); |
| 38 |
Void OnFinishConversion(Int); |
| 39 |
Void OnCancelConversion(Int); |
| 40 |
}; |
| 41 |
}; |
| 42 |
|
| 43 |
BoCA_DEFINE_EXTENSION_COMPONENT(Notifier) |
| 44 |
|
| 45 |
BoCA_END_COMPONENT(Notifier) |