This commit is contained in:
fourtf
2018-06-26 13:24:55 +02:00
parent ec04f10895
commit c9722b9780
301 changed files with 0 additions and 0 deletions
+28
View File
@@ -0,0 +1,28 @@
#pragma once
#include <QString>
#include <QStringList>
#include <stdexcept>
#include <string>
namespace chatterino {
namespace streamlink {
class Exception : public std::runtime_error
{
public:
using std::runtime_error::runtime_error;
};
// Open streamlink for given channel, quality and extra arguments
// the "Additional arguments" are fetched and added at the beginning of the streamlink call
void OpenStreamlink(const QString &channelURL, const QString &quality,
QStringList extraArguments = QStringList());
// Start opening streamlink for the given channel, reading settings like quality from settings
// and opening a quality dialog if the quality is "Choose"
void Start(const QString &channel);
} // namespace streamlink
} // namespace chatterino