Files
proxmark3/client/src/guidummy.cpp
T

55 lines
1.7 KiB
C++
Raw Permalink Normal View History

2017-07-27 21:33:16 +02:00
//-----------------------------------------------------------------------------
2022-01-07 01:58:03 +01:00
// Copyright (C) Proxmark3 contributors. See AUTHORS.md for details.
2017-07-27 21:33:16 +02:00
//
2022-01-07 01:58:03 +01:00
// This program is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
//
// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details.
//
// See LICENSE.txt for the text of the license.
2017-07-27 21:33:16 +02:00
//-----------------------------------------------------------------------------
// GUI dummy file
//-----------------------------------------------------------------------------
#include <stdio.h>
extern "C" void ShowGraphWindow(void) {
2019-03-09 23:35:06 +01:00
static int warned = 0;
2017-07-27 21:33:16 +02:00
2019-03-09 23:35:06 +01:00
if (!warned) {
2019-10-16 15:45:52 +02:00
printf("No GUI in this build!\n");
2019-03-09 23:35:06 +01:00
warned = 1;
}
2017-07-27 21:33:16 +02:00
}
extern "C" void HideGraphWindow(void) {}
extern "C" void RepaintGraphWindow(void) {}
2023-07-31 15:46:20 -04:00
extern "C" void ShowPictureWindow(char *fn, int len) {
static int warned = 0;
if (!warned) {
printf("No GUI in this build!\n");
warned = 1;
}
}
extern "C" void ShowBase64PictureWindow(char *b64) {
static int warned = 0;
if (!warned) {
printf("No GUI in this build!\n");
warned = 1;
}
}
extern "C" void HidePictureWindow(void) {}
extern "C" void RepaintPictureWindow(void) {}
2017-07-27 21:33:16 +02:00
extern "C" void MainGraphics() {}
extern "C" void InitGraphics(int argc, char **argv) {}
extern "C" void ExitGraphics(void) {}