summaryrefslogtreecommitdiff
path: root/include/m_database.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/m_database.h')
-rw-r--r--include/m_database.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/include/m_database.h b/include/m_database.h
index c47f3ef872..c3d030ccb9 100644
--- a/include/m_database.h
+++ b/include/m_database.h
@@ -726,6 +726,19 @@ public:
}
};
+class MIR_CORE_EXPORT ECPTR : public MNonCopyable
+{
+ EventCursor *m_cursor;
+ MEVENT m_prevFetched, m_currEvent;
+
+public:
+ ECPTR(EventCursor *_1);
+ ~ECPTR();
+
+ void DeleteEvent();
+ MEVENT FetchNext();
+};
+
class EventIterator
{
EventCursor *cursor;