mirror of
https://github.com/profanity-im/profanity.git
synced 2024-11-03 19:37:16 -05:00
Moved contact.c
This commit is contained in:
parent
9cff37352a
commit
c23506f453
@ -1,5 +1,5 @@
|
||||
core_sources = \
|
||||
src/contact.c src/contact.h src/log.c src/common.c \
|
||||
src/xmpp/contact.c src/xmpp/contact.h src/log.c src/common.c \
|
||||
src/log.h src/profanity.c src/common.h \
|
||||
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 \
|
||||
@ -57,7 +57,7 @@ core_sources = \
|
||||
src/tray.h src/tray.c
|
||||
|
||||
unittest_sources = \
|
||||
src/contact.c src/contact.h src/common.c \
|
||||
src/xmpp/contact.c src/xmpp/contact.h src/common.c \
|
||||
src/log.h src/profanity.c src/common.h \
|
||||
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 \
|
||||
|
@ -58,7 +58,7 @@
|
||||
#include "config/theme.h"
|
||||
#include "config/tlscerts.h"
|
||||
#include "config/scripts.h"
|
||||
#include "contact.h"
|
||||
#include "xmpp/contact.h"
|
||||
#include "roster_list.h"
|
||||
#include "jid.h"
|
||||
#include "log.h"
|
||||
|
@ -60,7 +60,7 @@
|
||||
#include "config/theme.h"
|
||||
#include "config/tlscerts.h"
|
||||
#include "config/scripts.h"
|
||||
#include "contact.h"
|
||||
#include "xmpp/contact.h"
|
||||
#include "roster_list.h"
|
||||
#include "jid.h"
|
||||
#include "log.h"
|
||||
|
@ -38,7 +38,7 @@
|
||||
|
||||
#include <glib.h>
|
||||
|
||||
#include "contact.h"
|
||||
#include "xmpp/contact.h"
|
||||
#include "common.h"
|
||||
#include "jid.h"
|
||||
#include "tools/autocomplete.h"
|
||||
|
@ -37,7 +37,7 @@
|
||||
|
||||
#include <glib.h>
|
||||
|
||||
#include "contact.h"
|
||||
#include "xmpp/contact.h"
|
||||
#include "jid.h"
|
||||
#include "tools/autocomplete.h"
|
||||
#include "ui/win_types.h"
|
||||
|
@ -43,7 +43,7 @@
|
||||
#include "log.h"
|
||||
#include "roster_list.h"
|
||||
#include "window_list.h"
|
||||
#include "contact.h"
|
||||
#include "xmpp/contact.h"
|
||||
#include "ui/ui.h"
|
||||
#include "xmpp/xmpp.h"
|
||||
#include "config/preferences.h"
|
||||
|
@ -56,7 +56,7 @@
|
||||
#include "config/scripts.h"
|
||||
#include "command/cmd_defs.h"
|
||||
#include "common.h"
|
||||
#include "contact.h"
|
||||
#include "xmpp/contact.h"
|
||||
#include "roster_list.h"
|
||||
#include "config/tlscerts.h"
|
||||
#include "log.h"
|
||||
|
@ -41,7 +41,7 @@
|
||||
|
||||
#include "roster_list.h"
|
||||
#include "resource.h"
|
||||
#include "contact.h"
|
||||
#include "xmpp/contact.h"
|
||||
#include "jid.h"
|
||||
#include "tools/autocomplete.h"
|
||||
#include "config/preferences.h"
|
||||
|
@ -38,7 +38,7 @@
|
||||
#include <glib.h>
|
||||
|
||||
#include "resource.h"
|
||||
#include "contact.h"
|
||||
#include "xmpp/contact.h"
|
||||
|
||||
typedef enum {
|
||||
ROSTER_ORD_NAME,
|
||||
|
@ -60,7 +60,7 @@
|
||||
#include "common.h"
|
||||
#include "config/preferences.h"
|
||||
#include "config/theme.h"
|
||||
#include "contact.h"
|
||||
#include "xmpp/contact.h"
|
||||
#include "roster_list.h"
|
||||
#include "jid.h"
|
||||
#include "log.h"
|
||||
|
@ -36,7 +36,7 @@
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
|
||||
#include "contact.h"
|
||||
#include "xmpp/contact.h"
|
||||
#include "ui/ui.h"
|
||||
#include "ui/window.h"
|
||||
#include "window_list.h"
|
||||
|
@ -39,7 +39,7 @@
|
||||
|
||||
#include <wchar.h>
|
||||
|
||||
#include "contact.h"
|
||||
#include "xmpp/contact.h"
|
||||
#include "muc.h"
|
||||
#include "ui/ui.h"
|
||||
#include "ui/buffer.h"
|
||||
|
@ -32,8 +32,8 @@
|
||||
*
|
||||
*/
|
||||
|
||||
#ifndef CONTACT_H
|
||||
#define CONTACT_H
|
||||
#ifndef XMPP_CONTACT_H
|
||||
#define XMPP_CONTACT_H
|
||||
|
||||
#include "resource.h"
|
||||
#include "tools/autocomplete.h"
|
@ -5,7 +5,7 @@
|
||||
#include <cmocka.h>
|
||||
#include <stdlib.h>
|
||||
|
||||
#include "contact.h"
|
||||
#include "xmpp/contact.h"
|
||||
#include "tools/autocomplete.h"
|
||||
|
||||
void clear_empty(void **state)
|
||||
|
@ -6,7 +6,7 @@
|
||||
#include <cmocka.h>
|
||||
#include <stdlib.h>
|
||||
|
||||
#include "contact.h"
|
||||
#include "xmpp/contact.h"
|
||||
|
||||
void contact_in_group(void **state)
|
||||
{
|
||||
|
@ -6,7 +6,7 @@
|
||||
#include <cmocka.h>
|
||||
#include <stdlib.h>
|
||||
|
||||
#include "contact.h"
|
||||
#include "xmpp/contact.h"
|
||||
#include "roster_list.h"
|
||||
|
||||
void empty_list_when_none_added(void **state)
|
||||
|
Loading…
Reference in New Issue
Block a user