2
0
mirror of https://github.com/kotatogram/kotatogram-desktop synced 2025-08-31 22:55:11 +00:00

Start HistoryView::Message class for item view.

This commit is contained in:
John Preston
2018-01-10 16:13:33 +03:00
parent 794e31505b
commit 8060cb7426
22 changed files with 696 additions and 514 deletions

View File

@@ -13,18 +13,25 @@ struct HistoryServiceDependentData {
ClickHandlerPtr lnk;
};
struct HistoryServicePinned : public RuntimeComponent<HistoryServicePinned>, public HistoryServiceDependentData {
struct HistoryServicePinned
: public RuntimeComponent<HistoryServicePinned>
, public HistoryServiceDependentData {
};
struct HistoryServiceGameScore : public RuntimeComponent<HistoryServiceGameScore>, public HistoryServiceDependentData {
struct HistoryServiceGameScore
: public RuntimeComponent<HistoryServiceGameScore>
, public HistoryServiceDependentData {
int score = 0;
};
struct HistoryServicePayment : public RuntimeComponent<HistoryServicePayment>, public HistoryServiceDependentData {
struct HistoryServicePayment
: public RuntimeComponent<HistoryServicePayment>
, public HistoryServiceDependentData {
QString amount;
};
struct HistoryServiceSelfDestruct : public RuntimeComponent<HistoryServiceSelfDestruct> {
struct HistoryServiceSelfDestruct
: public RuntimeComponent<HistoryServiceSelfDestruct> {
enum class Type {
Photo,
Video,