fix one too small
[RRG-proxmark3.git] / client / src / guidummy.cpp
blob2882fd41deefc03a64644e9dd1456c50c89087e9
1 //-----------------------------------------------------------------------------
2 // Copyright (C) Proxmark3 contributors. See AUTHORS.md for details.
3 //
4 // This program is free software: you can redistribute it and/or modify
5 // it under the terms of the GNU General Public License as published by
6 // the Free Software Foundation, either version 3 of the License, or
7 // (at your option) any later version.
8 //
9 // This program 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.
14 // See LICENSE.txt for the text of the license.
15 //-----------------------------------------------------------------------------
16 // GUI dummy file
17 //-----------------------------------------------------------------------------
19 #include <stdio.h>
21 extern "C" void ShowGraphWindow(void) {
22 static int warned = 0;
24 if (!warned) {
25 printf("No GUI in this build!\n");
26 warned = 1;
30 extern "C" void HideGraphWindow(void) {}
31 extern "C" void RepaintGraphWindow(void) {}
33 extern "C" void ShowPictureWindow(char *fn, int len) {
34 static int warned = 0;
36 if (!warned) {
37 printf("No GUI in this build!\n");
38 warned = 1;
41 extern "C" void ShowBase64PictureWindow(char *b64) {
42 static int warned = 0;
44 if (!warned) {
45 printf("No GUI in this build!\n");
46 warned = 1;
49 extern "C" void HidePictureWindow(void) {}
50 extern "C" void RepaintPictureWindow(void) {}
52 extern "C" void MainGraphics() {}
53 extern "C" void InitGraphics(int argc, char **argv) {}
54 extern "C" void ExitGraphics(void) {}