From 001832de6c20442ae98cdf2ab52a61556e9b0085 Mon Sep 17 00:00:00 2001 From: Sergey Bolhovskoy Date: Fri, 24 Apr 2015 06:47:35 +0000 Subject: =?UTF-8?q?SmileyAdd:=20change=20=E2=80=98Use=20per=20protocol=20g?= =?UTF-8?q?lobal=20smiley=20packs=E2=80=99=20option=20logic=20Copyright=20?= =?UTF-8?q?update?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit git-svn-id: http://svn.miranda-ng.org/main/trunk@13062 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/SmileyAdd/src/smileys.h | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (limited to 'plugins/SmileyAdd/src/smileys.h') diff --git a/plugins/SmileyAdd/src/smileys.h b/plugins/SmileyAdd/src/smileys.h index 4b04a1d756..fce65fffa2 100644 --- a/plugins/SmileyAdd/src/smileys.h +++ b/plugins/SmileyAdd/src/smileys.h @@ -1,5 +1,6 @@ /* -Miranda SmileyAdd Plugin +Miranda NG SmileyAdd Plugin +Copyright (C) 2012 - 2015 Miranda NG project (http://miranda-ng.org) Copyright (C) 2005 - 2011 Boris Krasnovskiy Copyright (C) 2003 - 2004 Rein-Peter de Boer @@ -224,6 +225,8 @@ typedef enum smcNone, smcStd, smcProto, + smcTransportProto, + smcPhysProto, smcCustom, smcExt } SmcType; @@ -250,7 +253,10 @@ public: const CMString& GetFilename(void) const { return m_Filename; } bool IsCustom(void) { return type == smcCustom; } - bool IsProto(void) { return type == smcProto; } + bool IsProto(void) { return type == smcProto || type == smcPhysProto || type == smcTransportProto; } + bool IsAcc(void) { return type == smcProto; } + bool IsPhysProto(void) { return type == smcPhysProto; } + bool IsTransportProto(void) { return type == smcTransportProto; } bool IsExt(void) { return type == smcExt; } SmcType GetType(void) { return type; } -- cgit v1.2.3