Files @ 5adb3d1f9733
Branch filter:

Location: libtransport.git/spectrum/src/frontends/slack/SlackRosterManager.cpp

Jan Kaluza
Support for registering OAuth2 users using spectrum2_manager + lot of Slack improvements
/**
 * 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
 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02111-1301  USA
 */

#include "SlackRosterManager.h"
#include "SlackFrontend.h"
#include "SlackUser.h"

#include "transport/Buddy.h"
#include "transport/User.h"
#include "transport/Logging.h"
#include "transport/Factory.h"
#include "transport/PresenceOracle.h"
#include "transport/Transport.h"

#include <boost/foreach.hpp>
#include <boost/make_shared.hpp>
#include <map>
#include <iterator>

namespace Transport {

DEFINE_LOGGER(logger, "SlackRosterManager");

SlackRosterManager::SlackRosterManager(User *user, Component *component) : RosterManager(user, component){
	m_user = user;
	m_transport = component;
}

SlackRosterManager::~SlackRosterManager() {

}

void SlackRosterManager::doRemoveBuddy(Buddy *buddy) {

}

void SlackRosterManager::doAddBuddy(Buddy *buddy) {

}

void SlackRosterManager::doUpdateBuddy(Buddy *buddy) {

}


}