00001 /* xandi, too lazy to write header */ 00002 #include "textonlyFrontEnd.h" 00003 00004 #include <stdio.h> 00005 00006 TextOnlyFrontEnd::TextOnlyFrontEnd () { 00007 }; 00008 00009 TextOnlyFrontEnd::TextOnlyFrontEnd (int argc, char** argv) { 00010 00011 fprintf ( stderr, "\n3Dsia Server\ntextonly frontend, ugly but good for gdb :)\n" ); 00012 00013 }; 00014 00015 TextOnlyFrontEnd::~TextOnlyFrontEnd () { 00016 }; 00017 00018 void TextOnlyFrontEnd::update () { 00019 }; 00020 00021 void TextOnlyFrontEnd::displayUsers (int users) { 00022 fprintf ( stderr, "\n(i) Users connected: %d", users ); 00023 }; 00024 00025 void TextOnlyFrontEnd::displayMatrices (int matrices) { 00026 fprintf ( stderr, "\n(i) Matrices open: %d", matrices ); 00027 }; 00028 00029 void TextOnlyFrontEnd::displayDebugMessage (const char* msg) { 00030 fprintf ( stderr, "\n(d) %s", msg ); 00031 };