2025-02-15 07:32:07 +01:00
|
|
|
#ifndef PLAYER_H
|
|
|
|
#define PLAYER_H
|
|
|
|
|
|
|
|
#include <QFile>
|
|
|
|
#include <QFrame>
|
|
|
|
|
|
|
|
class Player{
|
|
|
|
public:
|
|
|
|
Player();
|
|
|
|
~Player();
|
2025-02-15 07:33:46 +01:00
|
|
|
int play(void);
|
|
|
|
int get_Sender() { return this->Sender; }
|
|
|
|
QString get_Name(int x) { return this->Name[x]; }
|
|
|
|
QString get_URL(int x) { return this->URL[x]; }
|
2025-02-15 07:32:07 +01:00
|
|
|
|
|
|
|
private:
|
|
|
|
static write_data(void*, size_t, size_t , void*);
|
|
|
|
int sender_holen(void);
|
|
|
|
int sender_laden(void);
|
2025-02-15 07:33:46 +01:00
|
|
|
int sender_ausgeben(void);
|
2025-02-15 07:32:07 +01:00
|
|
|
int Sender;
|
|
|
|
QString Name[10000];
|
2025-02-15 07:33:46 +01:00
|
|
|
QString URL[10000];
|
2025-02-15 07:32:07 +01:00
|
|
|
QFrame *videoWidget;
|
|
|
|
};
|
|
|
|
|
|
|
|
#endif // PLAYER_H
|