Files
raDIYo/swurl.h
2025-08-05 22:36:00 +02:00

49 lines
1.0 KiB
C

/***************************************************************************
source::worx raDIYo
Copyright © 2020-2022 c.holzheuer
chris@sourceworx.org
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 SWURL_H
#define SWURL_H
#include <QString>
/**
* @brief Eine einfache Datenstruktur zum Speichern der abspielbaren
* Play- bzw. Sender-Listeneinträgen.
*/
struct SWUrl
{
enum Type
{
None = 0,
LocalFile,
UsbFile,
WebStream,
BlueTooth
};
QString title;
QString urlText;
int volume = -1;
SWUrl() = default;
SWUrl( const QString srcstrg, int defvolume = -1 );
SWUrl( const QString& atitle, const QString& atext );
};
#endif // SWURL_H