summaryrefslogtreecommitdiff
path: root/plugins/ExternalAPI/m_messagestate.h
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2020-02-06 20:29:24 +0300
committerGeorge Hazan <ghazan@miranda.im>2020-02-06 20:29:24 +0300
commit0a289dfb53afd6f0c70b980b730e2f411f84a1f4 (patch)
tree7485f6b2a7eb7ae6cb160305a059ae41954493a1 /plugins/ExternalAPI/m_messagestate.h
parent0eed72c23ea6bcd30f835de99bb6c220e2cec1ad (diff)
MessageState: code cleaning
Diffstat (limited to 'plugins/ExternalAPI/m_messagestate.h')
-rw-r--r--plugins/ExternalAPI/m_messagestate.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/plugins/ExternalAPI/m_messagestate.h b/plugins/ExternalAPI/m_messagestate.h
index d3dbf5b4a7..b47ea166e9 100644
--- a/plugins/ExternalAPI/m_messagestate.h
+++ b/plugins/ExternalAPI/m_messagestate.h
@@ -1,5 +1,11 @@
#pragma once
+enum MessageReadData_TimeType
+{
+ MRD_TYPE_READTIME,
+ MRD_TYPE_MESSAGETIME
+};
+
struct MessageReadData
{
DWORD dw_lastTime;
@@ -7,12 +13,6 @@ struct MessageReadData
MessageReadData(DWORD lastTime, int type) : dw_lastTime(lastTime), iTimeType(type) {}
};
-enum MessageReadData_TimeType
-{
- MRD_TYPE_READTIME,
- MRD_TYPE_MESSAGETIME
-};
-
/*
* Update messagestate read time
* WPARAM = hContact