summaryrefslogtreecommitdiff
path: root/protocols/Gadu-Gadu/src/popups.cpp
diff options
context:
space:
mode:
authorGoraf <22941576+Goraf@users.noreply.github.com>2018-01-24 19:47:13 +0100
committerGoraf <22941576+Goraf@users.noreply.github.com>2018-01-26 20:02:26 +0100
commitbf8ad124d03b4fd059318d9ba8889b11faaf5b53 (patch)
tree95766e1d78353dcfd43f75a54a85874048e62d84 /protocols/Gadu-Gadu/src/popups.cpp
parentfe83051082d1509bd653b718f119f884646d20e5 (diff)
Gadu-Gadu: partial move to UI classes
* advanced options form refactored * move to options class * const correctness * code cleaning
Diffstat (limited to 'protocols/Gadu-Gadu/src/popups.cpp')
-rw-r--r--protocols/Gadu-Gadu/src/popups.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/protocols/Gadu-Gadu/src/popups.cpp b/protocols/Gadu-Gadu/src/popups.cpp
index 2e3a7cb476..4863bbe9dc 100644
--- a/protocols/Gadu-Gadu/src/popups.cpp
+++ b/protocols/Gadu-Gadu/src/popups.cpp
@@ -25,7 +25,7 @@ struct PopupData
unsigned flags;
wchar_t* title;
wchar_t* text;
- GGPROTO* gg;
+ GaduProto* gg;
};
/////////////////////////////////////////////////////////////////////////////////////////
@@ -70,7 +70,7 @@ LRESULT CALLBACK PopupWindowProc(HWND hWnd, UINT msg, WPARAM wParam, LPARAM lPar
/////////////////////////////////////////////////////////////////////////////////////////
// Popup plugin class registration
//
-void GGPROTO::initpopups()
+void GaduProto::initpopups()
{
wchar_t szDescr[256];
char szName[256];
@@ -106,7 +106,7 @@ void GGPROTO::initpopups()
void CALLBACK sttMainThreadCallback(PVOID dwParam)
{
PopupData* puData = (PopupData*)dwParam;
- GGPROTO* gg = puData->gg;
+ GaduProto* gg = puData->gg;
if (ServiceExists(MS_POPUP_ADDPOPUPCLASS)) {
char szName[256];
@@ -149,7 +149,7 @@ void CALLBACK sttMainThreadCallback(PVOID dwParam)
mir_free(puData);
}
-void GGPROTO::showpopup(const wchar_t* nickname, const wchar_t* msg, int flags)
+void GaduProto::showpopup(const wchar_t* nickname, const wchar_t* msg, int flags)
{
if (Miranda_IsTerminated())
return;