window_section_common.h 523 B

123456789101112131415161718
  1. /*
  2. This file is part of Telegram Desktop,
  3. the official desktop application for the Telegram messaging service.
  4. For license and copyright information please follow this link:
  5. https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL
  6. */
  7. #pragma once
  8. namespace Window {
  9. enum class SectionActionResult {
  10. Handle, // Handle an action and stay in the current section.
  11. Fallback, // Ignore an action and fallback to the HistoryWidget.
  12. Ignore, // Ignore an action and stay in the current section.
  13. };
  14. } // namespace Window