Browse Source

Added getPrefixModes()

release/0.19
JustinAJ 10 years ago
parent
commit
a74453324a
  1. 5
      Jupiter/IRC_Client.cpp
  2. 7
      Jupiter/IRC_Client.h
  3. BIN
      Release/Jupiter.lib

5
Jupiter/IRC_Client.cpp

@ -297,6 +297,11 @@ const Jupiter::ReadableString &Jupiter::IRC::Client::getPrefixes() const
return Jupiter::IRC::Client::data_->prefixes; return Jupiter::IRC::Client::data_->prefixes;
} }
const Jupiter::ReadableString &Jupiter::IRC::Client::getPrefixModes() const
{
return Jupiter::IRC::Client::data_->prefixModes;
}
const Jupiter::ReadableString &Jupiter::IRC::Client::getNickname() const const Jupiter::ReadableString &Jupiter::IRC::Client::getNickname() const
{ {
return Jupiter::IRC::Client::data_->nickname; return Jupiter::IRC::Client::data_->nickname;

7
Jupiter/IRC_Client.h

@ -493,6 +493,13 @@ namespace Jupiter
*/ */
const Jupiter::ReadableString &getPrefixes() const; const Jupiter::ReadableString &getPrefixes() const;
/**
* @brief Returns mode symbols for nickname prefixes supported by the connected server.
*
* @return String containing mode symbols for nickname prefixes.
*/
const Jupiter::ReadableString &getPrefixModes() const;
/** /**
* @brief Returns the client's current nickname. * @brief Returns the client's current nickname.
* *

BIN
Release/Jupiter.lib

Binary file not shown.
Loading…
Cancel
Save