1
0
Fork 0

Moved chat_session.c

This commit is contained in:
James Booth 2016-07-24 14:23:55 +01:00
parent 0649aad80d
commit 25a6252a28
18 changed files with 22 additions and 22 deletions

View File

@ -1,8 +1,8 @@
core_sources = \
src/contact.c src/contact.h src/log.c src/common.c \
src/log.h src/profanity.c src/common.h \
src/profanity.h src/chat_session.c \
src/chat_session.h src/muc.c src/muc.h src/jid.h src/jid.c \
src/profanity.h src/xmpp/chat_session.c \
src/xmpp/chat_session.h src/muc.c src/muc.h src/jid.h src/jid.c \
src/chat_state.h src/chat_state.c \
src/resource.c src/resource.h \
src/roster_list.c src/roster_list.h \
@ -59,8 +59,8 @@ core_sources = \
unittest_sources = \
src/contact.c src/contact.h src/common.c \
src/log.h src/profanity.c src/common.h \
src/profanity.h src/chat_session.c \
src/chat_session.h src/muc.c src/muc.h src/jid.h src/jid.c \
src/profanity.h src/xmpp/chat_session.c \
src/xmpp/chat_session.h src/muc.c src/muc.h src/jid.h src/jid.c \
src/resource.c src/resource.h \
src/chat_state.h src/chat_state.c \
src/roster_list.c src/roster_list.h \

View File

@ -38,7 +38,7 @@
#include <glib.h>
#include "chat_state.h"
#include "chat_session.h"
#include "xmpp/chat_session.h"
#include "window_list.h"
#include "ui/win_types.h"
#include "xmpp/xmpp.h"

View File

@ -48,7 +48,7 @@
#include <glib.h>
#include "chat_session.h"
#include "xmpp/chat_session.h"
#include "command/cmd_defs.h"
#include "command/cmd_funcs.h"
#include "command/cmd_ac.h"

View File

@ -49,7 +49,7 @@
#include <langinfo.h>
#include <ctype.h>
#include "chat_session.h"
#include "xmpp/chat_session.h"
#include "command/cmd_funcs.h"
#include "command/cmd_defs.h"
#include "command/cmd_ac.h"

View File

@ -42,7 +42,7 @@
#include "window_list.h"
#include "xmpp/xmpp.h"
#include "roster_list.h"
#include "chat_session.h"
#include "xmpp/chat_session.h"
#include "plugins/plugins.h"
#ifdef HAVE_LIBOTR
#include "otr/otr.h"

View File

@ -38,7 +38,7 @@
#include <stdlib.h>
#include <assert.h>
#include "chat_session.h"
#include "xmpp/chat_session.h"
#include "log.h"
#include "muc.h"
#include "config/preferences.h"

View File

@ -47,7 +47,7 @@
#include "ui/ui.h"
#include "xmpp/xmpp.h"
#include "config/preferences.h"
#include "chat_session.h"
#include "xmpp/chat_session.h"
#define PRESENCE_ONLINE 1
#define PRESENCE_OFFLINE 0

View File

@ -48,7 +48,7 @@
#include <glib.h>
#include "profanity.h"
#include "chat_session.h"
#include "xmpp/chat_session.h"
#include "chat_state.h"
#include "config/accounts.h"
#include "config/preferences.h"

View File

@ -38,7 +38,7 @@
#include <stdlib.h>
#include <assert.h>
#include "chat_session.h"
#include "xmpp/chat_session.h"
#include "window_list.h"
#include "roster_list.h"
#include "log.h"

View File

@ -54,7 +54,7 @@
#include <ncurses.h>
#endif
#include "chat_session.h"
#include "xmpp/chat_session.h"
#include "command/cmd_defs.h"
#include "command/cmd_ac.h"
#include "common.h"

View File

@ -47,7 +47,7 @@
#include "window_list.h"
#include "ui/window.h"
#include "roster_list.h"
#include "chat_session.h"
#include "xmpp/chat_session.h"
static WINDOW *win;
static contact_presence_t current_presence;

View File

@ -32,8 +32,8 @@
*
*/
#ifndef CHAT_SESSION_H
#define CHAT_SESSION_H
#ifndef XMPP_CHAT_SESSION_H
#define XMPP_CHAT_SESSION_H
#include <glib.h>

View File

@ -10,7 +10,7 @@
#include "common.h"
#include "helpers.h"
#include "config/preferences.h"
#include "chat_session.h"
#include "xmpp/chat_session.h"
void create_config_dir(void **state)
{

View File

@ -5,7 +5,7 @@
#include <cmocka.h>
#include <stdlib.h>
#include "chat_session.h"
#include "xmpp/chat_session.h"
void returns_false_when_chat_session_does_not_exist(void **state)
{
@ -48,4 +48,4 @@ void removes_chat_session(void **state)
ChatSession *session = chat_session_get(barejid);
assert_null(session);
}
}

View File

@ -5,7 +5,7 @@
#include <stdlib.h>
#include <string.h>
#include "chat_session.h"
#include "xmpp/chat_session.h"
#include "command/cmd_funcs.h"
#include "xmpp/xmpp.h"
#include "roster_list.h"

View File

@ -8,7 +8,7 @@
#include "event/server_events.h"
#include "roster_list.h"
#include "chat_session.h"
#include "xmpp/chat_session.h"
#include "config/preferences.h"
#include "ui/ui.h"
#include "ui/stub_ui.h"

View File

@ -8,7 +8,7 @@
#include <sys/stat.h>
#include "config.h"
#include "chat_session.h"
#include "xmpp/chat_session.h"
#include "helpers.h"
#include "test_autocomplete.h"
#include "test_chat_session.h"