1
0
mirror of https://github.com/profanity-im/profanity.git synced 2024-11-03 19:37:16 -05:00

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 = \ core_sources = \
src/contact.c src/contact.h src/log.c src/common.c \ src/contact.c src/contact.h src/log.c src/common.c \
src/log.h src/profanity.c src/common.h \ src/log.h src/profanity.c src/common.h \
src/profanity.h src/chat_session.c \ src/profanity.h src/xmpp/chat_session.c \
src/chat_session.h src/muc.c src/muc.h src/jid.h src/jid.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/chat_state.h src/chat_state.c \
src/resource.c src/resource.h \ src/resource.c src/resource.h \
src/roster_list.c src/roster_list.h \ src/roster_list.c src/roster_list.h \
@ -59,8 +59,8 @@ core_sources = \
unittest_sources = \ unittest_sources = \
src/contact.c src/contact.h src/common.c \ src/contact.c src/contact.h src/common.c \
src/log.h src/profanity.c src/common.h \ src/log.h src/profanity.c src/common.h \
src/profanity.h src/chat_session.c \ src/profanity.h src/xmpp/chat_session.c \
src/chat_session.h src/muc.c src/muc.h src/jid.h src/jid.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/resource.c src/resource.h \
src/chat_state.h src/chat_state.c \ src/chat_state.h src/chat_state.c \
src/roster_list.c src/roster_list.h \ src/roster_list.c src/roster_list.h \

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@ -5,7 +5,7 @@
#include <cmocka.h> #include <cmocka.h>
#include <stdlib.h> #include <stdlib.h>
#include "chat_session.h" #include "xmpp/chat_session.h"
void returns_false_when_chat_session_does_not_exist(void **state) void returns_false_when_chat_session_does_not_exist(void **state)
{ {

View File

@ -5,7 +5,7 @@
#include <stdlib.h> #include <stdlib.h>
#include <string.h> #include <string.h>
#include "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 "roster_list.h"

View File

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

View File

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