summaryrefslogtreecommitdiff
path: root/plugins/NewStory/src/templates.h
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2023-10-30 15:22:28 +0300
committerGeorge Hazan <george.hazan@gmail.com>2023-10-30 15:22:28 +0300
commitee2337c6bc391d0ab1d58123899920c6df0d2ef0 (patch)
tree976d43891e839e11702387f121c505792f284aea /plugins/NewStory/src/templates.h
parent16143e784b1697c4b5349bc888c97f7160cf4534 (diff)
fixes #3616 (NewStory: не работают настройки цвета своего имени и имени собеседника)
Diffstat (limited to 'plugins/NewStory/src/templates.h')
-rw-r--r--plugins/NewStory/src/templates.h19
1 files changed, 1 insertions, 18 deletions
diff --git a/plugins/NewStory/src/templates.h b/plugins/NewStory/src/templates.h
index 1ad2deed48..bfb7e123e7 100644
--- a/plugins/NewStory/src/templates.h
+++ b/plugins/NewStory/src/templates.h
@@ -16,7 +16,7 @@ struct TemplateVars
return vars[id].val;
}
- void SetNick(wchar_t *v, bool bIncoming);
+ void SetNick(wchar_t *v);
void SetVar(uint8_t id, wchar_t *v, bool d);
};
@@ -71,21 +71,4 @@ extern TemplateInfo templates[TPL_COUNT];
void LoadTemplates();
void SaveTemplates();
-CMStringW TplFormatString(int tpl, MCONTACT hContact, ItemData *item);
-CMStringW TplFormatStringEx(int tpl, wchar_t *sztpl, ItemData *args);
-
-class NSRtfProvider : public MRtfProvider
-{
- ItemData *m_pItem;
-
-public:
- NSRtfProvider(ItemData *pItem) :
- m_pItem(pItem)
- {}
-
- CMStringA CreateRtfHeader() override;
- CMStringA CreateRtfBody() override;
- CMStringA CreateRtfFooter() override;
-};
-
#endif // __templates_h__ \ No newline at end of file