Move history defines to global.h

This commit is contained in:
Peter L Jones 2020-03-21 18:49:12 +00:00
parent 2f06553b0b
commit f04eb1e7ed
2 changed files with 7 additions and 8 deletions

View file

@ -92,6 +92,13 @@ LED bar: lbr
// file name for logging file // file name for logging file
#define DEFAULT_LOG_FILE_NAME "Jamulussrvlog.txt" #define DEFAULT_LOG_FILE_NAME "Jamulussrvlog.txt"
/* History Definitions ****************************************************************/
// default number of history items to store
#define NUM_ITEMS_HISTORY 6400
// default oldest item to draw
#define MAX_DAYS_HISTORY 60
/* *** */
// default server address // default server address
#define DEFAULT_SERVER_ADDRESS "jamulus.fischvolk.de" #define DEFAULT_SERVER_ADDRESS "jamulus.fischvolk.de"
#define DEFAULT_SERVER_NAME "Central Server" #define DEFAULT_SERVER_NAME "Central Server"

View file

@ -42,14 +42,6 @@
#include <QXmlStreamAttributes> #include <QXmlStreamAttributes>
/* Definitions ****************************************************************/
// number of history items to store
#define NUM_ITEMS_HISTORY 4800
// oldest item to draw
#define MAX_DAYS_HISTORY 60
/* Interface ******************************************************************/ /* Interface ******************************************************************/
class AHistoryGraph class AHistoryGraph
{ {