summaryrefslogtreecommitdiff
path: root/plugins/SmileyAdd/src/customsmiley.h
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2016-07-26 09:20:25 +0000
committerGeorge Hazan <george.hazan@gmail.com>2016-07-26 09:20:25 +0000
commit6e53dfca72b932c4bdcd7aa02ca62bf8b2630eac (patch)
tree2e8bb660c908b54914abd562af8aafa4a486c846 /plugins/SmileyAdd/src/customsmiley.h
parenta61c8728b379057fe7f0a0d86fe0b037598229dd (diff)
less TCHARs:
- TCHAR is replaced with wchar_t everywhere; - LPGENT replaced with either LPGENW or LPGEN; - fixes for ANSI plugins that improperly used _t functions; - TCHAR *t removed from MAllStrings; - ptszGroup, ptszTitle & ptszTab in OPTIONSDIALOGPAGE replaced with pwsz* git-svn-id: http://svn.miranda-ng.org/main/trunk@17133 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/SmileyAdd/src/customsmiley.h')
-rw-r--r--plugins/SmileyAdd/src/customsmiley.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/plugins/SmileyAdd/src/customsmiley.h b/plugins/SmileyAdd/src/customsmiley.h
index 3517d348cd..b1366e83bc 100644
--- a/plugins/SmileyAdd/src/customsmiley.h
+++ b/plugins/SmileyAdd/src/customsmiley.h
@@ -22,7 +22,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
class SmileyCType : public SmileyType
{
public:
- SmileyCType(const CMString &fullpath, const TCHAR *filepath);
+ SmileyCType(const CMString &fullpath, const wchar_t *filepath);
bool CreateTriggerText(char *text);
};
@@ -52,8 +52,8 @@ public:
MCONTACT GetId(void) { return m_id; }
void SetId(MCONTACT id) { m_id = id; }
- bool LoadSmiley(TCHAR *path);
- bool LoadSmileyDir(TCHAR *dir);
+ bool LoadSmiley(wchar_t *path);
+ bool LoadSmileyDir(wchar_t *dir);
};
@@ -68,8 +68,8 @@ private:
public:
int NumberOfSmileyPacks(void) { return m_SmileyPacks.getCount(); }
- bool AddSmiley(MCONTACT hContact, TCHAR *path);
- bool AddSmileyPack(MCONTACT hContact, TCHAR *dir);
+ bool AddSmiley(MCONTACT hContact, wchar_t *path);
+ bool AddSmileyPack(MCONTACT hContact, wchar_t *dir);
void ClearAndFreeAll(void) { m_SmileyPacks.destroy(); }