00001 /* vim: set sw=4 sts=4 et foldmethod=syntax : */ 00002 00003 /* 00004 * Copyright (c) 2006, 2007 Ciaran McCreesh 00005 * Copyright (c) 2009 David Leverton 00006 * 00007 * This file is part of the Paludis package manager. Paludis is free software; 00008 * you can redistribute it and/or modify it under the terms of the GNU General 00009 * Public License version 2, as published by the Free Software Foundation. 00010 * 00011 * Paludis is distributed in the hope that it will be useful, but WITHOUT ANY 00012 * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS 00013 * FOR A PARTICULAR PURPOSE. See the GNU General Public License for more 00014 * details. 00015 * 00016 * You should have received a copy of the GNU General Public License along with 00017 * this program; if not, write to the Free Software Foundation, Inc., 59 Temple 00018 * Place, Suite 330, Boston, MA 02111-1307 USA 00019 */ 00020 00021 #ifndef PALUDIS_GUARD_PALUDIS_UTIL_PIPE_HH 00022 #define PALUDIS_GUARD_PALUDIS_UTIL_PIPE_HH 1 00023 00024 #include <paludis/util/channel.hh> 00025 00026 /** \file 00027 * Declaration for the Pipe class. 00028 * 00029 * \ingroup g_system 00030 * 00031 * \section Examples 00032 * 00033 * - None at this time. 00034 */ 00035 00036 namespace paludis 00037 { 00038 /** 00039 * Wrapper around pipe file descriptors. 00040 * 00041 * \ingroup g_system 00042 * \nosubgrouping 00043 */ 00044 class PALUDIS_VISIBLE Pipe : 00045 public Channel 00046 { 00047 public: 00048 ///\name Basic operations 00049 ///\{ 00050 00051 Pipe(); 00052 00053 virtual ~Pipe(); 00054 00055 ///\} 00056 00057 }; 00058 00059 } 00060 00061 #endif