changeset 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 d9870d3e9550
children 447a0ab67656
files src/libaudacious++/Makefile src/libaudacious++/README src/libaudacious++/plugin.h
diffstat 3 files changed, 43 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/src/libaudacious++/Makefile	Sun Dec 30 22:44:58 2007 -0600
@@ -0,0 +1,6 @@
+PACKAGE = audacious++
+STATIC_LIB = libaudacious++.a
+SRCS = plugin.cxx
+
+include ../../buildsys.mk
+include ../../extra.mk
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/src/libaudacious++/README	Sun Dec 30 22:44:58 2007 -0600
@@ -0,0 +1,1 @@
+this is a work in progress. it's not GPL yet. don't use it. --nenolod
--- /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