 |
Sayonara Player
|
21 #ifndef STREAMHANDLERSTREAMS_H
22 #define STREAMHANDLERSTREAMS_H
24 #include "AbstractStationHandler.h"
36 bool update(
const QString& station_name, StationPtr station)
override;
38 StationPtr createStreamInstance(
const QString& name,
const QString& url)
const override;
39 StationPtr station(
const QString& name)
override;
42 #endif // STREAMHANDLERSTREAMS_H
bool getAllStreams(QList< StationPtr > &stations) override
This method should return all stations in database.
Definition: StreamHandler.h:28
Definition: EngineUtils.h:33
Used to interprete website data as streams. Some methods have to be overridden, to map their function...
Definition: AbstractStationHandler.h:39
bool update(const QString &station_name, StationPtr station) override
Update the url of a station.
bool deleteStream(const QString &station_name) override
Delete a station from the database.
bool addNewStream(StationPtr station) override
This method should add a new station to database. If the station already exists, there should be a co...