"Fossies" - the Fresh Open Source Software Archive

Member "tdesktop-2.6.1/Telegram/SourceFiles/ui/boxes/choose_date_time.h" (24 Feb 2021, 617 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 "choose_date_time.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 #include "ui/layers/generic_box.h"
   11 
   12 namespace Ui {
   13 
   14 class RoundButton;
   15 
   16 struct ChooseDateTimeBoxDescriptor {
   17     QPointer<RoundButton> submit;
   18     Fn<TimeId()> collect;
   19 };
   20 
   21 ChooseDateTimeBoxDescriptor ChooseDateTimeBox(
   22     not_null<GenericBox*> box,
   23     rpl::producer<QString> title,
   24     rpl::producer<QString> submit,
   25     Fn<void(TimeId)> done,
   26     TimeId time);
   27 
   28 } // namespace Ui