2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-08-31 22:46:10 +00:00

Support building OS X 10.10/10.11 version.

This commit is contained in:
John Preston
2019-11-05 14:27:21 +03:00
parent 88e0342e02
commit 1eb62579e2
21 changed files with 63 additions and 120 deletions

View File

@@ -7,11 +7,14 @@ https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL
*/
#pragma once
#include "spellcheck/spelling_highlighter.h"
#include "ui/widgets/input_fields.h"
#include "base/timer.h"
#include "base/qt_connection.h"
#ifndef TDESKTOP_DISABLE_SPELLCHECK
#include "spellcheck/spelling_highlighter.h"
#endif // TDESKTOP_DISABLE_SPELLCHECK
#include <QtGui/QClipboard>
namespace Main {
@@ -35,9 +38,11 @@ Fn<bool(
void InitMessageField(
not_null<Window::SessionController*> controller,
not_null<Ui::InputField*> field);
base::unique_qptr<Spellchecker::SpellingHighlighter> InitSpellchecker(
void InitSpellchecker(
not_null<Main::Session*> session,
not_null<Ui::InputField*> field);
bool HasSendText(not_null<const Ui::InputField*> field);
struct InlineBotQuery {