![]() |
Main Page
Class Hierarchy
Alphabetical List
Compound List
File List
Compound Members
![]() |
00001 /******************************************************************************** 00002 * * 00003 * Standard I/O object * 00004 * * 00005 ********************************************************************************* 00006 * Copyright (C) 2003 by Mathew Robertson. All Rights Reserved. * 00007 ********************************************************************************* 00008 * This library is free software; you can redistribute it and/or * 00009 * modify it under the terms of the GNU Lesser General Public * 00010 * License as published by the Free Software Foundation; either * 00011 * version 2.1 of the License, or (at your option) any later version. * 00012 * * 00013 * This library is distributed in the hope that it will be useful, * 00014 * but WITHOUT ANY WARRANTY; without even the implied warranty of * 00015 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * 00016 * Lesser General Public License for more details. * 00017 * * 00018 * You should have received a copy of the GNU Lesser General Public * 00019 * License along with this library; if not, write to the Free Software * 00020 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. * 00021 ********************************************************************************/ 00022 #ifndef FXSTDIO_H 00023 #define FXSTDIO_H 00024 00025 #ifndef FXIOHANDLE_H 00026 #include "FXIOHandle.h" 00027 #endif 00028 namespace FXEX { 00029 00030 /** 00031 * Encapsulate stdin 00032 */ 00033 class FXAPI FXStdin : public FXIOHandle { 00034 FXDECLARE (FXStdin) 00035 public: 00036 FXStdin(FXApp *a=NULL,FXObject *tgt=NULL,FXSelector sel=0); 00037 }; 00038 00039 /** 00040 * Encapsulate stdout 00041 */ 00042 class FXAPI FXStdout : public FXIOHandle { 00043 FXDECLARE (FXStdout) 00044 public: 00045 FXStdout(FXApp *a=NULL,FXObject *tgt=NULL,FXSelector sel=0); 00046 }; 00047 00048 /** 00049 * Encapsulate stderr 00050 */ 00051 class FXAPI FXStderr : public FXIOHandle { 00052 FXDECLARE (FXStderr) 00053 public: 00054 FXStderr(FXApp *a=NULL,FXObject *tgt=NULL,FXSelector sel=0); 00055 }; 00056 00057 } // namespace FXEX 00058 #endif // FXSTDIO_H