|
|
|
/**
|
|
|
|
* XMPP - libpurple transport
|
|
|
|
*
|
|
|
|
* Copyright (C) 2009, Jan Kaluza <hanzz@soc.pidgin.im>
|
|
|
|
*
|
|
|
|
* This program is free software; you can redistribute it and/or modify
|
|
|
|
* it under the terms of the GNU General Public License as published by
|
|
|
|
* the Free Software Foundation; either version 2 of the License, or
|
|
|
|
* (at your option) any later version.
|
|
|
|
*
|
|
|
|
* This program is distributed in the hope that it will be useful,
|
|
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
* GNU General Public License for more details.
|
|
|
|
*
|
|
|
|
* You should have received a copy of the GNU General Public License
|
|
|
|
* along with this program; if not, write to the Free Software
|
*: massive decruftification & cleanup
- Removed all backends apart from twitter, template, and libpurple.
(why would you want to use any of them?)
- Deleted dodgy vendored includes (from swiften, boost)
- Replaced all usage of the dodgy SWIFTEN_* macros and HAVE_SWIFTEN_3
define.
- Removed spectrum2_manager (it's stupid, just use systemd)
- Removed spectrum2 server mode (it's stupid, just use a component)
- Removed Jingle File Transfer (only worked on swiften 3, was suuuper
hacky)
- Moved spectrum/src to src/ (this always pissed me off)
- Removed WIN32 and non-Linux platform support (was ugly)
- Removed packaging, munin, travis, etc (this is a fork)
- Added .clang-format, ran clang-format everywhere (hooray!)
- Removed half the flags and crap in CMakeLists.txt (it didn't really help)
3 years ago
|
|
|
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02111-1301 USA
|
|
|
|
*/
|
|
|
|
|
|
|
|
#pragma once
|
|
|
|
|
|
|
|
#include <Swiften/EventLoop/EventLoop.h>
|
|
|
|
#include <Swiften/Network/NetworkFactories.h>
|
*: massive decruftification & cleanup
- Removed all backends apart from twitter, template, and libpurple.
(why would you want to use any of them?)
- Deleted dodgy vendored includes (from swiften, boost)
- Replaced all usage of the dodgy SWIFTEN_* macros and HAVE_SWIFTEN_3
define.
- Removed spectrum2_manager (it's stupid, just use systemd)
- Removed spectrum2 server mode (it's stupid, just use a component)
- Removed Jingle File Transfer (only worked on swiften 3, was suuuper
hacky)
- Moved spectrum/src to src/ (this always pissed me off)
- Removed WIN32 and non-Linux platform support (was ugly)
- Removed packaging, munin, travis, etc (this is a fork)
- Added .clang-format, ran clang-format everywhere (hooray!)
- Removed half the flags and crap in CMakeLists.txt (it didn't really help)
3 years ago
|
|
|
|
|
|
|
#include <algorithm>
|
|
|
|
#include <boost/signals2.hpp>
|
|
|
|
#include <string>
|
|
|
|
|
|
|
|
#include "Swiften/Elements/DiscoInfo.h"
|
*: massive decruftification & cleanup
- Removed all backends apart from twitter, template, and libpurple.
(why would you want to use any of them?)
- Deleted dodgy vendored includes (from swiften, boost)
- Replaced all usage of the dodgy SWIFTEN_* macros and HAVE_SWIFTEN_3
define.
- Removed spectrum2_manager (it's stupid, just use systemd)
- Removed spectrum2 server mode (it's stupid, just use a component)
- Removed Jingle File Transfer (only worked on swiften 3, was suuuper
hacky)
- Moved spectrum/src to src/ (this always pissed me off)
- Removed WIN32 and non-Linux platform support (was ugly)
- Removed packaging, munin, travis, etc (this is a fork)
- Added .clang-format, ran clang-format everywhere (hooray!)
- Removed half the flags and crap in CMakeLists.txt (it didn't really help)
3 years ago
|
|
|
#include "Swiften/Elements/IQ.h"
|
|
|
|
#include "Swiften/Elements/Message.h"
|
|
|
|
#include "Swiften/Elements/Presence.h"
|
*: massive decruftification & cleanup
- Removed all backends apart from twitter, template, and libpurple.
(why would you want to use any of them?)
- Deleted dodgy vendored includes (from swiften, boost)
- Replaced all usage of the dodgy SWIFTEN_* macros and HAVE_SWIFTEN_3
define.
- Removed spectrum2_manager (it's stupid, just use systemd)
- Removed spectrum2 server mode (it's stupid, just use a component)
- Removed Jingle File Transfer (only worked on swiften 3, was suuuper
hacky)
- Moved spectrum/src to src/ (this always pissed me off)
- Removed WIN32 and non-Linux platform support (was ugly)
- Removed packaging, munin, travis, etc (this is a fork)
- Added .clang-format, ran clang-format everywhere (hooray!)
- Removed half the flags and crap in CMakeLists.txt (it didn't really help)
3 years ago
|
|
|
#include "Swiften/Elements/RosterPayload.h"
|
|
|
|
#include "Swiften/Elements/VCard.h"
|
|
|
|
|
|
|
|
namespace Transport {
|
|
|
|
|
|
|
|
class Config;
|
|
|
|
class UserRegistry;
|
|
|
|
class Component;
|
|
|
|
class User;
|
|
|
|
class Buddy;
|
|
|
|
class RosterManager;
|
|
|
|
class UserManager;
|
|
|
|
class StorageBackend;
|
|
|
|
class Frontend;
|
|
|
|
|
|
|
|
struct UserInfo;
|
|
|
|
|
|
|
|
class FrontendPlugin {
|
*: massive decruftification & cleanup
- Removed all backends apart from twitter, template, and libpurple.
(why would you want to use any of them?)
- Deleted dodgy vendored includes (from swiften, boost)
- Replaced all usage of the dodgy SWIFTEN_* macros and HAVE_SWIFTEN_3
define.
- Removed spectrum2_manager (it's stupid, just use systemd)
- Removed spectrum2 server mode (it's stupid, just use a component)
- Removed Jingle File Transfer (only worked on swiften 3, was suuuper
hacky)
- Moved spectrum/src to src/ (this always pissed me off)
- Removed WIN32 and non-Linux platform support (was ugly)
- Removed packaging, munin, travis, etc (this is a fork)
- Added .clang-format, ran clang-format everywhere (hooray!)
- Removed half the flags and crap in CMakeLists.txt (it didn't really help)
3 years ago
|
|
|
public:
|
|
|
|
virtual std::string name() const = 0;
|
|
|
|
virtual Frontend *createFrontend() = 0;
|
|
|
|
|
*: massive decruftification & cleanup
- Removed all backends apart from twitter, template, and libpurple.
(why would you want to use any of them?)
- Deleted dodgy vendored includes (from swiften, boost)
- Replaced all usage of the dodgy SWIFTEN_* macros and HAVE_SWIFTEN_3
define.
- Removed spectrum2_manager (it's stupid, just use systemd)
- Removed spectrum2 server mode (it's stupid, just use a component)
- Removed Jingle File Transfer (only worked on swiften 3, was suuuper
hacky)
- Moved spectrum/src to src/ (this always pissed me off)
- Removed WIN32 and non-Linux platform support (was ugly)
- Removed packaging, munin, travis, etc (this is a fork)
- Added .clang-format, ran clang-format everywhere (hooray!)
- Removed half the flags and crap in CMakeLists.txt (it didn't really help)
3 years ago
|
|
|
virtual ~FrontendPlugin(){};
|
|
|
|
};
|
|
|
|
|
|
|
|
class Frontend {
|
*: massive decruftification & cleanup
- Removed all backends apart from twitter, template, and libpurple.
(why would you want to use any of them?)
- Deleted dodgy vendored includes (from swiften, boost)
- Replaced all usage of the dodgy SWIFTEN_* macros and HAVE_SWIFTEN_3
define.
- Removed spectrum2_manager (it's stupid, just use systemd)
- Removed spectrum2 server mode (it's stupid, just use a component)
- Removed Jingle File Transfer (only worked on swiften 3, was suuuper
hacky)
- Moved spectrum/src to src/ (this always pissed me off)
- Removed WIN32 and non-Linux platform support (was ugly)
- Removed packaging, munin, travis, etc (this is a fork)
- Added .clang-format, ran clang-format everywhere (hooray!)
- Removed half the flags and crap in CMakeLists.txt (it didn't really help)
3 years ago
|
|
|
public:
|
|
|
|
Frontend() {
|
|
|
|
}
|
|
|
|
|
*: massive decruftification & cleanup
- Removed all backends apart from twitter, template, and libpurple.
(why would you want to use any of them?)
- Deleted dodgy vendored includes (from swiften, boost)
- Replaced all usage of the dodgy SWIFTEN_* macros and HAVE_SWIFTEN_3
define.
- Removed spectrum2_manager (it's stupid, just use systemd)
- Removed spectrum2 server mode (it's stupid, just use a component)
- Removed Jingle File Transfer (only worked on swiften 3, was suuuper
hacky)
- Moved spectrum/src to src/ (this always pissed me off)
- Removed WIN32 and non-Linux platform support (was ugly)
- Removed packaging, munin, travis, etc (this is a fork)
- Added .clang-format, ran clang-format everywhere (hooray!)
- Removed half the flags and crap in CMakeLists.txt (it didn't really help)
3 years ago
|
|
|
virtual ~Frontend() {
|
|
|
|
}
|
|
|
|
|
*: massive decruftification & cleanup
- Removed all backends apart from twitter, template, and libpurple.
(why would you want to use any of them?)
- Deleted dodgy vendored includes (from swiften, boost)
- Replaced all usage of the dodgy SWIFTEN_* macros and HAVE_SWIFTEN_3
define.
- Removed spectrum2_manager (it's stupid, just use systemd)
- Removed spectrum2 server mode (it's stupid, just use a component)
- Removed Jingle File Transfer (only worked on swiften 3, was suuuper
hacky)
- Moved spectrum/src to src/ (this always pissed me off)
- Removed WIN32 and non-Linux platform support (was ugly)
- Removed packaging, munin, travis, etc (this is a fork)
- Added .clang-format, ran clang-format everywhere (hooray!)
- Removed half the flags and crap in CMakeLists.txt (it didn't really help)
3 years ago
|
|
|
virtual void init(Component *component, Swift::EventLoop *loop, Swift::NetworkFactories *factories,
|
|
|
|
Config *config) = 0;
|
|
|
|
|
*: massive decruftification & cleanup
- Removed all backends apart from twitter, template, and libpurple.
(why would you want to use any of them?)
- Deleted dodgy vendored includes (from swiften, boost)
- Replaced all usage of the dodgy SWIFTEN_* macros and HAVE_SWIFTEN_3
define.
- Removed spectrum2_manager (it's stupid, just use systemd)
- Removed spectrum2 server mode (it's stupid, just use a component)
- Removed Jingle File Transfer (only worked on swiften 3, was suuuper
hacky)
- Moved spectrum/src to src/ (this always pissed me off)
- Removed WIN32 and non-Linux platform support (was ugly)
- Removed packaging, munin, travis, etc (this is a fork)
- Added .clang-format, ran clang-format everywhere (hooray!)
- Removed half the flags and crap in CMakeLists.txt (it didn't really help)
3 years ago
|
|
|
virtual void connectToServer() = 0;
|
|
|
|
|
*: massive decruftification & cleanup
- Removed all backends apart from twitter, template, and libpurple.
(why would you want to use any of them?)
- Deleted dodgy vendored includes (from swiften, boost)
- Replaced all usage of the dodgy SWIFTEN_* macros and HAVE_SWIFTEN_3
define.
- Removed spectrum2_manager (it's stupid, just use systemd)
- Removed spectrum2 server mode (it's stupid, just use a component)
- Removed Jingle File Transfer (only worked on swiften 3, was suuuper
hacky)
- Moved spectrum/src to src/ (this always pissed me off)
- Removed WIN32 and non-Linux platform support (was ugly)
- Removed packaging, munin, travis, etc (this is a fork)
- Added .clang-format, ran clang-format everywhere (hooray!)
- Removed half the flags and crap in CMakeLists.txt (it didn't really help)
3 years ago
|
|
|
virtual void disconnectFromServer() = 0;
|
|
|
|
|
*: massive decruftification & cleanup
- Removed all backends apart from twitter, template, and libpurple.
(why would you want to use any of them?)
- Deleted dodgy vendored includes (from swiften, boost)
- Replaced all usage of the dodgy SWIFTEN_* macros and HAVE_SWIFTEN_3
define.
- Removed spectrum2_manager (it's stupid, just use systemd)
- Removed spectrum2 server mode (it's stupid, just use a component)
- Removed Jingle File Transfer (only worked on swiften 3, was suuuper
hacky)
- Moved spectrum/src to src/ (this always pissed me off)
- Removed WIN32 and non-Linux platform support (was ugly)
- Removed packaging, munin, travis, etc (this is a fork)
- Added .clang-format, ran clang-format everywhere (hooray!)
- Removed half the flags and crap in CMakeLists.txt (it didn't really help)
3 years ago
|
|
|
virtual void sendPresence(Swift::Presence::ref presence) = 0;
|
|
|
|
|
*: massive decruftification & cleanup
- Removed all backends apart from twitter, template, and libpurple.
(why would you want to use any of them?)
- Deleted dodgy vendored includes (from swiften, boost)
- Replaced all usage of the dodgy SWIFTEN_* macros and HAVE_SWIFTEN_3
define.
- Removed spectrum2_manager (it's stupid, just use systemd)
- Removed spectrum2 server mode (it's stupid, just use a component)
- Removed Jingle File Transfer (only worked on swiften 3, was suuuper
hacky)
- Moved spectrum/src to src/ (this always pissed me off)
- Removed WIN32 and non-Linux platform support (was ugly)
- Removed packaging, munin, travis, etc (this is a fork)
- Added .clang-format, ran clang-format everywhere (hooray!)
- Removed half the flags and crap in CMakeLists.txt (it didn't really help)
3 years ago
|
|
|
virtual void sendVCard(Swift::VCard::ref vcard, Swift::JID to) = 0;
|
|
|
|
|
*: massive decruftification & cleanup
- Removed all backends apart from twitter, template, and libpurple.
(why would you want to use any of them?)
- Deleted dodgy vendored includes (from swiften, boost)
- Replaced all usage of the dodgy SWIFTEN_* macros and HAVE_SWIFTEN_3
define.
- Removed spectrum2_manager (it's stupid, just use systemd)
- Removed spectrum2 server mode (it's stupid, just use a component)
- Removed Jingle File Transfer (only worked on swiften 3, was suuuper
hacky)
- Moved spectrum/src to src/ (this always pissed me off)
- Removed WIN32 and non-Linux platform support (was ugly)
- Removed packaging, munin, travis, etc (this is a fork)
- Added .clang-format, ran clang-format everywhere (hooray!)
- Removed half the flags and crap in CMakeLists.txt (it didn't really help)
3 years ago
|
|
|
virtual void sendRosterRequest(Swift::RosterPayload::ref, Swift::JID to) = 0;
|
|
|
|
|
*: massive decruftification & cleanup
- Removed all backends apart from twitter, template, and libpurple.
(why would you want to use any of them?)
- Deleted dodgy vendored includes (from swiften, boost)
- Replaced all usage of the dodgy SWIFTEN_* macros and HAVE_SWIFTEN_3
define.
- Removed spectrum2_manager (it's stupid, just use systemd)
- Removed spectrum2 server mode (it's stupid, just use a component)
- Removed Jingle File Transfer (only worked on swiften 3, was suuuper
hacky)
- Moved spectrum/src to src/ (this always pissed me off)
- Removed WIN32 and non-Linux platform support (was ugly)
- Removed packaging, munin, travis, etc (this is a fork)
- Added .clang-format, ran clang-format everywhere (hooray!)
- Removed half the flags and crap in CMakeLists.txt (it didn't really help)
3 years ago
|
|
|
virtual void sendMessage(std::shared_ptr<Swift::Message> message) = 0;
|
|
|
|
|
*: massive decruftification & cleanup
- Removed all backends apart from twitter, template, and libpurple.
(why would you want to use any of them?)
- Deleted dodgy vendored includes (from swiften, boost)
- Replaced all usage of the dodgy SWIFTEN_* macros and HAVE_SWIFTEN_3
define.
- Removed spectrum2_manager (it's stupid, just use systemd)
- Removed spectrum2 server mode (it's stupid, just use a component)
- Removed Jingle File Transfer (only worked on swiften 3, was suuuper
hacky)
- Moved spectrum/src to src/ (this always pissed me off)
- Removed WIN32 and non-Linux platform support (was ugly)
- Removed packaging, munin, travis, etc (this is a fork)
- Added .clang-format, ran clang-format everywhere (hooray!)
- Removed half the flags and crap in CMakeLists.txt (it didn't really help)
3 years ago
|
|
|
virtual void sendIQ(std::shared_ptr<Swift::IQ>) = 0;
|
|
|
|
|
*: massive decruftification & cleanup
- Removed all backends apart from twitter, template, and libpurple.
(why would you want to use any of them?)
- Deleted dodgy vendored includes (from swiften, boost)
- Replaced all usage of the dodgy SWIFTEN_* macros and HAVE_SWIFTEN_3
define.
- Removed spectrum2_manager (it's stupid, just use systemd)
- Removed spectrum2 server mode (it's stupid, just use a component)
- Removed Jingle File Transfer (only worked on swiften 3, was suuuper
hacky)
- Moved spectrum/src to src/ (this always pissed me off)
- Removed WIN32 and non-Linux platform support (was ugly)
- Removed packaging, munin, travis, etc (this is a fork)
- Added .clang-format, ran clang-format everywhere (hooray!)
- Removed half the flags and crap in CMakeLists.txt (it didn't really help)
3 years ago
|
|
|
virtual std::shared_ptr<Swift::DiscoInfo> sendCapabilitiesRequest(Swift::JID to) = 0;
|
|
|
|
|
*: massive decruftification & cleanup
- Removed all backends apart from twitter, template, and libpurple.
(why would you want to use any of them?)
- Deleted dodgy vendored includes (from swiften, boost)
- Replaced all usage of the dodgy SWIFTEN_* macros and HAVE_SWIFTEN_3
define.
- Removed spectrum2_manager (it's stupid, just use systemd)
- Removed spectrum2 server mode (it's stupid, just use a component)
- Removed Jingle File Transfer (only worked on swiften 3, was suuuper
hacky)
- Moved spectrum/src to src/ (this always pissed me off)
- Removed WIN32 and non-Linux platform support (was ugly)
- Removed packaging, munin, travis, etc (this is a fork)
- Added .clang-format, ran clang-format everywhere (hooray!)
- Removed half the flags and crap in CMakeLists.txt (it didn't really help)
3 years ago
|
|
|
virtual void reconnectUser(const std::string &user) = 0;
|
|
|
|
|
*: massive decruftification & cleanup
- Removed all backends apart from twitter, template, and libpurple.
(why would you want to use any of them?)
- Deleted dodgy vendored includes (from swiften, boost)
- Replaced all usage of the dodgy SWIFTEN_* macros and HAVE_SWIFTEN_3
define.
- Removed spectrum2_manager (it's stupid, just use systemd)
- Removed spectrum2 server mode (it's stupid, just use a component)
- Removed Jingle File Transfer (only worked on swiften 3, was suuuper
hacky)
- Moved spectrum/src to src/ (this always pissed me off)
- Removed WIN32 and non-Linux platform support (was ugly)
- Removed packaging, munin, travis, etc (this is a fork)
- Added .clang-format, ran clang-format everywhere (hooray!)
- Removed half the flags and crap in CMakeLists.txt (it didn't really help)
3 years ago
|
|
|
virtual RosterManager *createRosterManager(User *user, Component *component) = 0;
|
|
|
|
|
*: massive decruftification & cleanup
- Removed all backends apart from twitter, template, and libpurple.
(why would you want to use any of them?)
- Deleted dodgy vendored includes (from swiften, boost)
- Replaced all usage of the dodgy SWIFTEN_* macros and HAVE_SWIFTEN_3
define.
- Removed spectrum2_manager (it's stupid, just use systemd)
- Removed spectrum2 server mode (it's stupid, just use a component)
- Removed Jingle File Transfer (only worked on swiften 3, was suuuper
hacky)
- Moved spectrum/src to src/ (this always pissed me off)
- Removed WIN32 and non-Linux platform support (was ugly)
- Removed packaging, munin, travis, etc (this is a fork)
- Added .clang-format, ran clang-format everywhere (hooray!)
- Removed half the flags and crap in CMakeLists.txt (it didn't really help)
3 years ago
|
|
|
virtual User *createUser(const Swift::JID &jid, UserInfo &userInfo, Component *component,
|
|
|
|
UserManager *userManager) = 0;
|
|
|
|
|
*: massive decruftification & cleanup
- Removed all backends apart from twitter, template, and libpurple.
(why would you want to use any of them?)
- Deleted dodgy vendored includes (from swiften, boost)
- Replaced all usage of the dodgy SWIFTEN_* macros and HAVE_SWIFTEN_3
define.
- Removed spectrum2_manager (it's stupid, just use systemd)
- Removed spectrum2 server mode (it's stupid, just use a component)
- Removed Jingle File Transfer (only worked on swiften 3, was suuuper
hacky)
- Moved spectrum/src to src/ (this always pissed me off)
- Removed WIN32 and non-Linux platform support (was ugly)
- Removed packaging, munin, travis, etc (this is a fork)
- Added .clang-format, ran clang-format everywhere (hooray!)
- Removed half the flags and crap in CMakeLists.txt (it didn't really help)
3 years ago
|
|
|
virtual UserManager *createUserManager(Component *component, StorageBackend *storageBackend = NULL) = 0;
|
|
|
|
|
*: massive decruftification & cleanup
- Removed all backends apart from twitter, template, and libpurple.
(why would you want to use any of them?)
- Deleted dodgy vendored includes (from swiften, boost)
- Replaced all usage of the dodgy SWIFTEN_* macros and HAVE_SWIFTEN_3
define.
- Removed spectrum2_manager (it's stupid, just use systemd)
- Removed spectrum2 server mode (it's stupid, just use a component)
- Removed Jingle File Transfer (only worked on swiften 3, was suuuper
hacky)
- Moved spectrum/src to src/ (this always pissed me off)
- Removed WIN32 and non-Linux platform support (was ugly)
- Removed packaging, munin, travis, etc (this is a fork)
- Added .clang-format, ran clang-format everywhere (hooray!)
- Removed half the flags and crap in CMakeLists.txt (it didn't really help)
3 years ago
|
|
|
virtual void clearRoomList() = 0;
|
|
|
|
virtual void addRoomToRoomList(const std::string &handle, const std::string &name) = 0;
|
|
|
|
|
*: massive decruftification & cleanup
- Removed all backends apart from twitter, template, and libpurple.
(why would you want to use any of them?)
- Deleted dodgy vendored includes (from swiften, boost)
- Replaced all usage of the dodgy SWIFTEN_* macros and HAVE_SWIFTEN_3
define.
- Removed spectrum2_manager (it's stupid, just use systemd)
- Removed spectrum2 server mode (it's stupid, just use a component)
- Removed Jingle File Transfer (only worked on swiften 3, was suuuper
hacky)
- Moved spectrum/src to src/ (this always pissed me off)
- Removed WIN32 and non-Linux platform support (was ugly)
- Removed packaging, munin, travis, etc (this is a fork)
- Added .clang-format, ran clang-format everywhere (hooray!)
- Removed half the flags and crap in CMakeLists.txt (it didn't really help)
3 years ago
|
|
|
virtual std::string setOAuth2Code(const std::string &code, const std::string &state) {
|
|
|
|
return "OAuth2 code is not needed for this frontend.";
|
|
|
|
}
|
|
|
|
virtual std::string getOAuth2URL(const std::vector<std::string> &args) {
|
|
|
|
return "";
|
|
|
|
}
|
|
|
|
virtual std::string getRegistrationFields() {
|
|
|
|
return "Jabber ID\n3rd-party network username\n3rd-party network password";
|
|
|
|
}
|
|
|
|
|
*: massive decruftification & cleanup
- Removed all backends apart from twitter, template, and libpurple.
(why would you want to use any of them?)
- Deleted dodgy vendored includes (from swiften, boost)
- Replaced all usage of the dodgy SWIFTEN_* macros and HAVE_SWIFTEN_3
define.
- Removed spectrum2_manager (it's stupid, just use systemd)
- Removed spectrum2 server mode (it's stupid, just use a component)
- Removed Jingle File Transfer (only worked on swiften 3, was suuuper
hacky)
- Moved spectrum/src to src/ (this always pissed me off)
- Removed WIN32 and non-Linux platform support (was ugly)
- Removed packaging, munin, travis, etc (this is a fork)
- Added .clang-format, ran clang-format everywhere (hooray!)
- Removed half the flags and crap in CMakeLists.txt (it didn't really help)
3 years ago
|
|
|
virtual bool isRawXMLEnabled() {
|
|
|
|
return false;
|
|
|
|
}
|
|
|
|
|
*: massive decruftification & cleanup
- Removed all backends apart from twitter, template, and libpurple.
(why would you want to use any of them?)
- Deleted dodgy vendored includes (from swiften, boost)
- Replaced all usage of the dodgy SWIFTEN_* macros and HAVE_SWIFTEN_3
define.
- Removed spectrum2_manager (it's stupid, just use systemd)
- Removed spectrum2 server mode (it's stupid, just use a component)
- Removed Jingle File Transfer (only worked on swiften 3, was suuuper
hacky)
- Moved spectrum/src to src/ (this always pissed me off)
- Removed WIN32 and non-Linux platform support (was ugly)
- Removed packaging, munin, travis, etc (this is a fork)
- Added .clang-format, ran clang-format everywhere (hooray!)
- Removed half the flags and crap in CMakeLists.txt (it didn't really help)
3 years ago
|
|
|
boost::signals2::signal<void(User *, const std::string &name, unsigned int id)> onVCardRequired;
|
|
|
|
boost::signals2::signal<void(User *, std::shared_ptr<Swift::VCard> vcard)> onVCardUpdated;
|
|
|
|
boost::signals2::signal<void(Buddy *, const Swift::RosterItemPayload &item)> onBuddyUpdated;
|
|
|
|
boost::signals2::signal<void(Buddy *)> onBuddyRemoved;
|
|
|
|
boost::signals2::signal<void(Buddy *, const Swift::RosterItemPayload &item)> onBuddyAdded;
|
|
|
|
boost::signals2::signal<void(Swift::Message::ref message)> onMessageReceived;
|
|
|
|
boost::signals2::signal<void(bool /* isAvailable */)> onAvailableChanged;
|
|
|
|
boost::signals2::signal<void(std::shared_ptr<Swift::Presence>)> onPresenceReceived;
|
|
|
|
boost::signals2::signal<void(const Swift::JID &jid, std::shared_ptr<Swift::DiscoInfo> info)> onCapabilitiesReceived;
|
|
|
|
};
|
|
|
|
|
*: massive decruftification & cleanup
- Removed all backends apart from twitter, template, and libpurple.
(why would you want to use any of them?)
- Deleted dodgy vendored includes (from swiften, boost)
- Replaced all usage of the dodgy SWIFTEN_* macros and HAVE_SWIFTEN_3
define.
- Removed spectrum2_manager (it's stupid, just use systemd)
- Removed spectrum2 server mode (it's stupid, just use a component)
- Removed Jingle File Transfer (only worked on swiften 3, was suuuper
hacky)
- Moved spectrum/src to src/ (this always pissed me off)
- Removed WIN32 and non-Linux platform support (was ugly)
- Removed packaging, munin, travis, etc (this is a fork)
- Added .clang-format, ran clang-format everywhere (hooray!)
- Removed half the flags and crap in CMakeLists.txt (it didn't really help)
3 years ago
|
|
|
} // namespace Transport
|