UFO: Alien Invasion
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
android_console.cpp
Go to the documentation of this file.
1 
6 /*
7 Copyright (C) 1997-2001 Id Software, Inc.
8 
9 This program is free software; you can redistribute it and/or
10 modify it under the terms of the GNU General Public License
11 as published by the Free Software Foundation; either version 2
12 of the License, or (at your option) any later version.
13 
14 This program is distributed in the hope that it will be useful,
15 but WITHOUT ANY WARRANTY; without even the implied warranty of
16 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
17 
18 See the GNU General Public License for more details.
19 
20 You should have received a copy of the GNU General Public License
21 along with this program; if not, write to the Free Software
22 Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
23 
24 */
25 
26 #include "../../common/common.h"
27 #include "../system.h"
28 #include <unistd.h>
29 #include <android/log.h>
30 
31 
32 void Sys_ShowConsole (bool show)
33 {
34 }
35 
37 {
38 }
39 
43 void Sys_ConsoleInit (void)
44 {
45 }
46 
47 const char *Sys_ConsoleInput (void)
48 {
49  return nullptr;
50 }
51 
52 void Sys_ConsoleOutput (const char *string)
53 {
54  __android_log_print(ANDROID_LOG_INFO, "UFOAI", "%s", string);
55 }
void Sys_ConsoleInit(void)
Initialize the console input (tty mode if possible)
void Sys_ShowConsole(bool show)
const char * Sys_ConsoleInput(void)
void Sys_ConsoleOutput(const char *string)
void Sys_ConsoleShutdown(void)