/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ /* This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
// Sets / returns the last mouse press event we processed. void SetLastMousePressEvent(GdkEvent*);
GdkEvent* GetLastMousePressEvent();
// Return the snap's instance name, or null when not running as a snap. constchar* GetSnapInstanceName(); bool IsRunningUnderSnap(); bool IsRunningUnderFlatpak(); bool IsPackagedAppFileExists(); inlinebool IsRunningUnderFlatpakOrSnap() { return IsRunningUnderFlatpak() || IsRunningUnderSnap();
}
// Tries to get a descriptive identifier for the desktop environment that the // program is running under. Always normalized to lowercase. // See the implementation for the different environment variables and desktop // information we try to use. // // If we can't find a reasonable environment, the empty string is returned. const nsCString& GetDesktopEnvironmentIdentifier(); bool IsGnomeDesktopEnvironment(); bool IsKdeDesktopEnvironment();
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung ist noch experimentell.