X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=blobdiff_plain;f=src%2Fcore%2Fcorenetwork.h;h=f0f56257676b8c585ad496839ebaf1d01fa337f1;hp=ae1ebd8eb501674ad91104f746c56c02f9eacab7;hb=0a43227b8cd44625f4881cc1545d42c8c8a4876c;hpb=d3dcda30c8cbee75c0c8f500f4ab552bde513036 diff --git a/src/core/corenetwork.h b/src/core/corenetwork.h index ae1ebd8e..f0f56257 100644 --- a/src/core/corenetwork.h +++ b/src/core/corenetwork.h @@ -1,5 +1,5 @@ /*************************************************************************** - * Copyright (C) 2005-2015 by the Quassel Project * + * Copyright (C) 2005-2016 by the Quassel Project * * devel@quassel-irc.org * * * * This program is free software; you can redistribute it and/or modify * @@ -105,6 +105,7 @@ public: /** * Checks if a given capability is enabled. * + * @param[in] capability Name of capability * @returns True if enabled, otherwise false */ inline bool capEnabled(const QString &capability) const { return _capsSupported.contains(capability); } @@ -119,6 +120,7 @@ public: /** * Gets the value of an enabled or pending capability, e.g. sasl=plain. * + * @param[in] capability Name of capability * @returns Value of capability if one was specified, otherwise empty string */ QString capValue(const QString &capability) const;