diff --git a/src/bitvlc/bitvlc.cpp b/src/bitvlc/bitvlc.cpp
new file mode 100644
index 0000000..8d80da5
--- /dev/null
+++ b/src/bitvlc/bitvlc.cpp
@@ -0,0 +1,40 @@
+/*
+ * bitvlc
+ * Copyright (C) Bob 2013
+ *
+ * bitvlc 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.
+ *
+ * bitvlc 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 "bitvlc.h"
+
+CBitVlc::CBitVlc(int argc, char *argv[])
+{
+}
+
+CBitVlc::~CBitVlc()
+{
+}
+
+void CBitVlc::Setup()
+{
+}
+
+void CBitVlc::Process()
+{
+}
+
+void CBitVlc::Cleanup()
+{
+}
+
diff --git a/src/bitvlc/bitvlc.h b/src/bitvlc/bitvlc.h
new file mode 100644
index 0000000..5c4b091
--- /dev/null
+++ b/src/bitvlc/bitvlc.h
@@ -0,0 +1,33 @@
+/*
+ * bitvlc
+ * Copyright (C) Bob 2013
+ *
+ * bitvlc 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.
+ *
+ * bitvlc 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 BITVLC_H
+#define BITVLC_H
+
+class CBitVlc
+{
+ public:
+ CBitVlc(int argc, char *argv[]);
+ ~CBitVlc();
+
+ void Setup();
+ void Process();
+ void Cleanup();
+};
+
+#endif //BITVLC_H
diff --git a/src/bitvlc/main.cpp b/src/bitvlc/main.cpp
new file mode 100644
index 0000000..8d0265b
--- /dev/null
+++ b/src/bitvlc/main.cpp
@@ -0,0 +1,31 @@
+/*
+ * bitvlc
+ * Copyright (C) Bob 2012
+ *
+ * bitvlc 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.
+ *
+ * bitvlc 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 "bitvlc.h"
+
+int main (int argc, char *argv[])
+{
+ CBitVlc bitvlc(argc, argv);
+
+ bitvlc.Setup();
+ bitvlc.Process();
+ bitvlc.Cleanup();
+
+ return 0;
+}
+
diff --git a/wscript b/wscript
index 5321822..e2fd47c 100644
--- a/wscript
+++ b/wscript
@@ -20,6 +20,7 @@ def configure(conf):
conf.check(header_name='samplerate.h')
conf.check(header_name='sys/ipc.h')
conf.check(header_name='sys/shm.h')
+ conf.check(header_name='vlc/vlc.h')
conf.check(header_name='X11/Xlib.h', auto_add_header_name=True)
conf.check(header_name='X11/extensions/Xrender.h')
@@ -32,6 +33,7 @@ def configure(conf):
conf.check(lib='X11', uselib_store='X11')
conf.check(lib='Xext', uselib_store='Xext')
conf.check(lib='Xrender', uselib_store='Xrender')
+ conf.check(lib='vlc', uselib_store='vlc')
conf.check(lib='m', uselib_store='m', mandatory=False)
conf.check(lib='pthread', uselib_store='pthread', mandatory=False)
@@ -74,3 +76,15 @@ def build(bld):
cxxflags='-Wall -g -DUTILNAMESPACE=BitX11Util',
target='bitx11')
+ bld.program(source='src/bitvlc/main.cpp\
+ src/bitvlc/bitvlc.cpp\
+ src/util/log.cpp\
+ src/util/misc.cpp\
+ src/util/mutex.cpp\
+ src/util/timeutils.cpp\
+ src/util/tcpsocket.cpp',
+ use=['m', 'rt', 'X11', 'Xrender', 'Xext', 'vlc'],
+ includes='./src',
+ cxxflags='-Wall -g -DUTILNAMESPACE=BitVlcUtil',
+ target='bitvlc')
+