diff 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
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/src/libaudacious++/plugin.h	Sun Dec 30 22:44:58 2007 -0600
@@ -0,0 +1,36 @@
+/*
+ * Copyright (c) 2008 William Pitcock <nenolod@sacredspiral.co.uk>
+ *
+ * [insert GPL license here later]
+ */
+
+#ifndef __AUDACIOUSXX__PLUGIN_H_GUARD
+#define __AUDACIOUSXX__PLUGIN_H_GUARD
+
+#include <string>
+
+namespace Audacious {
+
+class Plugin {
+private:
+	std::string name;
+	std::string description;
+
+public:
+	Plugin(std::string name_, std::string description_);
+	~Plugin();
+};
+
+class VisPlugin : Plugin {
+private:
+	int pcm_channels;
+	int freq_channels;
+
+public:
+	VisPlugin(std::string name_, std::string description, int pc, int fc);
+	~VisPlugin();
+};
+
+};
+
+#endif