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:
@@ -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;
|
||||
|
||||
};
|
||||
|
Reference in New Issue
Block a user