2
0
mirror of https://github.com/kotatogram/kotatogram-desktop synced 2025-08-31 06:35:14 +00:00

Init edit media.

This commit is contained in:
23rd
2019-03-24 15:39:19 +03:00
committed by John Preston
parent db631acf80
commit be58e23775
10 changed files with 265 additions and 10 deletions

View File

@@ -111,6 +111,13 @@ public:
void start();
void setEditMedia(FullMsgId flag) {
_editMedia = flag;
}
FullMsgId getEditMedia() const {
return _editMedia;
}
void openPeerByName(
const QString &name,
MsgId msgId = ShowAtUnreadMsgId,
@@ -159,6 +166,8 @@ public:
void checkMainSectionToLayer();
void onSendFileConfirm(const std::shared_ptr<FileLoadResult> &file);
void onEditMedia(const std::shared_ptr<FileLoadResult> &file,
const FullMsgId &oldId);
bool onSendSticker(DocumentData *sticker);
void destroyData();
@@ -544,4 +553,6 @@ private:
bool _firstColumnResizing = false;
int _firstColumnResizingShift = 0;
FullMsgId _editMedia;
};