summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2006-04-07 21:11:09 +0000
committerLennart Poettering <lennart@poettering.net>2006-04-07 21:11:09 +0000
commite2e8d0077a694b407f951d3422fcf268beb10d55 (patch)
treeecca4174e8ba031c2039cff9b90b62e36f251fe5
parent630a5eda70c2feb41c47e77d878d6f7e953c0af5 (diff)
* add copyright blurb to source files
* fix included headers for newest polypaudio API git-svn-id: file:///home/lennart/svn/public/paman/trunk@51 cdefa82f-4ce1-0310-97f5-ab6066f37c3c
-rw-r--r--src/ClientWindow.cc21
-rw-r--r--src/ClientWindow.hh21
-rw-r--r--src/MainWindow.cc21
-rw-r--r--src/MainWindow.hh23
-rw-r--r--src/ModuleWindow.cc21
-rw-r--r--src/ModuleWindow.hh21
-rw-r--r--src/SampleWindow.cc21
-rw-r--r--src/SampleWindow.hh21
-rw-r--r--src/ServerInfoManager.cc24
-rw-r--r--src/ServerInfoManager.hh23
-rw-r--r--src/SinkInputWindow.cc21
-rw-r--r--src/SinkInputWindow.hh21
-rw-r--r--src/SinkWindow.cc21
-rw-r--r--src/SinkWindow.hh21
-rw-r--r--src/SourceOutputWindow.cc21
-rw-r--r--src/SourceOutputWindow.hh21
-rw-r--r--src/SourceWindow.cc21
-rw-r--r--src/SourceWindow.hh21
-rw-r--r--src/StatWindow.cc21
-rw-r--r--src/StatWindow.hh21
-rw-r--r--src/paman.cc26
-rw-r--r--src/paman.hh21
22 files changed, 468 insertions, 6 deletions
diff --git a/src/ClientWindow.cc b/src/ClientWindow.cc
index 5a1221a..5f1fa53 100644
--- a/src/ClientWindow.cc
+++ b/src/ClientWindow.cc
@@ -1,3 +1,24 @@
+/* $Id$ */
+
+/***
+ This file is part of paman.
+
+ paman is free software; you can redistribute it and/or modify
+ it under the terms of the GNU Lesser General Public License as published
+ by the Free Software Foundation; either version 2 of the License,
+ or (at your option) any later version.
+
+ paman 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 Lesser General Public License
+ along with paman; if not, write to the Free Software
+ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
+ USA.
+***/
+
#include <iostream>
#include "paman.hh"
diff --git a/src/ClientWindow.hh b/src/ClientWindow.hh
index c354a7c..c7c52ad 100644
--- a/src/ClientWindow.hh
+++ b/src/ClientWindow.hh
@@ -1,6 +1,27 @@
#ifndef fooclientwindowhhfoo
#define fooclientwindowhhfoo
+/* $Id$ */
+
+/***
+ This file is part of paman.
+
+ paman is free software; you can redistribute it and/or modify
+ it under the terms of the GNU Lesser General Public License as published
+ by the Free Software Foundation; either version 2 of the License,
+ or (at your option) any later version.
+
+ paman 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 Lesser General Public License
+ along with paman; if not, write to the Free Software
+ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
+ USA.
+***/
+
#include <gtkmm.h>
#include <libglademm.h>
diff --git a/src/MainWindow.cc b/src/MainWindow.cc
index 6e7bf8a..0d916cd 100644
--- a/src/MainWindow.cc
+++ b/src/MainWindow.cc
@@ -1,3 +1,24 @@
+/* $Id$ */
+
+/***
+ This file is part of paman.
+
+ paman is free software; you can redistribute it and/or modify
+ it under the terms of the GNU Lesser General Public License as published
+ by the Free Software Foundation; either version 2 of the License,
+ or (at your option) any later version.
+
+ paman 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 Lesser General Public License
+ along with paman; if not, write to the Free Software
+ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
+ USA.
+***/
+
#include <iostream>
#include <string>
#include <sstream>
diff --git a/src/MainWindow.hh b/src/MainWindow.hh
index 211a011..681cd65 100644
--- a/src/MainWindow.hh
+++ b/src/MainWindow.hh
@@ -1,9 +1,30 @@
#ifndef foomainwindowhhfoo
#define foomainwindowhhfoo
+/* $Id$ */
+
+/***
+ This file is part of paman.
+
+ paman is free software; you can redistribute it and/or modify
+ it under the terms of the GNU Lesser General Public License as published
+ by the Free Software Foundation; either version 2 of the License,
+ or (at your option) any later version.
+
+ paman 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 Lesser General Public License
+ along with paman; if not, write to the Free Software
+ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
+ USA.
+***/
+
#include <gtkmm.h>
#include <libglademm.h>
-#include <polyp/polyplib.h>
+#include <polyp/polypaudio.h>
class MainWinow;
diff --git a/src/ModuleWindow.cc b/src/ModuleWindow.cc
index 584a303..22979a6 100644
--- a/src/ModuleWindow.cc
+++ b/src/ModuleWindow.cc
@@ -1,3 +1,24 @@
+/* $Id$ */
+
+/***
+ This file is part of paman.
+
+ paman is free software; you can redistribute it and/or modify
+ it under the terms of the GNU Lesser General Public License as published
+ by the Free Software Foundation; either version 2 of the License,
+ or (at your option) any later version.
+
+ paman 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 Lesser General Public License
+ along with paman; if not, write to the Free Software
+ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
+ USA.
+***/
+
#include <iostream>
#include "paman.hh"
diff --git a/src/ModuleWindow.hh b/src/ModuleWindow.hh
index daec735..97ab401 100644
--- a/src/ModuleWindow.hh
+++ b/src/ModuleWindow.hh
@@ -1,6 +1,27 @@
#ifndef foomodulewindowhhfoo
#define foomodulewindowhhfoo
+/* $Id$ */
+
+/***
+ This file is part of paman.
+
+ paman is free software; you can redistribute it and/or modify
+ it under the terms of the GNU Lesser General Public License as published
+ by the Free Software Foundation; either version 2 of the License,
+ or (at your option) any later version.
+
+ paman 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 Lesser General Public License
+ along with paman; if not, write to the Free Software
+ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
+ USA.
+***/
+
#include <gtkmm.h>
#include <libglademm.h>
diff --git a/src/SampleWindow.cc b/src/SampleWindow.cc
index 29998c5..d726942 100644
--- a/src/SampleWindow.cc
+++ b/src/SampleWindow.cc
@@ -1,3 +1,24 @@
+/* $Id$ */
+
+/***
+ This file is part of paman.
+
+ paman is free software; you can redistribute it and/or modify
+ it under the terms of the GNU Lesser General Public License as published
+ by the Free Software Foundation; either version 2 of the License,
+ or (at your option) any later version.
+
+ paman 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 Lesser General Public License
+ along with paman; if not, write to the Free Software
+ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
+ USA.
+***/
+
#include <iostream>
#include "paman.hh"
diff --git a/src/SampleWindow.hh b/src/SampleWindow.hh
index f17314b..a4c833a 100644
--- a/src/SampleWindow.hh
+++ b/src/SampleWindow.hh
@@ -1,6 +1,27 @@
#ifndef foosamplewindowhhfoo
#define foosamplewindowhhfoo
+/* $Id$ */
+
+/***
+ This file is part of paman.
+
+ paman is free software; you can redistribute it and/or modify
+ it under the terms of the GNU Lesser General Public License as published
+ by the Free Software Foundation; either version 2 of the License,
+ or (at your option) any later version.
+
+ paman 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 Lesser General Public License
+ along with paman; if not, write to the Free Software
+ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
+ USA.
+***/
+
#include <gtkmm.h>
#include <libglademm.h>
diff --git a/src/ServerInfoManager.cc b/src/ServerInfoManager.cc
index 5f285b9..a809de6 100644
--- a/src/ServerInfoManager.cc
+++ b/src/ServerInfoManager.cc
@@ -1,5 +1,27 @@
+/* $Id$ */
+
+/***
+ This file is part of paman.
+
+ paman is free software; you can redistribute it and/or modify
+ it under the terms of the GNU Lesser General Public License as published
+ by the Free Software Foundation; either version 2 of the License,
+ or (at your option) any later version.
+
+ paman 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 Lesser General Public License
+ along with paman; if not, write to the Free Software
+ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
+ USA.
+***/
+
#include <iostream>
-#include <polyp/polyplib-error.h>
+
+#include <polyp/polypaudio.h>
#include "ServerInfoManager.hh"
#include "paman.hh"
diff --git a/src/ServerInfoManager.hh b/src/ServerInfoManager.hh
index fb6bacf..1b37e66 100644
--- a/src/ServerInfoManager.hh
+++ b/src/ServerInfoManager.hh
@@ -1,10 +1,31 @@
#ifndef fooserverinfohhfoo
#define fooserverinfohhfoo
+/* $Id$ */
+
+/***
+ This file is part of paman.
+
+ paman is free software; you can redistribute it and/or modify
+ it under the terms of the GNU Lesser General Public License as published
+ by the Free Software Foundation; either version 2 of the License,
+ or (at your option) any later version.
+
+ paman 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 Lesser General Public License
+ along with paman; if not, write to the Free Software
+ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
+ USA.
+***/
+
#include <gtkmm.h>
#include <map>
-#include <polyp/polyplib.h>
+#include <polyp/polypaudio.h>
class SinkInfo;
class SourceInfo;
diff --git a/src/SinkInputWindow.cc b/src/SinkInputWindow.cc
index 09d5433..0b8cc67 100644
--- a/src/SinkInputWindow.cc
+++ b/src/SinkInputWindow.cc
@@ -1,5 +1,26 @@
#include <iostream>
+/* $Id$ */
+
+/***
+ This file is part of paman.
+
+ paman is free software; you can redistribute it and/or modify
+ it under the terms of the GNU Lesser General Public License as published
+ by the Free Software Foundation; either version 2 of the License,
+ or (at your option) any later version.
+
+ paman 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 Lesser General Public License
+ along with paman; if not, write to the Free Software
+ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
+ USA.
+***/
+
#include "paman.hh"
#include "SinkInputWindow.hh"
diff --git a/src/SinkInputWindow.hh b/src/SinkInputWindow.hh
index 1931e13..29b4599 100644
--- a/src/SinkInputWindow.hh
+++ b/src/SinkInputWindow.hh
@@ -1,6 +1,27 @@
#ifndef foosinkinputwindowhhfoo
#define foosinkinputwindowhhfoo
+/* $Id$ */
+
+/***
+ This file is part of paman.
+
+ paman is free software; you can redistribute it and/or modify
+ it under the terms of the GNU Lesser General Public License as published
+ by the Free Software Foundation; either version 2 of the License,
+ or (at your option) any later version.
+
+ paman 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 Lesser General Public License
+ along with paman; if not, write to the Free Software
+ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
+ USA.
+***/
+
#include <gtkmm.h>
#include <libglademm.h>
diff --git a/src/SinkWindow.cc b/src/SinkWindow.cc
index ed21820..1999693 100644
--- a/src/SinkWindow.cc
+++ b/src/SinkWindow.cc
@@ -1,3 +1,24 @@
+/* $Id$ */
+
+/***
+ This file is part of paman.
+
+ paman is free software; you can redistribute it and/or modify
+ it under the terms of the GNU Lesser General Public License as published
+ by the Free Software Foundation; either version 2 of the License,
+ or (at your option) any later version.
+
+ paman 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 Lesser General Public License
+ along with paman; if not, write to the Free Software
+ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
+ USA.
+***/
+
#include <iostream>
#include "paman.hh"
diff --git a/src/SinkWindow.hh b/src/SinkWindow.hh
index d75e505..b3c26a8 100644
--- a/src/SinkWindow.hh
+++ b/src/SinkWindow.hh
@@ -1,6 +1,27 @@
#ifndef foosinkwindowhhfoo
#define foosinkwindowhhfoo
+/* $Id$ */
+
+/***
+ This file is part of paman.
+
+ paman is free software; you can redistribute it and/or modify
+ it under the terms of the GNU Lesser General Public License as published
+ by the Free Software Foundation; either version 2 of the License,
+ or (at your option) any later version.
+
+ paman 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 Lesser General Public License
+ along with paman; if not, write to the Free Software
+ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
+ USA.
+***/
+
#include <gtkmm.h>
#include <libglademm.h>
diff --git a/src/SourceOutputWindow.cc b/src/SourceOutputWindow.cc
index 68d43d9..0ba686f 100644
--- a/src/SourceOutputWindow.cc
+++ b/src/SourceOutputWindow.cc
@@ -1,5 +1,26 @@
#include <iostream>
+/* $Id$ */
+
+/***
+ This file is part of paman.
+
+ paman is free software; you can redistribute it and/or modify
+ it under the terms of the GNU Lesser General Public License as published
+ by the Free Software Foundation; either version 2 of the License,
+ or (at your option) any later version.
+
+ paman 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 Lesser General Public License
+ along with paman; if not, write to the Free Software
+ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
+ USA.
+***/
+
#include "paman.hh"
#include "SourceOutputWindow.hh"
diff --git a/src/SourceOutputWindow.hh b/src/SourceOutputWindow.hh
index f6cbc6b..71abe48 100644
--- a/src/SourceOutputWindow.hh
+++ b/src/SourceOutputWindow.hh
@@ -1,6 +1,27 @@
#ifndef foosourceoutputwindowhhfoo
#define foosourceoutputwindowhhfoo
+/* $Id$ */
+
+/***
+ This file is part of paman.
+
+ paman is free software; you can redistribute it and/or modify
+ it under the terms of the GNU Lesser General Public License as published
+ by the Free Software Foundation; either version 2 of the License,
+ or (at your option) any later version.
+
+ paman 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 Lesser General Public License
+ along with paman; if not, write to the Free Software
+ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
+ USA.
+***/
+
#include <gtkmm.h>
#include <libglademm.h>
diff --git a/src/SourceWindow.cc b/src/SourceWindow.cc
index ff12e8b..b79c9e5 100644
--- a/src/SourceWindow.cc
+++ b/src/SourceWindow.cc
@@ -1,3 +1,24 @@
+/* $Id$ */
+
+/***
+ This file is part of paman.
+
+ paman is free software; you can redistribute it and/or modify
+ it under the terms of the GNU Lesser General Public License as published
+ by the Free Software Foundation; either version 2 of the License,
+ or (at your option) any later version.
+
+ paman 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 Lesser General Public License
+ along with paman; if not, write to the Free Software
+ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
+ USA.
+***/
+
#include "paman.hh"
#include "SourceWindow.hh"
diff --git a/src/SourceWindow.hh b/src/SourceWindow.hh
index a8a699b..7cddff3 100644
--- a/src/SourceWindow.hh
+++ b/src/SourceWindow.hh
@@ -1,6 +1,27 @@
#ifndef foosourcewindowhhfoo
#define foosourcewindowhhfoo
+/* $Id$ */
+
+/***
+ This file is part of paman.
+
+ paman is free software; you can redistribute it and/or modify
+ it under the terms of the GNU Lesser General Public License as published
+ by the Free Software Foundation; either version 2 of the License,
+ or (at your option) any later version.
+
+ paman 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 Lesser General Public License
+ along with paman; if not, write to the Free Software
+ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
+ USA.
+***/
+
#include <gtkmm.h>
#include <libglademm.h>
diff --git a/src/StatWindow.cc b/src/StatWindow.cc
index 2fb903b..efa5f17 100644
--- a/src/StatWindow.cc
+++ b/src/StatWindow.cc
@@ -1,3 +1,24 @@
+/* $Id$ */
+
+/***
+ This file is part of paman.
+
+ paman is free software; you can redistribute it and/or modify
+ it under the terms of the GNU Lesser General Public License as published
+ by the Free Software Foundation; either version 2 of the License,
+ or (at your option) any later version.
+
+ paman 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 Lesser General Public License
+ along with paman; if not, write to the Free Software
+ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
+ USA.
+***/
+
#include "paman.hh"
#include "StatWindow.hh"
diff --git a/src/StatWindow.hh b/src/StatWindow.hh
index c120e51..a4d69e7 100644
--- a/src/StatWindow.hh
+++ b/src/StatWindow.hh
@@ -1,6 +1,27 @@
#ifndef foostatwindowhhfoo
#define foostatwindowhhfoo
+/* $Id$ */
+
+/***
+ This file is part of paman.
+
+ paman is free software; you can redistribute it and/or modify
+ it under the terms of the GNU Lesser General Public License as published
+ by the Free Software Foundation; either version 2 of the License,
+ or (at your option) any later version.
+
+ paman 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 Lesser General Public License
+ along with paman; if not, write to the Free Software
+ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
+ USA.
+***/
+
#include <gtkmm.h>
#include <libglademm.h>
diff --git a/src/paman.cc b/src/paman.cc
index 07eb06a..bc54e9d 100644
--- a/src/paman.cc
+++ b/src/paman.cc
@@ -1,11 +1,31 @@
+/* $Id$ */
+
+/***
+ This file is part of paman.
+
+ paman is free software; you can redistribute it and/or modify
+ it under the terms of the GNU Lesser General Public License as published
+ by the Free Software Foundation; either version 2 of the License,
+ or (at your option) any later version.
+
+ paman 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 Lesser General Public License
+ along with paman; if not, write to the Free Software
+ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
+ USA.
+***/
+
#include <signal.h>
#include <gtkmm.h>
#include <libglademm.h>
-#include <polyp/polyplib.h>
+#include <polyp/polypaudio.h>
#include <polyp/glib-mainloop.h>
-#include <polyp/polyplib-error.h>
#include "paman.hh"
#include "SinkWindow.hh"
@@ -80,7 +100,7 @@ void createConnection() {
context = pa_context_new(mainloop_api, "Polypaudio Manager");
g_assert(context);
pa_context_set_state_callback(context, context_state_callback, NULL);
- pa_context_connect(context, NULL, 0, NULL);
+ pa_context_connect(context, NULL, (pa_context_flags_t) 0, NULL);
}
void killConnection() {
diff --git a/src/paman.hh b/src/paman.hh
index c80cc42..443eba7 100644
--- a/src/paman.hh
+++ b/src/paman.hh
@@ -1,6 +1,27 @@
#ifndef foopamanhhfoo
#define foopamanhhfoo
+/* $Id$ */
+
+/***
+ This file is part of paman.
+
+ paman is free software; you can redistribute it and/or modify
+ it under the terms of the GNU Lesser General Public License as published
+ by the Free Software Foundation; either version 2 of the License,
+ or (at your option) any later version.
+
+ paman 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 Lesser General Public License
+ along with paman; if not, write to the Free Software
+ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
+ USA.
+***/
+
#include "ServerInfoManager.hh"
#ifndef GLADE_FILE