1
0
mirror of https://github.com/JvanKatwijk/qt-dab.git synced 2025-10-07 16:52:43 +02:00
Files
SDR-DAB_Qt-DAB/includes/support/cacheElement.h

46 lines
1.3 KiB
C
Raw Normal View History

2023-12-29 18:36:02 +01:00
#
/*
2024-02-25 14:18:27 +01:00
* Copyright (C) 2015, 2023
2023-12-29 18:36:02 +01:00
* Jan van Katwijk (J.vanKatwijk@gmail.com)
* Lazy Chair Computing
*
2024-02-25 14:18:27 +01:00
* This file is part of the Qt-DAB
2023-12-29 18:36:02 +01:00
*
* Qt-DAB 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.
*
* Qt-DAB 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.
*
* You should have received a copy of the GNU General Public License
2024-02-25 14:18:27 +01:00
* along with Qt-DAB; if not, write to the Free Software
2023-12-29 18:36:02 +01:00
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
#pragma once
2024-02-25 14:18:27 +01:00
//
// In case there is aaccess to a database, the elements of
// that database are read in and per line converted to am accessible
// struct
#include <string>
#include <QString>
2023-12-29 18:36:02 +01:00
2024-02-25 14:18:27 +01:00
typedef struct {
QString country;
QString channel;
QString ensemble;
uint16_t Eid;
uint8_t mainId;
uint8_t subId;
QString transmitterName;
float latitude;
float longitude;
float power;
float height;
} cacheElement;
2023-12-29 18:36:02 +01:00