mirror of
https://git.sr.ht/~thestr4ng3r/chiaki
synced 2025-08-14 18:57:07 -07:00
Port to Windows
This commit is contained in:
parent
43ddf619ed
commit
5faa801331
52 changed files with 616 additions and 143 deletions
|
@ -18,11 +18,11 @@
|
|||
#ifndef CHIAKI_AVOPENGLWIDGET_H
|
||||
#define CHIAKI_AVOPENGLWIDGET_H
|
||||
|
||||
#include <chiaki/log.h>
|
||||
|
||||
#include <QOpenGLWidget>
|
||||
#include <QMutex>
|
||||
|
||||
#include <chiaki/log.h>
|
||||
|
||||
extern "C"
|
||||
{
|
||||
#include <libavcodec/avcodec.h>
|
||||
|
|
|
@ -18,13 +18,13 @@
|
|||
#ifndef CHIAKI_DISCOVERYMANAGER_H
|
||||
#define CHIAKI_DISCOVERYMANAGER_H
|
||||
|
||||
#include <chiaki/discoveryservice.h>
|
||||
|
||||
#include "host.h"
|
||||
|
||||
#include <QObject>
|
||||
#include <QList>
|
||||
|
||||
#include <chiaki/discoveryservice.h>
|
||||
|
||||
struct DiscoveryHost
|
||||
{
|
||||
ChiakiDiscoveryHostState state;
|
||||
|
|
|
@ -25,11 +25,11 @@
|
|||
class Exception : public std::exception
|
||||
{
|
||||
private:
|
||||
QString msg;
|
||||
QByteArray msg;
|
||||
|
||||
public:
|
||||
explicit Exception(const QString &msg) : msg(msg) {}
|
||||
const char *what() const noexcept override { return msg.toLocal8Bit().constData(); }
|
||||
explicit Exception(const QString &msg) : msg(msg.toLocal8Bit()) {}
|
||||
const char *what() const noexcept override { return msg.constData(); }
|
||||
};
|
||||
|
||||
#endif // CHIAKI_EXCEPTION_H
|
||||
|
|
|
@ -18,11 +18,11 @@
|
|||
#ifndef CHIAKI_HOST_H
|
||||
#define CHIAKI_HOST_H
|
||||
|
||||
#include <chiaki/regist.h>
|
||||
|
||||
#include <QMetaType>
|
||||
#include <QString>
|
||||
|
||||
#include <chiaki/regist.h>
|
||||
|
||||
class QSettings;
|
||||
|
||||
class HostMAC
|
||||
|
|
|
@ -18,10 +18,10 @@
|
|||
#ifndef CHIAKI_REGISTDIALOG_H
|
||||
#define CHIAKI_REGISTDIALOG_H
|
||||
|
||||
#include "host.h"
|
||||
|
||||
#include <chiaki/regist.h>
|
||||
|
||||
#include "host.h"
|
||||
|
||||
#include <QDialog>
|
||||
|
||||
class Settings;
|
||||
|
|
|
@ -23,7 +23,7 @@
|
|||
class QLabel;
|
||||
|
||||
class ServerIconWidget;
|
||||
class DisplayServer;
|
||||
struct DisplayServer;
|
||||
|
||||
class ServerItemWidget : public QFrame
|
||||
{
|
||||
|
|
|
@ -18,10 +18,10 @@
|
|||
#ifndef CHIAKI_SETTINGS_H
|
||||
#define CHIAKI_SETTINGS_H
|
||||
|
||||
#include "host.h"
|
||||
|
||||
#include <chiaki/session.h>
|
||||
|
||||
#include "host.h"
|
||||
|
||||
#include <QSettings>
|
||||
|
||||
class Settings : public QObject
|
||||
|
|
|
@ -18,6 +18,8 @@
|
|||
#ifndef CHIAKI_STREAMSESSION_H
|
||||
#define CHIAKI_STREAMSESSION_H
|
||||
|
||||
#include <chiaki/session.h>
|
||||
|
||||
#include "videodecoder.h"
|
||||
#include "exception.h"
|
||||
#include "sessionlog.h"
|
||||
|
@ -26,8 +28,6 @@
|
|||
#include <QObject>
|
||||
#include <QImage>
|
||||
|
||||
#include <chiaki/session.h>
|
||||
|
||||
#if CHIAKI_GUI_ENABLE_QT_GAMEPAD
|
||||
class QGamepad;
|
||||
#endif
|
||||
|
|
|
@ -18,10 +18,10 @@
|
|||
#ifndef CHIAKI_VIDEODECODER_H
|
||||
#define CHIAKI_VIDEODECODER_H
|
||||
|
||||
#include "exception.h"
|
||||
|
||||
#include <chiaki/log.h>
|
||||
|
||||
#include "exception.h"
|
||||
|
||||
#include <QMutex>
|
||||
#include <QObject>
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue