summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2023-03-23 19:24:19 +0300
committerGeorge Hazan <ghazan@miranda.im>2023-03-23 19:24:19 +0300
commita1284729b31119dc50d95f73e2ffe7fed4a20ac8 (patch)
treea657e9c43b4cf4e79c7ae4ada525b3c35996e541 /include
parent94250c7e15a5f10628ecd405d64605189d4afffc (diff)
chat serialization
Diffstat (limited to 'include')
-rw-r--r--include/m_chat.h1
-rw-r--r--include/m_chat_int.h3
2 files changed, 3 insertions, 1 deletions
diff --git a/include/m_chat.h b/include/m_chat.h
index 96ddddf297..92e4e6329b 100644
--- a/include/m_chat.h
+++ b/include/m_chat.h
@@ -134,6 +134,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
#define GC_TYPNOTIF 0x0040 // enable typing notifications.
#define GC_CHANMGR 0x0080 // enable the 'channel settings' button
#define GC_DATABASE 0x0100 // all events are backed in the database
+#define GC_PERSISTENT 0x0200 // chat structure is stored offline not to retrieve it each time
// Error messages
#define GC_ERROR 1 // An internal error occurred.
diff --git a/include/m_chat_int.h b/include/m_chat_int.h
index f5d86317ca..a54d900cdd 100644
--- a/include/m_chat_int.h
+++ b/include/m_chat_int.h
@@ -98,7 +98,7 @@ struct MIR_APP_EXPORT GCModuleInfoBase : public MZeroedObject, public MNonCopyab
bool bBold, bItalics, bUnderline;
bool bColor, bBkgColor;
- bool bChanMgr, bAckMsg, bDatabase;
+ bool bChanMgr, bAckMsg, bDatabase, bPersistent;
int iMaxText;
};
@@ -144,6 +144,7 @@ struct MIR_APP_EXPORT SESSION_INFO : public MZeroedObject, public MNonCopyable
bool bHasNicklist;
bool bTrimmed;
bool bHistoryInit;
+ bool bIsDirty;
char* pszModule;
wchar_t* ptszID;