Mercurial > audlegacy
comparison src/libaudacious++/plugin.h @ 4137:3aafc46605b4
start of a C++ binding on top of PAPI.
author | William Pitcock <nenolod@atheme.org> |
---|---|
date | Sun, 30 Dec 2007 22:44:58 -0600 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
4129:d9870d3e9550 | 4137:3aafc46605b4 |
---|---|
1 /* | |
2 * Copyright (c) 2008 William Pitcock <nenolod@sacredspiral.co.uk> | |
3 * | |
4 * [insert GPL license here later] | |
5 */ | |
6 | |
7 #ifndef __AUDACIOUSXX__PLUGIN_H_GUARD | |
8 #define __AUDACIOUSXX__PLUGIN_H_GUARD | |
9 | |
10 #include <string> | |
11 | |
12 namespace Audacious { | |
13 | |
14 class Plugin { | |
15 private: | |
16 std::string name; | |
17 std::string description; | |
18 | |
19 public: | |
20 Plugin(std::string name_, std::string description_); | |
21 ~Plugin(); | |
22 }; | |
23 | |
24 class VisPlugin : Plugin { | |
25 private: | |
26 int pcm_channels; | |
27 int freq_channels; | |
28 | |
29 public: | |
30 VisPlugin(std::string name_, std::string description, int pc, int fc); | |
31 ~VisPlugin(); | |
32 }; | |
33 | |
34 }; | |
35 | |
36 #endif |