summaryrefslogtreecommitdiff
path: root/plugins/Clist_modern/src/modern_clist.h
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2016-03-24 09:11:43 +0000
committerGeorge Hazan <george.hazan@gmail.com>2016-03-24 09:11:43 +0000
commit5f3997157e81d4910bcc4659bee7124a9c744d2f (patch)
treea6ff27d2d8a193b7d8139d114b85eb660cedb843 /plugins/Clist_modern/src/modern_clist.h
parent930b7f8aa2175f1b114e76b5687c6a4b7d6fee37 (diff)
- db_get_ts -> db_get_tsa;
- code cleaning git-svn-id: http://svn.miranda-ng.org/main/trunk@16533 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/Clist_modern/src/modern_clist.h')
-rw-r--r--plugins/Clist_modern/src/modern_clist.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/plugins/Clist_modern/src/modern_clist.h b/plugins/Clist_modern/src/modern_clist.h
index 50c6f87da2..9747554acc 100644
--- a/plugins/Clist_modern/src/modern_clist.h
+++ b/plugins/Clist_modern/src/modern_clist.h
@@ -98,6 +98,10 @@ struct ClcCacheEntry : public ClcCacheEntryBase
void getName(void);
void freeName(void);
+
+ int __forceinline getStatus() const
+ { return (this == NULL) ? ID_STATUS_OFFLINE : m_iStatus;
+ }
};
///////////////////////////////////////////////////////////////////////////////