fix: port Konsole to Redox Qt surface
This commit is contained in:
@@ -9,9 +9,12 @@
|
||||
#define VT102EMULATION_H
|
||||
|
||||
// Qt
|
||||
#include "config-konsole.h"
|
||||
#include <QHash>
|
||||
#include <QMap>
|
||||
#if HAVE_QTMULTIMEDIA
|
||||
#include <QMediaPlayer>
|
||||
#endif
|
||||
#include <QPair>
|
||||
#include <QVector>
|
||||
#include <QList>
|
||||
@@ -100,7 +103,9 @@ private Q_SLOTS:
|
||||
// pair in _pendingSessionAttributesUpdates.
|
||||
// Used to buffer multiple attribute updates in the current session
|
||||
void updateSessionAttributes();
|
||||
#if HAVE_QTMULTIMEDIA
|
||||
void deletePlayer(QMediaPlayer::MediaStatus);
|
||||
#endif
|
||||
|
||||
private:
|
||||
unsigned int applyCharset(uint c);
|
||||
@@ -315,7 +320,9 @@ private:
|
||||
// For kitty graphics protocol - image cache
|
||||
int getFreeGraphicsImageId();
|
||||
|
||||
#if HAVE_QTMULTIMEDIA
|
||||
QMediaPlayer *player;
|
||||
#endif
|
||||
};
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user