mirror of
https://github.com/profanity-im/profanity.git
synced 2024-12-04 14:46:46 -05:00
Moved chat_session.c
This commit is contained in:
parent
0649aad80d
commit
25a6252a28
@ -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 \
|
||||
|
@ -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"
|
||||
|
@ -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"
|
||||
|
@ -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"
|
||||
|
@ -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"
|
||||
|
@ -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"
|
||||
|
@ -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
|
||||
|
@ -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"
|
||||
|
@ -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"
|
||||
|
@ -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"
|
||||
|
@ -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;
|
||||
|
@ -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>
|
||||
|
@ -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)
|
||||
{
|
||||
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
@ -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"
|
||||
|
@ -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"
|
||||
|
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user