aboutsummaryrefslogtreecommitdiff
path: root/src/QXmppIncomingClient.h
diff options
context:
space:
mode:
authorJeremy Lainé <jeremy.laine@m4x.org>2010-08-23 07:23:40 +0000
committerJeremy Lainé <jeremy.laine@m4x.org>2010-08-23 07:23:40 +0000
commite67dde48ea79197906c76247c023bb5e646eb2eb (patch)
tree74d8d0035dc9524447c483bc4f2e0f2b026a4e7e /src/QXmppIncomingClient.h
parent6730deccb71d9fdb98c8b69fd71926d4390b9f11 (diff)
downloadqxmpp-e67dde48ea79197906c76247c023bb5e646eb2eb.tar.gz
add code documentation for incoming client stream
Diffstat (limited to 'src/QXmppIncomingClient.h')
-rw-r--r--src/QXmppIncomingClient.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/QXmppIncomingClient.h b/src/QXmppIncomingClient.h
index a09fcf5f..ca8af0e4 100644
--- a/src/QXmppIncomingClient.h
+++ b/src/QXmppIncomingClient.h
@@ -30,12 +30,14 @@ class QXmppIncomingClientPrivate;
/// Interface for password checkers.
///
-/// FIXME : make this an abstract class
class QXmppPasswordChecker
{
public:
+ /// Checks that the given credentials are valid.
virtual bool check(const QString &username, const QString &password) = 0;
+
+ /// Retrieves the password for the given username.
virtual bool get(const QString &username, QString &password) = 0;
};