tdesktop/Telegram/SourceFiles/overview/overview_layout_delegate.h

24 lines
528 B
C++

/*
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:
virtual void registerHeavyItem(not_null<const ItemBase*> item) = 0;
virtual void unregisterHeavyItem(not_null<const ItemBase*> item) = 0;
};
} // namespace Layout
} // namespace Overview