Moved several modules from history/ to data/.

This commit is contained in:
John Preston 2017-11-06 11:31:18 +04:00
parent d67a8a4708
commit 47a52b0587
17 changed files with 25 additions and 25 deletions

View file

@ -40,8 +40,8 @@ Copyright (c) 2014-2017 John Preston, https://desktop.telegram.org
#include "storage/storage_facade.h"
#include "storage/storage_shared_media.h"
#include "storage/storage_user_photos.h"
#include "history/history_sparse_ids.h"
#include "history/history_search_controller.h"
#include "data/data_sparse_ids.h"
#include "data/data_search_controller.h"
namespace {

View file

@ -18,7 +18,7 @@ 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 "history/history_search_controller.h"
#include "data/data_search_controller.h"
#include "auth_session.h"

View file

@ -21,7 +21,7 @@ Copyright (c) 2014-2017 John Preston, https://desktop.telegram.org
#pragma once
#include "mtproto/sender.h"
#include "history/history_sparse_ids.h"
#include "data/data_sparse_ids.h"
#include "storage/storage_sparse_ids_list.h"
#include "storage/storage_shared_media.h"
#include "base/value_ordering.h"

View file

@ -18,7 +18,7 @@ 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 "history/history_shared_media.h"
#include "data/data_shared_media.h"
#include <rpl/combine.h>
#include "auth_session.h"
@ -26,7 +26,7 @@ Copyright (c) 2014-2017 John Preston, https://desktop.telegram.org
#include "storage/storage_facade.h"
#include "storage/storage_shared_media.h"
#include "history/history_media_types.h"
#include "history/history_sparse_ids.h"
#include "data/data_sparse_ids.h"
namespace {

View file

@ -22,7 +22,7 @@ Copyright (c) 2014-2017 John Preston, https://desktop.telegram.org
#include "storage/storage_shared_media.h"
#include "base/weak_unique_ptr.h"
#include "history/history_sparse_ids.h"
#include "data/data_sparse_ids.h"
base::optional<Storage::SharedMediaType> SharedMediaOverviewType(
Storage::SharedMediaType type);

View file

@ -18,7 +18,7 @@ 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 "history/history_sparse_ids.h"
#include "data/data_sparse_ids.h"
#include <rpl/combine.h>
#include "storage/storage_sparse_ids_list.h"

View file

@ -18,7 +18,7 @@ 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 "history/history_user_photos.h"
#include "data/data_user_photos.h"
#include "auth_session.h"
#include "apiwrap.h"

View file

@ -21,7 +21,7 @@ Copyright (c) 2014-2017 John Preston, https://desktop.telegram.org
#include "info/info_controller.h"
#include "ui/search_field_controller.h"
#include "history/history_shared_media.h"
#include "data/data_shared_media.h"
#include "info/info_content_widget.h"
#include "info/info_memento.h"
#include "info/media/info_media_widget.h"

View file

@ -21,7 +21,7 @@ Copyright (c) 2014-2017 John Preston, https://desktop.telegram.org
#pragma once
#include <rpl/variable.h>
#include "history/history_search_controller.h"
#include "data/data_search_controller.h"
namespace Ui {
class SearchFieldController;

View file

@ -22,7 +22,7 @@ Copyright (c) 2014-2017 John Preston, https://desktop.telegram.org
#include "ui/rp_widget.h"
#include "info/media/info_media_widget.h"
#include "history/history_shared_media.h"
#include "data/data_shared_media.h"
namespace Ui {
class PopupMenu;

View file

@ -23,7 +23,7 @@ Copyright (c) 2014-2017 John Preston, https://desktop.telegram.org
#include <rpl/producer.h>
#include "info/info_content_widget.h"
#include "storage/storage_shared_media.h"
#include "history/history_search_controller.h"
#include "data/data_search_controller.h"
namespace Ui {
class SearchFieldController;

View file

@ -52,7 +52,7 @@ Copyright (c) 2014-2017 John Preston, https://desktop.telegram.org
#include "ui/widgets/shadow.h"
#include "ui/wrap/slide_wrap.h"
#include "ui/wrap/vertical_layout.h"
#include "history/history_shared_media.h"
#include "data/data_shared_media.h"
#include "profile/profile_common_groups_section.h"
namespace Info {

View file

@ -28,7 +28,7 @@ Copyright (c) 2014-2017 John Preston, https://desktop.telegram.org
#include "messenger.h"
#include "ui/wrap/slide_wrap.h"
#include "data/data_peer_values.h"
#include "history/history_shared_media.h"
#include "data/data_shared_media.h"
namespace Info {
namespace Profile {

View file

@ -22,8 +22,8 @@ Copyright (c) 2014-2017 John Preston, https://desktop.telegram.org
#include "ui/widgets/dropdown_menu.h"
#include "ui/effects/radial_animation.h"
#include "history/history_shared_media.h"
#include "history/history_user_photos.h"
#include "data/data_shared_media.h"
#include "data/data_user_photos.h"
namespace Media {
namespace Player {

View file

@ -156,8 +156,16 @@
<(src_loc)/data/data_peer_values.h
<(src_loc)/data/data_photo.cpp
<(src_loc)/data/data_photo.h
<(src_loc)/data/data_search_controller.cpp
<(src_loc)/data/data_search_controller.h
<(src_loc)/data/data_shared_media.cpp
<(src_loc)/data/data_shared_media.h
<(src_loc)/data/data_sparse_ids.cpp
<(src_loc)/data/data_sparse_ids.h
<(src_loc)/data/data_types.cpp
<(src_loc)/data/data_types.h
<(src_loc)/data/data_user_photos.cpp
<(src_loc)/data/data_user_photos.h
<(src_loc)/data/data_web_page.h
<(src_loc)/dialogs/dialogs_common.h
<(src_loc)/dialogs/dialogs_indexed_list.cpp
@ -199,18 +207,10 @@
<(src_loc)/history/history_media_types.h
<(src_loc)/history/history_message.cpp
<(src_loc)/history/history_message.h
<(src_loc)/history/history_search_controller.cpp
<(src_loc)/history/history_search_controller.h
<(src_loc)/history/history_service.cpp
<(src_loc)/history/history_service.h
<(src_loc)/history/history_service_layout.cpp
<(src_loc)/history/history_service_layout.h
<(src_loc)/history/history_shared_media.cpp
<(src_loc)/history/history_shared_media.h
<(src_loc)/history/history_sparse_ids.cpp
<(src_loc)/history/history_sparse_ids.h
<(src_loc)/history/history_user_photos.cpp
<(src_loc)/history/history_user_photos.h
<(src_loc)/history/history_widget.cpp
<(src_loc)/history/history_widget.h
<(src_loc)/info/info_content_widget.cpp