summaryrefslogtreecommitdiff
path: root/plugins/NewStory/src/history_array.h
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2020-10-17 21:17:13 +0300
committerGeorge Hazan <ghazan@miranda.im>2020-10-17 21:17:13 +0300
commit6417935db337da37eb829d35487dbfda49ed1092 (patch)
tree20bd43c0b29cbf69607ac1b49472f2aade02b499 /plugins/NewStory/src/history_array.h
parent1aea5e768a5616d30a9568a57cc190cd96d2529c (diff)
NewStory:
- fixes #2416 (NewStory: add ability to delete only selected messages) - fixes #2423 (NewStory: если выделено одно сообщение, а щёлкнуть ПКМ по другому, то копирование и редактирование ведут себя по-разному); - fixes #2452 (NewStory: add multiple messages selection ability without keyboard)
Diffstat (limited to 'plugins/NewStory/src/history_array.h')
-rw-r--r--plugins/NewStory/src/history_array.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/plugins/NewStory/src/history_array.h b/plugins/NewStory/src/history_array.h
index 46e075c934..166dd48160 100644
--- a/plugins/NewStory/src/history_array.h
+++ b/plugins/NewStory/src/history_array.h
@@ -139,6 +139,8 @@ public:
ItemData* get(int id, bool bLoad = false);
ItemData* operator[] (int id) { return get(id, true); }
+ void remove(int idx);
+
int FindRel(int id, int dir, Filter filter)
{
int count = getCount();