| 1 |
|
| 2 |
|
| 3 |
|
| 4 |
|
| 5 |
|
| 6 |
|
| 7 |
|
| 8 |
|
| 9 |
|
| 10 |
|
| 11 |
|
| 12 |
|
| 13 |
#include <boca.h> |
| 14 |
#include "dllinterface.h" |
| 15 |
|
| 16 |
BoCA_BEGIN_COMPONENT(OutputWinamp) |
| 17 |
|
| 18 |
namespace BoCA |
| 19 |
{ |
| 20 |
class OutputWinamp : public CS::OutputComponent |
| 21 |
{ |
| 22 |
private: |
| 23 |
ConfigLayer *configLayer; |
| 24 |
|
| 25 |
Out_Module *module; |
| 26 |
public: |
| 27 |
static const String &GetComponentSpecs(); |
| 28 |
|
| 29 |
OutputWinamp(); |
| 30 |
~OutputWinamp(); |
| 31 |
|
| 32 |
Bool Activate(); |
| 33 |
Bool Deactivate(); |
| 34 |
|
| 35 |
Int WriteData(Buffer<UnsignedByte> &); |
| 36 |
|
| 37 |
ConfigLayer *GetConfigurationLayer(); |
| 38 |
|
| 39 |
Int CanWrite(); |
| 40 |
|
| 41 |
Int SetPause(Bool); |
| 42 |
Bool IsPlaying(); |
| 43 |
}; |
| 44 |
}; |
| 45 |
|
| 46 |
BoCA_DEFINE_OUTPUT_COMPONENT(OutputWinamp) |
| 47 |
|
| 48 |
BoCA_END_COMPONENT(OutputWinamp) |