Add icons refactor repo structure
This commit is contained in:
parent
1fec61140c
commit
b719d8cf96
24 changed files with 317 additions and 594 deletions
19
SongItem.h
19
SongItem.h
|
|
@ -1,19 +0,0 @@
|
|||
#pragma once
|
||||
#include <QString>
|
||||
#include <QRandomGenerator>
|
||||
#include <cstdint>
|
||||
|
||||
class SongItem {
|
||||
public:
|
||||
QString caption;
|
||||
QString lyrics;
|
||||
uint64_t uniqueId; // Unique identifier for tracking across playlist changes
|
||||
QString file;
|
||||
QString vocalLanguage; // Language override for vocal generation (ISO 639 code or empty)
|
||||
|
||||
inline SongItem(const QString &caption = "", const QString &lyrics = "")
|
||||
: caption(caption), lyrics(lyrics) {
|
||||
// Generate a unique ID using cryptographically secure random number
|
||||
uniqueId = QRandomGenerator::global()->generate64();
|
||||
}
|
||||
};
|
||||
Loading…
Add table
Add a link
Reference in a new issue