limpieza código no usado e includes

This commit is contained in:
snt 2024-04-25 16:29:33 +02:00
parent 3613d8fa51
commit 66c2850e06
19 changed files with 83 additions and 338 deletions

View file

@ -1,13 +1,10 @@
#ifndef DEFINES_H
#define DEFINES_H
#include <QString>
#include <QList>
#include <QtGlobal>
#define VERSION "LibreMediaServerAudio 0.2.0 Antigona Release"
#define COPYRIGHT "(C) 2014-2024 Santi Norena lms@criptomart.net"
#define LICENSE "GPL 3 License. See LICENSE.txt and credits.txt for details"
//#define VERSION "LibreMediaServerAudio 0.2.0 Antigona Release"
#define VERSION "Kike Substitutor - No AI required - v0.2.0"
#define COPYRIGHT "(C) 2014-2024 Santi Noreña <lms@criptomart.net>"
#define LICENSE "GPL 3 Licensed. See LICENSE.txt.\nSound guys are not allowed to use this software."
#define DEFAULT_FILE "lms-audio.xlm"
#define MAX_LAYERS 16
#define UI_REFRESH_TIME 200
@ -15,26 +12,10 @@
// struct where save the DMX settings for each layer
struct dmxSetting {
int address;
quint8 universe;
bool updated;
unsigned int universe;
int layer;
};
// Media Information for MELIn packages. v1.0
struct MediaFile {
quint8 Number; // 0-based contiguous index of the media.
QString MediaName;// Media name.
quint32 MediaLength;// Media length (in frames).
};
// Media Library for ELin packages v1.0
struct MediaFolder {
quint8 m_Id; // Library id.
QString m_Name;// Library name.
quint8 m_ElementCount;// Number of elements in the library.
QList<MediaFile> m_MediaInformation; // Pointer to the Medias Information List of this Library
};
enum Status
{
Stopped,
@ -49,7 +30,7 @@ static const char* StatusStr[] =
"Pause",
"Playing One",
"Playing Loop",
NULL
0x0
};
enum Slider