Debian Codegraph @

components/extension/notifier/notifier.h

raw symbols SCIP
1 /* fre:ac - free audio converter
2 * Copyright (C) 2001-2018 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 "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)