2014-02-25 02:28:24 -05:00
|
|
|
/* prompt.h
|
|
|
|
*
|
|
|
|
*
|
|
|
|
* Copyright (C) 2014 Toxic All Rights Reserved.
|
|
|
|
*
|
|
|
|
* This file is part of Toxic.
|
|
|
|
*
|
|
|
|
* Toxic 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.
|
|
|
|
*
|
|
|
|
* Toxic 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 Toxic. If not, see <http://www.gnu.org/licenses/>.
|
|
|
|
*
|
2013-09-19 17:03:22 -04:00
|
|
|
*/
|
|
|
|
|
2013-08-13 10:50:43 +12:00
|
|
|
#ifndef PROMPT_H_UZYGWFFL
|
|
|
|
#define PROMPT_H_UZYGWFFL
|
|
|
|
|
2014-06-11 18:06:55 -04:00
|
|
|
#include "toxic.h"
|
|
|
|
#include "windows.h"
|
2013-12-04 18:09:51 -05:00
|
|
|
|
2014-04-19 14:58:13 -07:00
|
|
|
#ifdef _SUPPORT_AUDIO
|
|
|
|
#define AC_NUM_GLOB_COMMANDS 17
|
|
|
|
#else
|
|
|
|
#define AC_NUM_GLOB_COMMANDS 15
|
|
|
|
#endif /* _SUPPORT_AUDIO */
|
2013-12-09 17:56:20 -05:00
|
|
|
|
2013-09-19 17:03:22 -04:00
|
|
|
ToxWindow new_prompt(void);
|
2013-12-06 05:07:35 -05:00
|
|
|
void prep_prompt_win(void);
|
2013-09-06 19:59:45 -04:00
|
|
|
void prompt_init_statusbar(ToxWindow *self, Tox *m);
|
2014-07-06 22:15:35 -04:00
|
|
|
void prompt_update_nick(ToxWindow *prompt, char *nick);
|
|
|
|
void prompt_update_statusmessage(ToxWindow *prompt, char *statusmsg);
|
2014-03-18 21:48:26 -04:00
|
|
|
void prompt_update_status(ToxWindow *prompt, uint8_t status);
|
2013-09-18 17:30:35 -04:00
|
|
|
void prompt_update_connectionstatus(ToxWindow *prompt, bool is_connected);
|
2014-07-08 19:24:44 -04:00
|
|
|
void kill_prompt_window(ToxWindow *self);
|
2013-08-13 10:50:43 +12:00
|
|
|
|
|
|
|
#endif /* end of include guard: PROMPT_H_UZYGWFFL */
|