mirror of
https://github.com/profanity-im/profanity.git
synced 2024-12-04 14:46:46 -05:00
Renamed history.c -> command_history.c
Included in command.h
This commit is contained in:
parent
a63d0aff98
commit
80e62cfa5f
@ -1,7 +1,7 @@
|
|||||||
bin_PROGRAMS = profanity
|
bin_PROGRAMS = profanity
|
||||||
profanity_SOURCES = src/command.c src/contact.c src/history.c src/xmpp.h \
|
profanity_SOURCES = src/command.c src/contact.c src/command_history.c src/xmpp.h \
|
||||||
src/preferences.c src/autocomplete.c src/ui_statusbar.c \
|
src/preferences.c src/autocomplete.c src/ui_statusbar.c \
|
||||||
src/command.h src/contact.h src/history.h src/log.c src/preferences.h \
|
src/command.h src/contact.h src/log.c src/preferences.h \
|
||||||
src/autocomplete.h src/ui_titlebar.c src/ui_windows.c src/common.c \
|
src/autocomplete.h src/ui_titlebar.c src/ui_windows.c src/common.c \
|
||||||
src/contact_list.c src/ui_inputwin.c src/log.h src/profanity.c \
|
src/contact_list.c src/ui_inputwin.c src/log.h src/profanity.c \
|
||||||
src/prof_history.c src/ui.h src/common.h src/ contact_list.h src/xmpp_conn.c \
|
src/prof_history.c src/ui.h src/common.h src/ contact_list.h src/xmpp_conn.c \
|
||||||
|
@ -34,7 +34,6 @@
|
|||||||
#include "contact.h"
|
#include "contact.h"
|
||||||
#include "contact_list.h"
|
#include "contact_list.h"
|
||||||
#include "chat_log.h"
|
#include "chat_log.h"
|
||||||
#include "history.h"
|
|
||||||
#include "jid.h"
|
#include "jid.h"
|
||||||
#include "log.h"
|
#include "log.h"
|
||||||
#include "parser.h"
|
#include "parser.h"
|
||||||
|
@ -45,4 +45,9 @@ GSList * cmd_get_basic_help(void);
|
|||||||
GSList * cmd_get_settings_help(void);
|
GSList * cmd_get_settings_help(void);
|
||||||
GSList * cmd_get_presence_help(void);
|
GSList * cmd_get_presence_help(void);
|
||||||
|
|
||||||
|
void history_init(void);
|
||||||
|
void history_append(char *inp);
|
||||||
|
char *history_previous(char *inp, int *size);
|
||||||
|
char *history_next(char *inp, int *size);
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
* history.c
|
* command_history.c
|
||||||
*
|
*
|
||||||
* Copyright (C) 2012, 2013 James Booth <boothj5@gmail.com>
|
* Copyright (C) 2012, 2013 James Booth <boothj5@gmail.com>
|
||||||
*
|
*
|
@ -1,31 +0,0 @@
|
|||||||
/*
|
|
||||||
* history.h
|
|
||||||
*
|
|
||||||
* Copyright (C) 2012, 2013 James Booth <boothj5@gmail.com>
|
|
||||||
*
|
|
||||||
* This file is part of Profanity.
|
|
||||||
*
|
|
||||||
* Profanity is free software: you can redistribute it and/or modify
|
|
||||||
* it under the terms of the GNU General Public License as published by
|
|
||||||
* the Free Software Foundation, either version 3 of the License, or
|
|
||||||
* (at your option) any later version.
|
|
||||||
*
|
|
||||||
* Profanity is distributed in the hope that it will be useful,
|
|
||||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
* GNU General Public License for more details.
|
|
||||||
*
|
|
||||||
* You should have received a copy of the GNU General Public License
|
|
||||||
* along with Profanity. If not, see <http://www.gnu.org/licenses/>.
|
|
||||||
*
|
|
||||||
*/
|
|
||||||
|
|
||||||
#ifndef HISTORY_H
|
|
||||||
#define HISTORY_H
|
|
||||||
|
|
||||||
void history_init(void);
|
|
||||||
void history_append(char *inp);
|
|
||||||
char *history_previous(char *inp, int *size);
|
|
||||||
char *history_next(char *inp, int *size);
|
|
||||||
|
|
||||||
#endif
|
|
@ -37,7 +37,6 @@
|
|||||||
#include "contact.h"
|
#include "contact.h"
|
||||||
#include "contact_list.h"
|
#include "contact_list.h"
|
||||||
#include "files.h"
|
#include "files.h"
|
||||||
#include "history.h"
|
|
||||||
#include "log.h"
|
#include "log.h"
|
||||||
#include "preferences.h"
|
#include "preferences.h"
|
||||||
#include "profanity.h"
|
#include "profanity.h"
|
||||||
|
@ -36,7 +36,6 @@
|
|||||||
#include "common.h"
|
#include "common.h"
|
||||||
#include "command.h"
|
#include "command.h"
|
||||||
#include "contact_list.h"
|
#include "contact_list.h"
|
||||||
#include "history.h"
|
|
||||||
#include "log.h"
|
#include "log.h"
|
||||||
#include "preferences.h"
|
#include "preferences.h"
|
||||||
#include "profanity.h"
|
#include "profanity.h"
|
||||||
|
Loading…
Reference in New Issue
Block a user