mirror of
https://github.com/kotatogram/kotatogram-desktop
synced 2025-09-05 00:55:12 +00:00
Move GTK integration out of process with D-Bus
This commit is contained in:
@@ -10,14 +10,23 @@ https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL
|
||||
namespace Platform {
|
||||
namespace internal {
|
||||
|
||||
class GtkIntegration::Private {
|
||||
};
|
||||
|
||||
GtkIntegration::GtkIntegration() {
|
||||
}
|
||||
|
||||
GtkIntegration::~GtkIntegration() = default;
|
||||
|
||||
GtkIntegration *GtkIntegration::Instance() {
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
void GtkIntegration::load() {
|
||||
void GtkIntegration::load(const QString &allowedBackends) {
|
||||
}
|
||||
|
||||
int GtkIntegration::exec(const QString &parentDBusName, int ppid) {
|
||||
return 1;
|
||||
}
|
||||
|
||||
bool GtkIntegration::showOpenWithDialog(const QString &filepath) const {
|
||||
@@ -28,5 +37,23 @@ QImage GtkIntegration::getImageFromClipboard() const {
|
||||
return {};
|
||||
}
|
||||
|
||||
QString GtkIntegration::AllowedBackends() {
|
||||
return {};
|
||||
}
|
||||
|
||||
int GtkIntegration:Exec(
|
||||
Type type,
|
||||
const QString &parentDBusName,
|
||||
int ppid,
|
||||
uint instanceNumber) {
|
||||
return 1;
|
||||
}
|
||||
|
||||
void GtkIntegration::Start(Type type) {
|
||||
}
|
||||
|
||||
void GtkIntegration::Autorestart(Type type) {
|
||||
}
|
||||
|
||||
} // namespace internal
|
||||
} // namespace Platform
|
||||
|
Reference in New Issue
Block a user