mirror of
https://github.com/profanity-im/profanity.git
synced 2024-12-04 14:46:46 -05:00
Moved roster_list.c
This commit is contained in:
parent
cc32bb7738
commit
90b9b48ab9
@ -5,7 +5,7 @@ core_sources = \
|
|||||||
src/xmpp/chat_session.h src/xmpp/muc.c src/xmpp/muc.h src/xmpp/jid.h src/xmpp/jid.c \
|
src/xmpp/chat_session.h src/xmpp/muc.c src/xmpp/muc.h src/xmpp/jid.h src/xmpp/jid.c \
|
||||||
src/xmpp/chat_state.h src/xmpp/chat_state.c \
|
src/xmpp/chat_state.h src/xmpp/chat_state.c \
|
||||||
src/xmpp/resource.c src/xmpp/resource.h \
|
src/xmpp/resource.c src/xmpp/resource.h \
|
||||||
src/roster_list.c src/roster_list.h \
|
src/xmpp/roster_list.c src/xmpp/roster_list.h \
|
||||||
src/xmpp/xmpp.h src/xmpp/capabilities.c src/xmpp/session.c \
|
src/xmpp/xmpp.h src/xmpp/capabilities.c src/xmpp/session.c \
|
||||||
src/xmpp/connection.h src/xmpp/connection.c \
|
src/xmpp/connection.h src/xmpp/connection.c \
|
||||||
src/xmpp/iq.c src/xmpp/message.c src/xmpp/presence.c src/xmpp/stanza.c \
|
src/xmpp/iq.c src/xmpp/message.c src/xmpp/presence.c src/xmpp/stanza.c \
|
||||||
@ -63,7 +63,7 @@ unittest_sources = \
|
|||||||
src/xmpp/chat_session.h src/xmpp/muc.c src/xmpp/muc.h src/xmpp/jid.h src/xmpp/jid.c \
|
src/xmpp/chat_session.h src/xmpp/muc.c src/xmpp/muc.h src/xmpp/jid.h src/xmpp/jid.c \
|
||||||
src/xmpp/resource.c src/xmpp/resource.h \
|
src/xmpp/resource.c src/xmpp/resource.h \
|
||||||
src/xmpp/chat_state.h src/xmpp/chat_state.c \
|
src/xmpp/chat_state.h src/xmpp/chat_state.c \
|
||||||
src/roster_list.c src/roster_list.h \
|
src/xmpp/roster_list.c src/xmpp/roster_list.h \
|
||||||
src/xmpp/xmpp.h src/xmpp/form.c \
|
src/xmpp/xmpp.h src/xmpp/form.c \
|
||||||
src/ui/ui.h \
|
src/ui/ui.h \
|
||||||
src/otr/otr.h \
|
src/otr/otr.h \
|
||||||
|
@ -48,7 +48,7 @@
|
|||||||
#include "config/scripts.h"
|
#include "config/scripts.h"
|
||||||
#include "xmpp/muc.h"
|
#include "xmpp/muc.h"
|
||||||
#include "xmpp/xmpp.h"
|
#include "xmpp/xmpp.h"
|
||||||
#include "roster_list.h"
|
#include "xmpp/roster_list.h"
|
||||||
#include "window_list.h"
|
#include "window_list.h"
|
||||||
#include "plugins/plugins.h"
|
#include "plugins/plugins.h"
|
||||||
#include "command/cmd_ac.h"
|
#include "command/cmd_ac.h"
|
||||||
|
@ -59,7 +59,7 @@
|
|||||||
#include "config/tlscerts.h"
|
#include "config/tlscerts.h"
|
||||||
#include "config/scripts.h"
|
#include "config/scripts.h"
|
||||||
#include "xmpp/contact.h"
|
#include "xmpp/contact.h"
|
||||||
#include "roster_list.h"
|
#include "xmpp/roster_list.h"
|
||||||
#include "xmpp/jid.h"
|
#include "xmpp/jid.h"
|
||||||
#include "log.h"
|
#include "log.h"
|
||||||
#include "xmpp/muc.h"
|
#include "xmpp/muc.h"
|
||||||
|
@ -61,7 +61,7 @@
|
|||||||
#include "config/tlscerts.h"
|
#include "config/tlscerts.h"
|
||||||
#include "config/scripts.h"
|
#include "config/scripts.h"
|
||||||
#include "xmpp/contact.h"
|
#include "xmpp/contact.h"
|
||||||
#include "roster_list.h"
|
#include "xmpp/roster_list.h"
|
||||||
#include "xmpp/jid.h"
|
#include "xmpp/jid.h"
|
||||||
#include "log.h"
|
#include "log.h"
|
||||||
#include "xmpp/muc.h"
|
#include "xmpp/muc.h"
|
||||||
|
@ -41,7 +41,7 @@
|
|||||||
#include "ui/ui.h"
|
#include "ui/ui.h"
|
||||||
#include "window_list.h"
|
#include "window_list.h"
|
||||||
#include "xmpp/xmpp.h"
|
#include "xmpp/xmpp.h"
|
||||||
#include "roster_list.h"
|
#include "xmpp/roster_list.h"
|
||||||
#include "xmpp/chat_session.h"
|
#include "xmpp/chat_session.h"
|
||||||
#include "plugins/plugins.h"
|
#include "plugins/plugins.h"
|
||||||
#ifdef HAVE_LIBOTR
|
#ifdef HAVE_LIBOTR
|
||||||
|
@ -44,7 +44,7 @@
|
|||||||
#include "config/preferences.h"
|
#include "config/preferences.h"
|
||||||
#include "config/account.h"
|
#include "config/account.h"
|
||||||
#include "config/scripts.h"
|
#include "config/scripts.h"
|
||||||
#include "roster_list.h"
|
#include "xmpp/roster_list.h"
|
||||||
#include "plugins/plugins.h"
|
#include "plugins/plugins.h"
|
||||||
#include "window_list.h"
|
#include "window_list.h"
|
||||||
#include "config/tlscerts.h"
|
#include "config/tlscerts.h"
|
||||||
|
@ -41,7 +41,7 @@
|
|||||||
#include "otr/otr.h"
|
#include "otr/otr.h"
|
||||||
#include "otr/otrlib.h"
|
#include "otr/otrlib.h"
|
||||||
#include "log.h"
|
#include "log.h"
|
||||||
#include "roster_list.h"
|
#include "xmpp/roster_list.h"
|
||||||
#include "window_list.h"
|
#include "window_list.h"
|
||||||
#include "xmpp/contact.h"
|
#include "xmpp/contact.h"
|
||||||
#include "ui/ui.h"
|
#include "ui/ui.h"
|
||||||
|
@ -57,7 +57,7 @@
|
|||||||
#include "command/cmd_defs.h"
|
#include "command/cmd_defs.h"
|
||||||
#include "common.h"
|
#include "common.h"
|
||||||
#include "xmpp/contact.h"
|
#include "xmpp/contact.h"
|
||||||
#include "roster_list.h"
|
#include "xmpp/roster_list.h"
|
||||||
#include "config/tlscerts.h"
|
#include "config/tlscerts.h"
|
||||||
#include "log.h"
|
#include "log.h"
|
||||||
#include "xmpp/muc.h"
|
#include "xmpp/muc.h"
|
||||||
|
@ -40,7 +40,7 @@
|
|||||||
|
|
||||||
#include "xmpp/chat_session.h"
|
#include "xmpp/chat_session.h"
|
||||||
#include "window_list.h"
|
#include "window_list.h"
|
||||||
#include "roster_list.h"
|
#include "xmpp/roster_list.h"
|
||||||
#include "log.h"
|
#include "log.h"
|
||||||
#include "config/preferences.h"
|
#include "config/preferences.h"
|
||||||
#include "ui/ui.h"
|
#include "ui/ui.h"
|
||||||
|
@ -47,7 +47,7 @@
|
|||||||
#include "common.h"
|
#include "common.h"
|
||||||
#include "log.h"
|
#include "log.h"
|
||||||
#include "xmpp/muc.h"
|
#include "xmpp/muc.h"
|
||||||
#include "roster_list.h"
|
#include "xmpp/roster_list.h"
|
||||||
#include "config/preferences.h"
|
#include "config/preferences.h"
|
||||||
#include "config/theme.h"
|
#include "config/theme.h"
|
||||||
#include "ui/window.h"
|
#include "ui/window.h"
|
||||||
|
@ -61,7 +61,7 @@
|
|||||||
#include "config/preferences.h"
|
#include "config/preferences.h"
|
||||||
#include "config/theme.h"
|
#include "config/theme.h"
|
||||||
#include "xmpp/contact.h"
|
#include "xmpp/contact.h"
|
||||||
#include "roster_list.h"
|
#include "xmpp/roster_list.h"
|
||||||
#include "xmpp/jid.h"
|
#include "xmpp/jid.h"
|
||||||
#include "log.h"
|
#include "log.h"
|
||||||
#include "xmpp/muc.h"
|
#include "xmpp/muc.h"
|
||||||
|
@ -62,7 +62,7 @@
|
|||||||
#include "log.h"
|
#include "log.h"
|
||||||
#include "xmpp/muc.h"
|
#include "xmpp/muc.h"
|
||||||
#include "profanity.h"
|
#include "profanity.h"
|
||||||
#include "roster_list.h"
|
#include "xmpp/roster_list.h"
|
||||||
#include "ui/ui.h"
|
#include "ui/ui.h"
|
||||||
#include "ui/statusbar.h"
|
#include "ui/statusbar.h"
|
||||||
#include "ui/inputwin.h"
|
#include "ui/inputwin.h"
|
||||||
|
@ -41,7 +41,7 @@
|
|||||||
#include "ui/window.h"
|
#include "ui/window.h"
|
||||||
#include "window_list.h"
|
#include "window_list.h"
|
||||||
#include "config/preferences.h"
|
#include "config/preferences.h"
|
||||||
#include "roster_list.h"
|
#include "xmpp/roster_list.h"
|
||||||
|
|
||||||
typedef enum {
|
typedef enum {
|
||||||
ROSTER_CONTACT,
|
ROSTER_CONTACT,
|
||||||
|
@ -46,7 +46,7 @@
|
|||||||
#include "ui/inputwin.h"
|
#include "ui/inputwin.h"
|
||||||
#include "window_list.h"
|
#include "window_list.h"
|
||||||
#include "ui/window.h"
|
#include "ui/window.h"
|
||||||
#include "roster_list.h"
|
#include "xmpp/roster_list.h"
|
||||||
#include "xmpp/chat_session.h"
|
#include "xmpp/chat_session.h"
|
||||||
|
|
||||||
static WINDOW *win;
|
static WINDOW *win;
|
||||||
|
@ -49,7 +49,7 @@
|
|||||||
|
|
||||||
#include "config/theme.h"
|
#include "config/theme.h"
|
||||||
#include "config/preferences.h"
|
#include "config/preferences.h"
|
||||||
#include "roster_list.h"
|
#include "xmpp/roster_list.h"
|
||||||
#include "ui/ui.h"
|
#include "ui/ui.h"
|
||||||
#include "ui/window.h"
|
#include "ui/window.h"
|
||||||
#include "xmpp/xmpp.h"
|
#include "xmpp/xmpp.h"
|
||||||
|
@ -41,7 +41,7 @@
|
|||||||
#include <glib.h>
|
#include <glib.h>
|
||||||
|
|
||||||
#include "common.h"
|
#include "common.h"
|
||||||
#include "roster_list.h"
|
#include "xmpp/roster_list.h"
|
||||||
#include "config/theme.h"
|
#include "config/theme.h"
|
||||||
#include "ui/ui.h"
|
#include "ui/ui.h"
|
||||||
#include "ui/statusbar.h"
|
#include "ui/statusbar.h"
|
||||||
|
@ -32,8 +32,8 @@
|
|||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef ROSTER_LIST_H
|
#ifndef XMPP_ROSTER_LIST_H
|
||||||
#define ROSTER_LIST_H
|
#define XMPP_ROSTER_LIST_H
|
||||||
|
|
||||||
#include <glib.h>
|
#include <glib.h>
|
||||||
|
|
@ -8,7 +8,7 @@
|
|||||||
#include "xmpp/chat_session.h"
|
#include "xmpp/chat_session.h"
|
||||||
#include "command/cmd_funcs.h"
|
#include "command/cmd_funcs.h"
|
||||||
#include "xmpp/xmpp.h"
|
#include "xmpp/xmpp.h"
|
||||||
#include "roster_list.h"
|
#include "xmpp/roster_list.h"
|
||||||
|
|
||||||
#include "ui/stub_ui.h"
|
#include "ui/stub_ui.h"
|
||||||
|
|
||||||
|
@ -10,7 +10,7 @@
|
|||||||
#include "ui/stub_ui.h"
|
#include "ui/stub_ui.h"
|
||||||
|
|
||||||
#include "xmpp/xmpp.h"
|
#include "xmpp/xmpp.h"
|
||||||
#include "roster_list.h"
|
#include "xmpp/roster_list.h"
|
||||||
#include "command/cmd_funcs.h"
|
#include "command/cmd_funcs.h"
|
||||||
|
|
||||||
#define CMD_ROSTER "/roster"
|
#define CMD_ROSTER "/roster"
|
||||||
|
@ -7,7 +7,7 @@
|
|||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
|
|
||||||
#include "xmpp/contact.h"
|
#include "xmpp/contact.h"
|
||||||
#include "roster_list.h"
|
#include "xmpp/roster_list.h"
|
||||||
|
|
||||||
void empty_list_when_none_added(void **state)
|
void empty_list_when_none_added(void **state)
|
||||||
{
|
{
|
||||||
|
@ -7,7 +7,7 @@
|
|||||||
#include <glib.h>
|
#include <glib.h>
|
||||||
|
|
||||||
#include "event/server_events.h"
|
#include "event/server_events.h"
|
||||||
#include "roster_list.h"
|
#include "xmpp/roster_list.h"
|
||||||
#include "xmpp/chat_session.h"
|
#include "xmpp/chat_session.h"
|
||||||
#include "config/preferences.h"
|
#include "config/preferences.h"
|
||||||
#include "ui/ui.h"
|
#include "ui/ui.h"
|
||||||
|
Loading…
Reference in New Issue
Block a user