mirror of
git://projects.qi-hardware.com/ben-wpan.git
synced 2024-11-26 13:07:37 +02:00
436c9faed5
- atrf-path.c (usage, main): new option -g to invoke the GUI - atrf-path.c (usage, main): in GUI mode, the number of sweeps is optional (default: infinite) - atrf-path.c (main), gui.h (gui), gui.c (gui): exit after the specified number of sweeps
28 lines
598 B
C
28 lines
598 B
C
/*
|
|
* atrf-path/gui.h - Graphical output for atrf-path
|
|
*
|
|
* Written 2011 by Werner Almesberger
|
|
* Copyright 2011 Werner Almesberger
|
|
*
|
|
* 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 2 of the License, or
|
|
* (at your option) any later version.
|
|
*/
|
|
|
|
#ifndef GUI_H
|
|
#define GUI_H
|
|
|
|
#include <stdlib.h>
|
|
|
|
#include "sweep.h"
|
|
|
|
|
|
#ifdef HAVE_GFX
|
|
void gui(const struct sweep *sweep, int sweeps);
|
|
#else
|
|
#define gui(sweep, sweeps) abort()
|
|
#endif
|
|
|
|
#endif /* !GUI_H */
|