mirror of
https://github.com/weechat/weechat.git
synced 2026-06-28 22:06:38 +02:00
fset: add fset (Fast Set) plugin skeleton (WIP)
This commit is contained in:
@@ -0,0 +1,41 @@
|
||||
/*
|
||||
* Copyright (C) 2003-2017 Sébastien Helleu <flashcode@flashtux.org>
|
||||
*
|
||||
* This file is part of WeeChat, the extensible chat client.
|
||||
*
|
||||
* WeeChat 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.
|
||||
*
|
||||
* WeeChat 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 WeeChat. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#ifndef WEECHAT_FSET_BUFFER_H
|
||||
#define WEECHAT_FSET_BUFFER_H 1
|
||||
|
||||
#define FSET_BUFFER_NAME "fset"
|
||||
|
||||
extern struct t_gui_buffer *fset_buffer;
|
||||
extern int fset_buffer_selected_line;
|
||||
|
||||
extern void fset_buffer_refresh (int clear);
|
||||
extern void fset_buffer_set_current_line (int line);
|
||||
extern void fset_buffer_check_line_outside_window ();
|
||||
extern int fset_buffer_window_scrolled_cb (const void *pointer,
|
||||
void *data,
|
||||
const char *signal,
|
||||
const char *type_data,
|
||||
void *signal_data);
|
||||
extern void fset_buffer_set_keys ();
|
||||
extern void fset_buffer_open ();
|
||||
extern int fset_buffer_init ();
|
||||
extern void fset_buffer_end ();
|
||||
|
||||
#endif /* WEECHAT_FSET_BUFFER_H */
|
||||
Reference in New Issue
Block a user