diff options
author | Alexander Lantsev <aunsane@gmail.com> | 2012-09-27 16:31:32 +0000 |
---|---|---|
committer | Alexander Lantsev <aunsane@gmail.com> | 2012-09-27 16:31:32 +0000 |
commit | 7b20bdca3b22c66a58b2ecf2735cb32417496681 (patch) | |
tree | 9653fe495a2338586cdaec8ce2aee167ca631608 /protocols/Skype/src/skype_proto.cpp | |
parent | 93b1c035da40df23e3eef4a1efd10dfe9c451375 (diff) |
- fixed previous commit issues
git-svn-id: http://svn.miranda-ng.org/main/trunk@1684 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/Skype/src/skype_proto.cpp')
-rw-r--r-- | protocols/Skype/src/skype_proto.cpp | 15 |
1 files changed, 10 insertions, 5 deletions
diff --git a/protocols/Skype/src/skype_proto.cpp b/protocols/Skype/src/skype_proto.cpp index 297a372cbb..ba3635274c 100644 --- a/protocols/Skype/src/skype_proto.cpp +++ b/protocols/Skype/src/skype_proto.cpp @@ -23,7 +23,7 @@ CSkypeProto::CSkypeProto(const char* protoName, const TCHAR* userName) this->Log("Setting protocol/module name to '%s/%s'", m_szProtoName, m_szModuleName);
- this->CreateProtoService(PS_CREATEACCMGRUI, &CSkypeProto::SvcCreateAccMgrUI);
+ this->CreateService(PS_CREATEACCMGRUI, &CSkypeProto::OnAccountManagerInit);
}
CSkypeProto::~CSkypeProto()
@@ -107,12 +107,17 @@ int __cdecl CSkypeProto::SetAwayMsg( int m_iStatus, const TCHAR* msg ) { retu int __cdecl CSkypeProto::UserIsTyping( HANDLE hContact, int type ) { return 0; }
-int __cdecl CSkypeProto::OnEvent( PROTOEVENTTYPE eventType, WPARAM wParam, LPARAM lParam )
+int __cdecl CSkypeProto::OnEvent(PROTOEVENTTYPE eventType, WPARAM wParam, LPARAM lParam)
{
- switch ( eventType ) {
- case EV_PROTO_ONLOAD: return OnModulesLoaded( 0, 0 );
- case EV_PROTO_ONEXIT: return OnPreShutdown( 0, 0 );
+ switch (eventType)
+ {
+ case EV_PROTO_ONLOAD:
+ return this->OnModulesLoaded(0, 0);
+
+ case EV_PROTO_ONEXIT:
+ return this->OnPreShutdown(0, 0);
}
+
return 1;
}
|