diff options
author | George Hazan <george.hazan@gmail.com> | 2016-07-25 10:31:04 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2016-07-25 10:31:04 +0000 |
commit | 8ae3679aa1339ce9abee53adb69902bd6b7513dc (patch) | |
tree | 94ef8927e12043ed6dcc15e1e640d68a8add520e /plugins/SkypeStatusChange | |
parent | 1e273e28d89b5838e3d0f0cafac9676577cb71ce (diff) |
hello, Unix.
phase 1: removing _T()
git-svn-id: http://svn.miranda-ng.org/main/trunk@17127 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/SkypeStatusChange')
-rw-r--r-- | plugins/SkypeStatusChange/src/main.cpp | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/plugins/SkypeStatusChange/src/main.cpp b/plugins/SkypeStatusChange/src/main.cpp index 33e6baa20a..fe36751074 100644 --- a/plugins/SkypeStatusChange/src/main.cpp +++ b/plugins/SkypeStatusChange/src/main.cpp @@ -45,20 +45,20 @@ enum SKYPECONTROLAPI_ATTACH_API_AVAILABLE = 0x8001
};
-LPCTSTR g_pszSkypeWndClassName = _T("SkypeHelperWindow{155198f0-8749-47b7-ac53-58f2ac70844c}");
+LPCTSTR g_pszSkypeWndClassName = L"SkypeHelperWindow{155198f0-8749-47b7-ac53-58f2ac70844c}";
const CMirandaStatus2SkypeStatus g_aStatusCode[10] =
{
- {ID_STATUS_AWAY, "AWAY",_T("Away")},
- {ID_STATUS_NA, "AWAY",_T("Not available")}, // removed in Skype 5
- {ID_STATUS_DND, "DND",_T("Do not disturb")},
- {ID_STATUS_ONLINE, "ONLINE",_T("Online")},
- {ID_STATUS_FREECHAT, "ONLINE",_T("Free for chat")}, // SKYPEME status doesn't work in Skype 4!
- {ID_STATUS_OFFLINE, "OFFLINE",_T("Offline")},
- {ID_STATUS_INVISIBLE, "INVISIBLE",_T("Invisible")},
- {ID_STATUS_OCCUPIED,"DND",_T("Occupied")},
- {ID_STATUS_ONTHEPHONE,"DND",_T("On the phone")},
- {ID_STATUS_OUTTOLUNCH,"DND",_T("Out to lunch")}
+ {ID_STATUS_AWAY, "AWAY",L"Away"},
+ {ID_STATUS_NA, "AWAY",L"Not available"}, // removed in Skype 5
+ {ID_STATUS_DND, "DND",L"Do not disturb"},
+ {ID_STATUS_ONLINE, "ONLINE",L"Online"},
+ {ID_STATUS_FREECHAT, "ONLINE",L"Free for chat"}, // SKYPEME status doesn't work in Skype 4!
+ {ID_STATUS_OFFLINE, "OFFLINE",L"Offline"},
+ {ID_STATUS_INVISIBLE, "INVISIBLE",L"Invisible"},
+ {ID_STATUS_OCCUPIED,"DND",L"Occupied"},
+ {ID_STATUS_ONTHEPHONE,"DND",L"On the phone"},
+ {ID_STATUS_OUTTOLUNCH,"DND",L"Out to lunch"}
};
enum { INVALID_INDEX = 0xFFFFFFFF };
@@ -277,8 +277,8 @@ extern "C" int __declspec(dllexport) Load() {
mir_getLP(&g_pluginInfo);
- g_MsgIDSkypeControlAPIAttach = ::RegisterWindowMessage(_T("SkypeControlAPIAttach"));
- g_MsgIDSkypeControlAPIDiscover = ::RegisterWindowMessage(_T("SkypeControlAPIDiscover"));
+ g_MsgIDSkypeControlAPIAttach = ::RegisterWindowMessage(L"SkypeControlAPIAttach");
+ g_MsgIDSkypeControlAPIDiscover = ::RegisterWindowMessage(L"SkypeControlAPIDiscover");
if ((0 == g_MsgIDSkypeControlAPIAttach) || (0 == g_MsgIDSkypeControlAPIDiscover))
return 1;
@@ -291,7 +291,7 @@ extern "C" int __declspec(dllexport) Load() return 1;
g_wndMainWindow = CreateWindowEx(WS_EX_APPWINDOW | WS_EX_WINDOWEDGE,
- g_pszSkypeWndClassName, _T(""), WS_BORDER | WS_SYSMENU | WS_MINIMIZEBOX,
+ g_pszSkypeWndClassName, L"", WS_BORDER | WS_SYSMENU | WS_MINIMIZEBOX,
CW_USEDEFAULT, CW_USEDEFAULT, 128, 128, NULL, 0, g_hModule, 0);
if (g_wndMainWindow == NULL)
return 1;
|