summaryrefslogtreecommitdiff
path: root/plugins/SmileyAdd/src/smileyroutines.h
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/SmileyAdd/src/smileyroutines.h')
-rw-r--r--plugins/SmileyAdd/src/smileyroutines.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/plugins/SmileyAdd/src/smileyroutines.h b/plugins/SmileyAdd/src/smileyroutines.h
index 2507afc11e..3fa846c054 100644
--- a/plugins/SmileyAdd/src/smileyroutines.h
+++ b/plugins/SmileyAdd/src/smileyroutines.h
@@ -20,20 +20,18 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#ifndef _SMILEYROUTINES_
#define _SMILEYROUTINES_
-typedef struct ReplaceSmileyType_tag
+struct ReplaceSmileyType
{
CHARRANGE loc;
SmileyType *sml;
SmileyCType *smlc;
bool ldspace;
bool trspace;
-} ReplaceSmileyType;
+};
// Queue to store smileys found
typedef SMOBJLIST<ReplaceSmileyType> SmileysQueueType;
-
-
void LookupAllSmileys(SmileyPackType *smileyPack, SmileyPackCType *smileyCPack, const wchar_t *lpstrText, SmileysQueueType &smllist, const bool firstOnly);
void ReplaceSmileys(HWND hwnd, SmileyPackType *smp, SmileyPackCType *smcp, const CHARRANGE &sel, bool useHidden, bool ignoreLast, bool unFreeze, bool fireView = 0);
void ReplaceSmileysWithText(HWND hwnd, CHARRANGE &sel, bool keepFrozen);