diff options
Diffstat (limited to 'Swiften/Client/NickManager.h')
-rw-r--r-- | Swiften/Client/NickManager.h | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/Swiften/Client/NickManager.h b/Swiften/Client/NickManager.h new file mode 100644 index 0000000..e918b07 --- /dev/null +++ b/Swiften/Client/NickManager.h @@ -0,0 +1,22 @@ +/* + * Copyright (c) 2010 Remko Tronçon + * Licensed under the GNU General Public License v3. + * See Documentation/Licenses/GPLv3.txt for more information. + */ + +#pragma once + +#include <Swiften/Base/boost_bsignals.h> +#include <Swiften/Base/String.h> + +namespace Swift { + class NickManager { + public: + virtual ~NickManager(); + + virtual String getOwnNick() const = 0; + virtual void setOwnNick(const String& nick) = 0; + + boost::signal<void (const String&)> onOwnNickChanged; + }; +} |