summaryrefslogtreecommitdiff
path: root/plugins/VoiceService/src/stdafx.h
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2022-08-18 14:58:35 +0300
committerGeorge Hazan <ghazan@miranda.im>2022-08-18 14:58:35 +0300
commit2ae332ebe40fd751360a9f95223c5c0df6c98da7 (patch)
treeae1c148566e5d2eb281e1dffa62a53f26666f369 /plugins/VoiceService/src/stdafx.h
parent342391d137b0a3c3ad367b4d74526ac725efb869 (diff)
VoiceService:
- slightly redesigned call's dialog - unused timer removed;
Diffstat (limited to 'plugins/VoiceService/src/stdafx.h')
-rw-r--r--plugins/VoiceService/src/stdafx.h18
1 files changed, 3 insertions, 15 deletions
diff --git a/plugins/VoiceService/src/stdafx.h b/plugins/VoiceService/src/stdafx.h
index 2787006dd0..23c16fc374 100644
--- a/plugins/VoiceService/src/stdafx.h
+++ b/plugins/VoiceService/src/stdafx.h
@@ -55,6 +55,7 @@ using namespace std;
#include <m_metacontacts.h>
#include <m_fontservice.h>
#include <m_skin.h>
+#include <m_avatars.h>
#include <m_voice.h>
#include <m_voiceservice.h>
@@ -65,20 +66,6 @@ using namespace std;
#include "frame.h"
#include "popup.h"
-struct Timers
-{
- Timers() :
- m_timer(Miranda_GetSystemWindow(), (UINT_PTR)this)
- {
- m_timer.OnEvent = Callback(this, &Timers::ClearEvents);
- }
-
- CTimer m_timer;
- void ClearEvents(CTimer *);
-};
-
-extern Timers g_timers;
-
/////////////////////////////////////////////////////////////////////////////////////////
struct CMPlugin : public PLUGIN<CMPlugin>
@@ -185,10 +172,11 @@ private:
void OnCommand_Drop(CCtrlButton*);
void OnCallTimer(CTimer*);
bool OnInitDialog() override;
+ bool OnClose() override;
CCtrlButton m_btnAnswer;
CCtrlButton m_btnDrop;
- CCtrlLabel m_lblStatus, m_lblContactName;
+ CCtrlLabel m_lblStatus, m_lblContactName, m_lblAddress;
int m_nsec;
CTimer m_calltimer;