mirror of https://github.com/procxx/kepka.git
Add missing includes
This commit is contained in:
parent
5f2ea313b8
commit
d82f476623
|
|
@ -22,6 +22,7 @@ Copyright (c) 2018 pro.cxx Community
|
|||
|
||||
#include <QObject>
|
||||
#include <QPointer>
|
||||
#include "core/utils.h" // @todo used for base::take
|
||||
|
||||
// Smart pointer for QObject*, has move semantics, destroys object if it doesn't have a parent.
|
||||
template <typename Object>
|
||||
|
|
|
|||
|
|
@ -30,6 +30,7 @@ Copyright (c) 2014-2017 John Preston, https://desktop.telegram.org
|
|||
#include <openssl/engine.h>
|
||||
#include <openssl/conf.h>
|
||||
#include <openssl/ssl.h>
|
||||
#include <QSslSocket>
|
||||
|
||||
extern "C" {
|
||||
#include <libavcodec/avcodec.h>
|
||||
|
|
@ -50,6 +51,8 @@ quint64 _SharedMemoryLocation[4] = { 0x00, 0x01, 0x02, 0x03 };
|
|||
|
||||
#include <openssl/rand.h>
|
||||
|
||||
#include "mtproto/core_types.h"
|
||||
|
||||
// Base types compile-time check
|
||||
static_assert(sizeof(char) == 1, "Basic types size check failed");
|
||||
static_assert(sizeof(uchar) == 1, "Basic types size check failed");
|
||||
|
|
|
|||
|
|
@ -18,8 +18,6 @@ to link the code of portions of this program with the OpenSSL library.
|
|||
Full license: https://github.com/telegramdesktop/tdesktop/blob/master/LICENSE
|
||||
Copyright (c) 2014-2017 John Preston, https://desktop.telegram.org
|
||||
*/
|
||||
#include <QAction>
|
||||
|
||||
#include "history/history_admin_log_item.h"
|
||||
#include "history/history_admin_log_inner.h"
|
||||
#include "styles/style_history.h"
|
||||
|
|
@ -40,6 +38,9 @@ Copyright (c) 2014-2017 John Preston, https://desktop.telegram.org
|
|||
#include "lang/lang_keys.h"
|
||||
#include "boxes/edit_participant_box.h"
|
||||
|
||||
#include <QAction>
|
||||
#include <QApplication>
|
||||
|
||||
namespace AdminLog {
|
||||
namespace {
|
||||
|
||||
|
|
|
|||
|
|
@ -19,6 +19,7 @@ Full license: https://github.com/telegramdesktop/tdesktop/blob/master/LICENSE
|
|||
Copyright (c) 2014-2017 John Preston, https://desktop.telegram.org
|
||||
*/
|
||||
#include <QAction>
|
||||
#include <QApplication>
|
||||
#include "history/history_inner_widget.h"
|
||||
#include "styles/style_history.h"
|
||||
#include "core/file_utilities.h"
|
||||
|
|
|
|||
|
|
@ -18,7 +18,6 @@ to link the code of portions of this program with the OpenSSL library.
|
|||
Full license: https://github.com/telegramdesktop/tdesktop/blob/master/LICENSE
|
||||
Copyright (c) 2014-2017 John Preston, https://desktop.telegram.org
|
||||
*/
|
||||
#include <QWindow>
|
||||
#include "inline_bots/inline_results_widget.h"
|
||||
#include "styles/style_chat_helpers.h"
|
||||
#include "ui/widgets/buttons.h"
|
||||
|
|
@ -38,6 +37,8 @@ Copyright (c) 2014-2017 John Preston, https://desktop.telegram.org
|
|||
#include "ui/widgets/scroll_area.h"
|
||||
#include "ui/widgets/labels.h"
|
||||
#include "observer_peer.h"
|
||||
#include <QWindow>
|
||||
#include <QApplication>
|
||||
|
||||
namespace InlineBots {
|
||||
namespace Layout {
|
||||
|
|
|
|||
|
|
@ -47,6 +47,7 @@ Copyright (c) 2014-2017 John Preston, https://desktop.telegram.org
|
|||
#include <QWindow>
|
||||
#include <QDesktopWidget>
|
||||
#include <QImageReader>
|
||||
#include <QClipboard>
|
||||
|
||||
namespace {
|
||||
|
||||
|
|
|
|||
|
|
@ -19,13 +19,15 @@ Full license: https://github.com/telegramdesktop/tdesktop/blob/master/LICENSE
|
|||
Copyright (c) 2014-2017 John Preston, https://desktop.telegram.org
|
||||
*/
|
||||
#include "platform/mac/file_utilities_mac.h"
|
||||
|
||||
#include "platform/mac/mac_utilities.h"
|
||||
#include "styles/style_window.h"
|
||||
|
||||
#include <Cocoa/Cocoa.h>
|
||||
#include <CoreFoundation/CFURL.h>
|
||||
|
||||
#include <QApplication>
|
||||
#include <QDesktopWidget>
|
||||
|
||||
namespace {
|
||||
|
||||
using namespace Platform;
|
||||
|
|
|
|||
|
|
@ -20,12 +20,14 @@ Copyright (c) 2014-2017 John Preston, https://desktop.telegram.org
|
|||
*/
|
||||
#pragma once
|
||||
|
||||
#include <QMenuBar>
|
||||
|
||||
#include "platform/platform_main_window.h"
|
||||
#include "platform/mac/specific_mac_p.h"
|
||||
#include "base/timer.h"
|
||||
|
||||
#include <QMenuBar>
|
||||
#include <QTimer>
|
||||
#include <QSystemTrayIcon>
|
||||
|
||||
namespace Platform {
|
||||
|
||||
class MainWindow : public Window::MainWindow {
|
||||
|
|
|
|||
|
|
@ -26,6 +26,8 @@ Copyright (c) 2014-2017 John Preston, https://desktop.telegram.org
|
|||
#include "mainwindow.h"
|
||||
#include "base/task_queue.h"
|
||||
#include "base/variant.h"
|
||||
#include "facades.h"
|
||||
#include "history/history.h"
|
||||
|
||||
#include <thread>
|
||||
#include <Cocoa/Cocoa.h>
|
||||
|
|
|
|||
|
|
@ -18,6 +18,10 @@ Copyright (c) 2014-2017 John Preston, https://desktop.telegram.org
|
|||
#pragma once
|
||||
|
||||
#include "platform/mac/specific_mac_p.h"
|
||||
#include "core/utils.h" // TimeMs
|
||||
#include "core/basic_types.h" // qsl()
|
||||
#include <QFile>
|
||||
|
||||
class QAbstractNativeEventFilter;
|
||||
class LocationCoords;
|
||||
|
||||
|
|
|
|||
|
|
@ -39,6 +39,10 @@ Copyright (c) 2014-2017 John Preston, https://desktop.telegram.org
|
|||
#include <SPMediaKeyTap.h>
|
||||
#include <mach-o/dyld.h>
|
||||
|
||||
#include <QAbstractNativeEventFilter>
|
||||
#include <QDesktopWidget>
|
||||
#include <QDesktopServices>
|
||||
|
||||
namespace {
|
||||
|
||||
QStringList _initLogs;
|
||||
|
|
|
|||
|
|
@ -17,6 +17,11 @@ Copyright (c) 2014-2017 John Preston, https://desktop.telegram.org
|
|||
*/
|
||||
#pragma once
|
||||
|
||||
#include "core/utils.h" // TimeMs
|
||||
#include <QString>
|
||||
#include <QByteArray>
|
||||
#include <QWindow> // WId
|
||||
|
||||
// e is NSEvent*
|
||||
bool objc_handleMediaKeyEvent(void *e);
|
||||
|
||||
|
|
|
|||
|
|
@ -25,6 +25,8 @@ Copyright (c) 2014-2017 John Preston, https://desktop.telegram.org
|
|||
#include "styles/style_window.h"
|
||||
#include "styles/style_mediaview.h"
|
||||
#include "platform/platform_main_window.h"
|
||||
#include "facades.h"
|
||||
#include "app.h"
|
||||
|
||||
#include <Cocoa/Cocoa.h>
|
||||
#include <CoreFoundation/CFURL.h>
|
||||
|
|
|
|||
|
|
@ -28,6 +28,9 @@ Copyright (c) 2014-2017 John Preston, https://desktop.telegram.org
|
|||
#include "mainwindow.h"
|
||||
#include "lang/lang_keys.h"
|
||||
|
||||
#include <QApplication>
|
||||
#include <QClipboard>
|
||||
|
||||
namespace Profile {
|
||||
|
||||
using UpdateFlag = Notify::PeerUpdate::Flag;
|
||||
|
|
|
|||
|
|
@ -33,6 +33,9 @@ Copyright (c) 2014-2017 John Preston, https://desktop.telegram.org
|
|||
#include <QStyle>
|
||||
#include <QStack>
|
||||
#include <QCommonStyle>
|
||||
#include <QGuiApplication>
|
||||
#include <QApplication>
|
||||
#include <QClipboard>
|
||||
|
||||
namespace Ui {
|
||||
namespace {
|
||||
|
|
|
|||
|
|
@ -27,6 +27,8 @@ Copyright (c) 2014-2017 John Preston, https://desktop.telegram.org
|
|||
#include "facades.h"
|
||||
|
||||
#include <QDrag>
|
||||
#include <QApplication>
|
||||
#include <QClipboard>
|
||||
|
||||
namespace Ui {
|
||||
namespace {
|
||||
|
|
|
|||
|
|
@ -35,6 +35,8 @@ Copyright (c) 2014-2017 John Preston, https://desktop.telegram.org
|
|||
#include <QWindow>
|
||||
#include <QScreen>
|
||||
#include <QDesktopWidget>
|
||||
#include <QGuiApplication>
|
||||
#include <QApplication>
|
||||
|
||||
namespace Window {
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue