1
0
mirror of git://projects.qi-hardware.com/ben-wpan.git synced 2024-11-26 13:07:37 +02:00
ben-wpan/tools/atrf-path/gui.h
Werner Almesberger 436c9faed5 atrf-path: the GUI is now activated with -g; also changed arguments in GUI mode
- 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
2011-04-13 11:54:58 -03:00

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 */