00001 /* 00002 * synergy -- mouse and keyboard sharing utility 00003 * Copyright (C) 2002 Chris Schoeneman 00004 * 00005 * This package is free software; you can redistribute it and/or 00006 * modify it under the terms of the GNU General Public License 00007 * found in the file COPYING that should have accompanied this file. 00008 * 00009 * This package is distributed in the hope that it will be useful, 00010 * but WITHOUT ANY WARRANTY; without even the implied warranty of 00011 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00012 * GNU General Public License for more details. 00013 */ 00014 00015 #include "CArchConsoleUnix.h" 00016 #include <cstdio> 00017 #include <stdio.h> 00018 00019 // 00020 // CArchConsoleUnix 00021 // 00022 00023 CArchConsoleUnix::CArchConsoleUnix(void*) 00024 { 00025 // do nothing 00026 } 00027 00028 CArchConsoleUnix::~CArchConsoleUnix() 00029 { 00030 // do nothing 00031 } 00032 00033 void 00034 CArchConsoleUnix::openConsole(const char*) 00035 { 00036 // do nothing 00037 } 00038 00039 void 00040 CArchConsoleUnix::closeConsole() 00041 { 00042 // do nothing 00043 } 00044 00045 void 00046 CArchConsoleUnix::showConsole(bool) 00047 { 00048 // do nothing 00049 } 00050 00051 void 00052 CArchConsoleUnix::writeConsole(const char* str) 00053 { 00054 fprintf(stderr, "%s", str); 00055 } 00056 00057 const char* 00058 CArchConsoleUnix::getNewlineForConsole() 00059 { 00060 return "\n"; 00061 }