1
0
mirror of https://github.com/profanity-im/profanity.git synced 2024-09-22 19:45:54 -04:00

Renamed history.c -> command_history.c

Included in command.h
This commit is contained in:
James Booth 2013-01-28 01:23:37 +00:00
parent a63d0aff98
commit 80e62cfa5f
7 changed files with 8 additions and 37 deletions

View File

@ -1,7 +1,7 @@
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/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/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 \

View File

@ -34,7 +34,6 @@
#include "contact.h"
#include "contact_list.h"
#include "chat_log.h"
#include "history.h"
#include "jid.h"
#include "log.h"
#include "parser.h"

View File

@ -45,4 +45,9 @@ GSList * cmd_get_basic_help(void);
GSList * cmd_get_settings_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

View File

@ -1,5 +1,5 @@
/*
* history.c
* command_history.c
*
* Copyright (C) 2012, 2013 James Booth <boothj5@gmail.com>
*

View File

@ -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

View File

@ -37,7 +37,6 @@
#include "contact.h"
#include "contact_list.h"
#include "files.h"
#include "history.h"
#include "log.h"
#include "preferences.h"
#include "profanity.h"

View File

@ -36,7 +36,6 @@
#include "common.h"
#include "command.h"
#include "contact_list.h"
#include "history.h"
#include "log.h"
#include "preferences.h"
#include "profanity.h"