X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=src%2Fpipe.hpp;h=1f14fdd60fe01095a87b68aaef5b2640b6da0369;hb=c346e86f9e0b0414757f89aba11f7b37e3b12ac2;hp=38f85fef79c4af8c667149ee01ef9b9aaed153e6;hpb=79100c2ae2dac4bdde4f4d46b69e147562b4ec6c;p=metaproxy-moved-to-github.git diff --git a/src/pipe.hpp b/src/pipe.hpp index 38f85fe..1f14fdd 100644 --- a/src/pipe.hpp +++ b/src/pipe.hpp @@ -1,8 +1,20 @@ -/* $Id: pipe.hpp,v 1.4 2006-03-16 10:40:59 adam Exp $ - Copyright (c) 2005-2006, Index Data. +/* This file is part of Metaproxy. + Copyright (C) Index Data -%LICENSE% - */ +Metaproxy 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 2, or (at your option) any later +version. + +Metaproxy 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, write to the Free Software +Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA +*/ #ifndef YP2_PIPE_HPP #define YP2_PIPE_HPP @@ -17,7 +29,7 @@ namespace metaproxy_1 { class Pipe { class Error : public std::runtime_error { public: - Error(const std::string msg) + Error(const std::string msg) : std::runtime_error("Pipe error: " + msg) {}; }; class Rep; @@ -34,8 +46,8 @@ namespace metaproxy_1 { /* * Local variables: * c-basic-offset: 4 + * c-file-style: "Stroustrup" * indent-tabs-mode: nil - * c-file-style: "stroustrup" * End: * vim: shiftwidth=4 tabstop=8 expandtab */