2020-05-21 12:27:04 +00:00
|
|
|
/*
|
|
|
|
This file is part of Telegram Desktop,
|
|
|
|
the official desktop application for the Telegram messaging service.
|
|
|
|
|
|
|
|
For license and copyright information please follow this link:
|
|
|
|
https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL
|
|
|
|
*/
|
|
|
|
#pragma once
|
|
|
|
|
|
|
|
namespace Overview {
|
|
|
|
namespace Layout {
|
|
|
|
|
|
|
|
class ItemBase;
|
|
|
|
|
|
|
|
class Delegate {
|
|
|
|
public:
|
2020-05-21 13:13:29 +00:00
|
|
|
virtual void registerHeavyItem(not_null<const ItemBase*> item) = 0;
|
|
|
|
virtual void unregisterHeavyItem(not_null<const ItemBase*> item) = 0;
|
2020-05-21 12:27:04 +00:00
|
|
|
|
|
|
|
};
|
|
|
|
|
|
|
|
} // namespace Layout
|
|
|
|
} // namespace Overview
|