From e2e8d0077a694b407f951d3422fcf268beb10d55 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Fri, 7 Apr 2006 21:11:09 +0000 Subject: * 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 --- src/ClientWindow.cc | 21 +++++++++++++++++++++ src/ClientWindow.hh | 21 +++++++++++++++++++++ src/MainWindow.cc | 21 +++++++++++++++++++++ src/MainWindow.hh | 23 ++++++++++++++++++++++- src/ModuleWindow.cc | 21 +++++++++++++++++++++ src/ModuleWindow.hh | 21 +++++++++++++++++++++ src/SampleWindow.cc | 21 +++++++++++++++++++++ src/SampleWindow.hh | 21 +++++++++++++++++++++ src/ServerInfoManager.cc | 24 +++++++++++++++++++++++- src/ServerInfoManager.hh | 23 ++++++++++++++++++++++- src/SinkInputWindow.cc | 21 +++++++++++++++++++++ src/SinkInputWindow.hh | 21 +++++++++++++++++++++ src/SinkWindow.cc | 21 +++++++++++++++++++++ src/SinkWindow.hh | 21 +++++++++++++++++++++ src/SourceOutputWindow.cc | 21 +++++++++++++++++++++ src/SourceOutputWindow.hh | 21 +++++++++++++++++++++ src/SourceWindow.cc | 21 +++++++++++++++++++++ src/SourceWindow.hh | 21 +++++++++++++++++++++ src/StatWindow.cc | 21 +++++++++++++++++++++ src/StatWindow.hh | 21 +++++++++++++++++++++ src/paman.cc | 26 +++++++++++++++++++++++--- src/paman.hh | 21 +++++++++++++++++++++ 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 #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 #include 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 #include #include 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 #include -#include +#include 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 #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 #include 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 #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 #include 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 -#include + +#include #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 #include -#include +#include 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 +/* $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 #include 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 #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 #include 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 +/* $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 #include 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 #include 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 #include 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 #include #include -#include +#include #include -#include #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 -- cgit