summaryrefslogtreecommitdiff
path: root/plugins/SmileyAdd/src/smileys.h
diff options
context:
space:
mode:
authorSergey Bolhovskoy <elzorfox@ya.ru>2015-04-27 07:26:14 +0000
committerSergey Bolhovskoy <elzorfox@ya.ru>2015-04-27 07:26:14 +0000
commitfd511dcd6739e2994445833ac8f03f01a2c5df95 (patch)
treeb7aadf6ecb6afa73f31dcbbec86c79abcb4969f3 /plugins/SmileyAdd/src/smileys.h
parentd4e3eb97fc7b28124094ae40ec3536bbddd58f5e (diff)
SmileyAdd: rework global and account packs cooperation
git-svn-id: http://svn.miranda-ng.org/main/trunk@13190 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/SmileyAdd/src/smileys.h')
-rw-r--r--plugins/SmileyAdd/src/smileys.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/plugins/SmileyAdd/src/smileys.h b/plugins/SmileyAdd/src/smileys.h
index fce65fffa2..5a27cd37c0 100644
--- a/plugins/SmileyAdd/src/smileys.h
+++ b/plugins/SmileyAdd/src/smileys.h
@@ -243,8 +243,10 @@ private:
SmileyPackListType* m_pSmileyPackStore;
+ bool visible;
+
public:
- SmileyCategoryType() { type = smcNone; m_pSmileyPackStore = NULL; };
+ SmileyCategoryType() { type = smcNone; m_pSmileyPackStore = NULL; visible = true; };
SmileyCategoryType(SmileyPackListType* pSPS, const CMString& name,
const CMString& displayName, const CMString& defaultFilename, SmcType typ);
@@ -258,6 +260,7 @@ public:
bool IsPhysProto(void) { return type == smcPhysProto; }
bool IsTransportProto(void) { return type == smcTransportProto; }
bool IsExt(void) { return type == smcExt; }
+ bool IsVisible(void) { return visible; }
SmcType GetType(void) { return type; }
@@ -265,6 +268,7 @@ public:
void SetFilename(CMString& name) { m_Filename = name; }
void SetDisplayName(CMString& name) { m_DisplayName = name; }
+ void SetVisible(bool vis) { visible = vis; }
void ClearFilename(void) { m_Filename.Empty(); }
void SaveSettings(void);