"Fossies" - the Fresh Open Source Software Archive

Member "tdesktop-2.6.1/Telegram/SourceFiles/support/support_common.h" (24 Feb 2021, 506 Bytes) of package /linux/misc/tdesktop-2.6.1.tar.gz:


As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) C and C++ source code syntax highlighting (style: standard) with prefixed line numbers and code folding option. Alternatively you can here view or download the uninterpreted source code file. For more information about "support_common.h" see the Fossies "Dox" file reference documentation.

    1 /*
    2 This file is part of Telegram Desktop,
    3 the official desktop application for the Telegram messaging service.
    4 
    5 For license and copyright information please follow this link:
    6 https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL
    7 */
    8 #pragma once
    9 
   10 namespace Support {
   11 
   12 enum class SwitchSettings {
   13     None,
   14     Next,
   15     Previous,
   16 };
   17 
   18 Qt::KeyboardModifiers SkipSwitchModifiers();
   19 bool HandleSwitch(Qt::KeyboardModifiers modifiers);
   20 FnMut<bool()> GetSwitchMethod(SwitchSettings value);
   21 
   22 } // namespace Support