diff --git a/src/ampswitch.cpp b/src/ampswitch.cpp
new file mode 100644
index 0000000..d808c73
--- /dev/null
+++ b/src/ampswitch.cpp
@@ -0,0 +1,40 @@
+/*
+ * ampswitch
+ * Copyright (C) Bob 2014
+ *
+ * ampswitch is free software: you can redistribute it and/or modify it
+ * under the terms of the GNU General Public License as published by the
+ * Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * ampswitch is distributed in the hope that it will be useful, but
+ * WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+ * See the GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License along
+ * with this program. If not, see .
+ */
+
+#include "ampswitch.h"
+
+CAmpSwitch::CAmpSwitch(int argc, char *argv[])
+{
+}
+
+CAmpSwitch::~CAmpSwitch()
+{
+}
+
+void CAmpSwitch::Setup()
+{
+}
+
+void CAmpSwitch::Process()
+{
+}
+
+void CAmpSwitch::Cleanup()
+{
+}
+
diff --git a/src/ampswitch.h b/src/ampswitch.h
new file mode 100644
index 0000000..7141316
--- /dev/null
+++ b/src/ampswitch.h
@@ -0,0 +1,35 @@
+/*
+ * ampswitch
+ * Copyright (C) Bob 2014
+ *
+ * ampswitch is free software: you can redistribute it and/or modify it
+ * under the terms of the GNU General Public License as published by the
+ * Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * ampswitch is distributed in the hope that it will be useful, but
+ * WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+ * See the GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License along
+ * with this program. If not, see .
+ */
+
+#ifndef AMPSWITCH_H
+#define AMPSWITCH_H
+
+class CAmpSwitch
+{
+ public:
+ CAmpSwitch(int argc, char *argv[]);
+ ~CAmpSwitch();
+
+ void Setup();
+ void Process();
+ void Cleanup();
+
+ private:
+};
+
+#endif //AMPSWITCH_H
diff --git a/src/main.cpp b/src/main.cpp
index a4bc2ba..71dc7b1 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -16,8 +16,16 @@
* with this program. If not, see .
*/
+#include "ampswitch.h"
+
int main (int argc, char *argv[])
{
+ CAmpSwitch ampswitch(argc, argv);
+
+ ampswitch.Setup();
+ ampswitch.Process();
+ ampswitch.Cleanup();
+
return 0;
}
diff --git a/wscript b/wscript
index c9234a8..1cf13f8 100644
--- a/wscript
+++ b/wscript
@@ -22,7 +22,8 @@ def configure(conf):
conf.write_config_header('config.h')
def build(bld):
- bld.program(source='src/main.cpp',
+ bld.program(source='src/main.cpp\
+ src/ampswitch.cpp',
use=['jack'],
includes='./src',
cxxflags='-Wall -g',