From b3e7aa3f685ace7e0104fc94cd07c901a129f5b9 Mon Sep 17 00:00:00 2001 From: Gluzskiy Alexandr Date: Sat, 17 Jul 2010 14:04:40 +0300 Subject: modified: main.cpp modified: options.cpp modified: utilities.cpp modified: utilities.h --- main.cpp | 2 +- options.cpp | 2 +- utilities.cpp | 10 +++------- utilities.h | 1 - 4 files changed, 5 insertions(+), 10 deletions(-) diff --git a/main.cpp b/main.cpp index 6d080bc..986f3ae 100644 --- a/main.cpp +++ b/main.cpp @@ -1,4 +1,4 @@ -// Copyright © 2010 sss, chaos.persei +// Copyright © 2010 sss // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/options.cpp b/options.cpp index b6b57ce..543fdfa 100644 --- a/options.cpp +++ b/options.cpp @@ -1,4 +1,4 @@ -// Copyright © 2010 sss, chaos.persei +// Copyright © 2010 sss // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/utilities.cpp b/utilities.cpp index 87f4802..c26ac83 100644 --- a/utilities.cpp +++ b/utilities.cpp @@ -1,4 +1,4 @@ -// Copyright © 2010 sss, chaos.persei +// Copyright © 2010 sss // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License @@ -66,6 +66,7 @@ static JABBER_HANDLER_FUNC PrescenseHandler(IJabberInterface *ji, HXML node, voi static JABBER_HANDLER_FUNC MessageHandler(IJabberInterface *ji, HXML node, void *pUserData); static JABBER_HANDLER_FUNC IqHandler(IJabberInterface *ji, HXML node, void *pUserData); + int HandleDbNewContact(WPARAM w, LPARAM l) { list ::iterator p = Accounts.begin(); @@ -155,12 +156,7 @@ static JABBER_HANDLER_FUNC IqHandler(IJabberInterface *ji, HXML node, void *pUse return FALSE; } -BOOL JabberAccount::operator!() -{ - if(!this) - return TRUE; - return FALSE; -} + JabberAccount::JabberAccount() { AccountName = _T(""); diff --git a/utilities.h b/utilities.h index e31e35f..8b67393 100644 --- a/utilities.h +++ b/utilities.h @@ -24,7 +24,6 @@ public: int AccountNumber; IJabberInterface *JabberInterface; HJHANDLER hPrescenseHandler, hMessageHandler, hIqHandler; - BOOL operator !(); }; #endif -- cgit v1.2.3