| Line | |
|---|
| 1 | /*
|
|---|
| 2 | * synergy -- mouse and keyboard sharing utility
|
|---|
| 3 | * Copyright (C) 2002 Chris Schoeneman
|
|---|
| 4 | *
|
|---|
| 5 | * This package is free software; you can redistribute it and/or
|
|---|
| 6 | * modify it under the terms of the GNU General Public License
|
|---|
| 7 | * found in the file COPYING that should have accompanied this file.
|
|---|
| 8 | *
|
|---|
| 9 | * This package is distributed in the hope that it will be useful,
|
|---|
| 10 | * but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|---|
| 11 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|---|
| 12 | * GNU General Public License for more details.
|
|---|
| 13 | */
|
|---|
| 14 |
|
|---|
| 15 | #include "CArchConsoleUnix.h"
|
|---|
| 16 | #include <cstdio>
|
|---|
| 17 |
|
|---|
| 18 | //
|
|---|
| 19 | // CArchConsoleUnix
|
|---|
| 20 | //
|
|---|
| 21 |
|
|---|
| 22 | CArchConsoleUnix::CArchConsoleUnix(void*)
|
|---|
| 23 | {
|
|---|
| 24 | // do nothing
|
|---|
| 25 | }
|
|---|
| 26 |
|
|---|
| 27 | CArchConsoleUnix::~CArchConsoleUnix()
|
|---|
| 28 | {
|
|---|
| 29 | // do nothing
|
|---|
| 30 | }
|
|---|
| 31 |
|
|---|
| 32 | void
|
|---|
| 33 | CArchConsoleUnix::openConsole(const char*)
|
|---|
| 34 | {
|
|---|
| 35 | // do nothing
|
|---|
| 36 | }
|
|---|
| 37 |
|
|---|
| 38 | void
|
|---|
| 39 | CArchConsoleUnix::closeConsole()
|
|---|
| 40 | {
|
|---|
| 41 | // do nothing
|
|---|
| 42 | }
|
|---|
| 43 |
|
|---|
| 44 | void
|
|---|
| 45 | CArchConsoleUnix::showConsole(bool)
|
|---|
| 46 | {
|
|---|
| 47 | // do nothing
|
|---|
| 48 | }
|
|---|
| 49 |
|
|---|
| 50 | void
|
|---|
| 51 | CArchConsoleUnix::writeConsole(const char* str)
|
|---|
| 52 | {
|
|---|
| 53 | fprintf(stderr, "%s", str);
|
|---|
| 54 | }
|
|---|
| 55 |
|
|---|
| 56 | const char*
|
|---|
| 57 | CArchConsoleUnix::getNewlineForConsole()
|
|---|
| 58 | {
|
|---|
| 59 | return "\n";
|
|---|
| 60 | }
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.