Debian Codegraph @

components/output/winamp/winamp.h

raw symbols SCIP
1 /* BoCA - BonkEnc Component Architecture
2 * Copyright (C) 2007-2017 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 #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)