1 // Auto generated 2018-09-04 09:18:09.666239 from nvim API level:4 2 #ifndef NEOVIM_QT_NEOVIMAPI4 3 #define NEOVIM_QT_NEOVIMAPI4 4 #include "msgpack.h" 5 #include <QObject> 6 #include <QVariant> 7 #include <QPoint> 8 #include "function.h" 9 10 namespace NeovimQt { 11 class NeovimConnector; 12 class MsgpackRequest; 13 14 class NeovimApi4: public QObject 15 { 16 Q_OBJECT 17 Q_ENUMS(FunctionId) 18 19 public: 20 21 enum FunctionId { 22 NEOVIM_FN_NULL=0, 23 NEOVIM_FN_NVIM_BUF_LINE_COUNT, 24 NEOVIM_FN_BUFFER_GET_LINE, 25 NEOVIM_FN_NVIM_BUF_ATTACH, 26 NEOVIM_FN_NVIM_BUF_DETACH, 27 NEOVIM_FN_BUFFER_SET_LINE, 28 NEOVIM_FN_BUFFER_DEL_LINE, 29 NEOVIM_FN_BUFFER_GET_LINE_SLICE, 30 NEOVIM_FN_NVIM_BUF_GET_LINES, 31 NEOVIM_FN_BUFFER_SET_LINE_SLICE, 32 NEOVIM_FN_NVIM_BUF_SET_LINES, 33 NEOVIM_FN_NVIM_BUF_GET_VAR, 34 NEOVIM_FN_NVIM_BUF_GET_CHANGEDTICK, 35 NEOVIM_FN_NVIM_BUF_GET_KEYMAP, 36 NEOVIM_FN_NVIM_BUF_GET_COMMANDS, 37 NEOVIM_FN_NVIM_BUF_SET_VAR, 38 NEOVIM_FN_NVIM_BUF_DEL_VAR, 39 NEOVIM_FN_BUFFER_SET_VAR, 40 NEOVIM_FN_BUFFER_DEL_VAR, 41 NEOVIM_FN_NVIM_BUF_GET_OPTION, 42 NEOVIM_FN_NVIM_BUF_SET_OPTION, 43 NEOVIM_FN_NVIM_BUF_GET_NUMBER, 44 NEOVIM_FN_NVIM_BUF_GET_NAME, 45 NEOVIM_FN_NVIM_BUF_SET_NAME, 46 NEOVIM_FN_NVIM_BUF_IS_VALID, 47 NEOVIM_FN_BUFFER_INSERT, 48 NEOVIM_FN_NVIM_BUF_GET_MARK, 49 NEOVIM_FN_NVIM_BUF_ADD_HIGHLIGHT, 50 NEOVIM_FN_NVIM_BUF_CLEAR_HIGHLIGHT, 51 NEOVIM_FN_NVIM_TABPAGE_LIST_WINS, 52 NEOVIM_FN_NVIM_TABPAGE_GET_VAR, 53 NEOVIM_FN_NVIM_TABPAGE_SET_VAR, 54 NEOVIM_FN_NVIM_TABPAGE_DEL_VAR, 55 NEOVIM_FN_TABPAGE_SET_VAR, 56 NEOVIM_FN_TABPAGE_DEL_VAR, 57 NEOVIM_FN_NVIM_TABPAGE_GET_WIN, 58 NEOVIM_FN_NVIM_TABPAGE_GET_NUMBER, 59 NEOVIM_FN_NVIM_TABPAGE_IS_VALID, 60 NEOVIM_FN_NVIM_UI_ATTACH, 61 NEOVIM_FN_UI_ATTACH, 62 NEOVIM_FN_NVIM_UI_DETACH, 63 NEOVIM_FN_NVIM_UI_TRY_RESIZE, 64 NEOVIM_FN_NVIM_UI_SET_OPTION, 65 NEOVIM_FN_NVIM_COMMAND, 66 NEOVIM_FN_NVIM_GET_HL_BY_NAME, 67 NEOVIM_FN_NVIM_GET_HL_BY_ID, 68 NEOVIM_FN_NVIM_FEEDKEYS, 69 NEOVIM_FN_NVIM_INPUT, 70 NEOVIM_FN_NVIM_REPLACE_TERMCODES, 71 NEOVIM_FN_NVIM_COMMAND_OUTPUT, 72 NEOVIM_FN_NVIM_EVAL, 73 NEOVIM_FN_NVIM_EXECUTE_LUA, 74 NEOVIM_FN_NVIM_CALL_FUNCTION, 75 NEOVIM_FN_NVIM_CALL_DICT_FUNCTION, 76 NEOVIM_FN_NVIM_STRWIDTH, 77 NEOVIM_FN_NVIM_LIST_RUNTIME_PATHS, 78 NEOVIM_FN_NVIM_SET_CURRENT_DIR, 79 NEOVIM_FN_NVIM_GET_CURRENT_LINE, 80 NEOVIM_FN_NVIM_SET_CURRENT_LINE, 81 NEOVIM_FN_NVIM_DEL_CURRENT_LINE, 82 NEOVIM_FN_NVIM_GET_VAR, 83 NEOVIM_FN_NVIM_SET_VAR, 84 NEOVIM_FN_NVIM_DEL_VAR, 85 NEOVIM_FN_VIM_SET_VAR, 86 NEOVIM_FN_VIM_DEL_VAR, 87 NEOVIM_FN_NVIM_GET_VVAR, 88 NEOVIM_FN_NVIM_GET_OPTION, 89 NEOVIM_FN_NVIM_SET_OPTION, 90 NEOVIM_FN_NVIM_OUT_WRITE, 91 NEOVIM_FN_NVIM_ERR_WRITE, 92 NEOVIM_FN_NVIM_ERR_WRITELN, 93 NEOVIM_FN_NVIM_LIST_BUFS, 94 NEOVIM_FN_NVIM_GET_CURRENT_BUF, 95 NEOVIM_FN_NVIM_SET_CURRENT_BUF, 96 NEOVIM_FN_NVIM_LIST_WINS, 97 NEOVIM_FN_NVIM_GET_CURRENT_WIN, 98 NEOVIM_FN_NVIM_SET_CURRENT_WIN, 99 NEOVIM_FN_NVIM_LIST_TABPAGES, 100 NEOVIM_FN_NVIM_GET_CURRENT_TABPAGE, 101 NEOVIM_FN_NVIM_SET_CURRENT_TABPAGE, 102 NEOVIM_FN_NVIM_SUBSCRIBE, 103 NEOVIM_FN_NVIM_UNSUBSCRIBE, 104 NEOVIM_FN_NVIM_GET_COLOR_BY_NAME, 105 NEOVIM_FN_NVIM_GET_COLOR_MAP, 106 NEOVIM_FN_NVIM_GET_MODE, 107 NEOVIM_FN_NVIM_GET_KEYMAP, 108 NEOVIM_FN_NVIM_GET_COMMANDS, 109 NEOVIM_FN_NVIM_GET_API_INFO, 110 NEOVIM_FN_NVIM_SET_CLIENT_INFO, 111 NEOVIM_FN_NVIM_GET_CHAN_INFO, 112 NEOVIM_FN_NVIM_LIST_CHANS, 113 NEOVIM_FN_NVIM_CALL_ATOMIC, 114 NEOVIM_FN_NVIM_PARSE_EXPRESSION, 115 NEOVIM_FN_NVIM_LIST_UIS, 116 NEOVIM_FN_NVIM_GET_PROC_CHILDREN, 117 NEOVIM_FN_NVIM_GET_PROC, 118 NEOVIM_FN_NVIM_WIN_GET_BUF, 119 NEOVIM_FN_NVIM_WIN_GET_CURSOR, 120 NEOVIM_FN_NVIM_WIN_SET_CURSOR, 121 NEOVIM_FN_NVIM_WIN_GET_HEIGHT, 122 NEOVIM_FN_NVIM_WIN_SET_HEIGHT, 123 NEOVIM_FN_NVIM_WIN_GET_WIDTH, 124 NEOVIM_FN_NVIM_WIN_SET_WIDTH, 125 NEOVIM_FN_NVIM_WIN_GET_VAR, 126 NEOVIM_FN_NVIM_WIN_SET_VAR, 127 NEOVIM_FN_NVIM_WIN_DEL_VAR, 128 NEOVIM_FN_WINDOW_SET_VAR, 129 NEOVIM_FN_WINDOW_DEL_VAR, 130 NEOVIM_FN_NVIM_WIN_GET_OPTION, 131 NEOVIM_FN_NVIM_WIN_SET_OPTION, 132 NEOVIM_FN_NVIM_WIN_GET_POSITION, 133 NEOVIM_FN_NVIM_WIN_GET_TABPAGE, 134 NEOVIM_FN_NVIM_WIN_GET_NUMBER, 135 NEOVIM_FN_NVIM_WIN_IS_VALID, 136 NEOVIM_FN_BUFFER_LINE_COUNT, 137 NEOVIM_FN_BUFFER_GET_LINES, 138 NEOVIM_FN_BUFFER_SET_LINES, 139 NEOVIM_FN_BUFFER_GET_VAR, 140 NEOVIM_FN_BUFFER_GET_OPTION, 141 NEOVIM_FN_BUFFER_SET_OPTION, 142 NEOVIM_FN_BUFFER_GET_NUMBER, 143 NEOVIM_FN_BUFFER_GET_NAME, 144 NEOVIM_FN_BUFFER_SET_NAME, 145 NEOVIM_FN_BUFFER_IS_VALID, 146 NEOVIM_FN_BUFFER_GET_MARK, 147 NEOVIM_FN_BUFFER_ADD_HIGHLIGHT, 148 NEOVIM_FN_BUFFER_CLEAR_HIGHLIGHT, 149 NEOVIM_FN_TABPAGE_GET_WINDOWS, 150 NEOVIM_FN_TABPAGE_GET_VAR, 151 NEOVIM_FN_TABPAGE_GET_WINDOW, 152 NEOVIM_FN_TABPAGE_IS_VALID, 153 NEOVIM_FN_UI_DETACH, 154 NEOVIM_FN_UI_TRY_RESIZE, 155 NEOVIM_FN_VIM_COMMAND, 156 NEOVIM_FN_VIM_FEEDKEYS, 157 NEOVIM_FN_VIM_INPUT, 158 NEOVIM_FN_VIM_REPLACE_TERMCODES, 159 NEOVIM_FN_VIM_COMMAND_OUTPUT, 160 NEOVIM_FN_VIM_EVAL, 161 NEOVIM_FN_VIM_CALL_FUNCTION, 162 NEOVIM_FN_VIM_STRWIDTH, 163 NEOVIM_FN_VIM_LIST_RUNTIME_PATHS, 164 NEOVIM_FN_VIM_CHANGE_DIRECTORY, 165 NEOVIM_FN_VIM_GET_CURRENT_LINE, 166 NEOVIM_FN_VIM_SET_CURRENT_LINE, 167 NEOVIM_FN_VIM_DEL_CURRENT_LINE, 168 NEOVIM_FN_VIM_GET_VAR, 169 NEOVIM_FN_VIM_GET_VVAR, 170 NEOVIM_FN_VIM_GET_OPTION, 171 NEOVIM_FN_VIM_SET_OPTION, 172 NEOVIM_FN_VIM_OUT_WRITE, 173 NEOVIM_FN_VIM_ERR_WRITE, 174 NEOVIM_FN_VIM_REPORT_ERROR, 175 NEOVIM_FN_VIM_GET_BUFFERS, 176 NEOVIM_FN_VIM_GET_CURRENT_BUFFER, 177 NEOVIM_FN_VIM_SET_CURRENT_BUFFER, 178 NEOVIM_FN_VIM_GET_WINDOWS, 179 NEOVIM_FN_VIM_GET_CURRENT_WINDOW, 180 NEOVIM_FN_VIM_SET_CURRENT_WINDOW, 181 NEOVIM_FN_VIM_GET_TABPAGES, 182 NEOVIM_FN_VIM_GET_CURRENT_TABPAGE, 183 NEOVIM_FN_VIM_SET_CURRENT_TABPAGE, 184 NEOVIM_FN_VIM_SUBSCRIBE, 185 NEOVIM_FN_VIM_UNSUBSCRIBE, 186 NEOVIM_FN_VIM_NAME_TO_COLOR, 187 NEOVIM_FN_VIM_GET_COLOR_MAP, 188 NEOVIM_FN_WINDOW_GET_BUFFER, 189 NEOVIM_FN_WINDOW_GET_CURSOR, 190 NEOVIM_FN_WINDOW_SET_CURSOR, 191 NEOVIM_FN_WINDOW_GET_HEIGHT, 192 NEOVIM_FN_WINDOW_SET_HEIGHT, 193 NEOVIM_FN_WINDOW_GET_WIDTH, 194 NEOVIM_FN_WINDOW_SET_WIDTH, 195 NEOVIM_FN_WINDOW_GET_VAR, 196 NEOVIM_FN_WINDOW_GET_OPTION, 197 NEOVIM_FN_WINDOW_SET_OPTION, 198 NEOVIM_FN_WINDOW_GET_POSITION, 199 NEOVIM_FN_WINDOW_GET_TABPAGE, 200 NEOVIM_FN_WINDOW_IS_VALID, 201 }; 202 203 static bool checkFunctions(const QVariantList& ftable); 204 static FunctionId functionId(const Function& f); 205 206 NeovimApi4(NeovimConnector *); 207 protected slots: 208 void handleResponse(quint32 id, quint64 fun, const QVariant&); 209 void handleResponseError(quint32 id, quint64 fun, const QVariant&); 210 signals: 211 void error(const QString& errmsg, const QVariant& errObj); 212 void neovimNotification(const QByteArray &name, const QVariantList& args); 213 private: 214 NeovimConnector *m_c; 215 public slots: 216 // Integer nvim_buf_line_count(Buffer buffer, ) 217 MsgpackRequest* nvim_buf_line_count(int64_t buffer); 218 // DEPRECATED 219 // String buffer_get_line(Buffer buffer, Integer index, ) 220 MsgpackRequest* buffer_get_line(int64_t buffer, int64_t index); 221 // Boolean nvim_buf_attach(Buffer buffer, Boolean send_buffer, Dictionary opts, ) 222 MsgpackRequest* nvim_buf_attach(int64_t buffer, bool send_buffer, QVariantMap opts); 223 // Boolean nvim_buf_detach(Buffer buffer, ) 224 MsgpackRequest* nvim_buf_detach(int64_t buffer); 225 // DEPRECATED 226 // void buffer_set_line(Buffer buffer, Integer index, String line, ) 227 MsgpackRequest* buffer_set_line(int64_t buffer, int64_t index, QByteArray line); 228 // DEPRECATED 229 // void buffer_del_line(Buffer buffer, Integer index, ) 230 MsgpackRequest* buffer_del_line(int64_t buffer, int64_t index); 231 // DEPRECATED 232 // ArrayOf(String) buffer_get_line_slice(Buffer buffer, Integer start, Integer end, Boolean include_start, Boolean include_end, ) 233 MsgpackRequest* buffer_get_line_slice(int64_t buffer, int64_t start, int64_t end, bool include_start, bool include_end); 234 // ArrayOf(String) nvim_buf_get_lines(Buffer buffer, Integer start, Integer end, Boolean strict_indexing, ) 235 MsgpackRequest* nvim_buf_get_lines(int64_t buffer, int64_t start, int64_t end, bool strict_indexing); 236 // DEPRECATED 237 // void buffer_set_line_slice(Buffer buffer, Integer start, Integer end, Boolean include_start, Boolean include_end, ArrayOf(String) replacement, ) 238 MsgpackRequest* buffer_set_line_slice(int64_t buffer, int64_t start, int64_t end, bool include_start, bool include_end, QList<QByteArray> replacement); 239 // void nvim_buf_set_lines(Buffer buffer, Integer start, Integer end, Boolean strict_indexing, ArrayOf(String) replacement, ) 240 MsgpackRequest* nvim_buf_set_lines(int64_t buffer, int64_t start, int64_t end, bool strict_indexing, QList<QByteArray> replacement); 241 // Object nvim_buf_get_var(Buffer buffer, String name, ) 242 MsgpackRequest* nvim_buf_get_var(int64_t buffer, QByteArray name); 243 // Integer nvim_buf_get_changedtick(Buffer buffer, ) 244 MsgpackRequest* nvim_buf_get_changedtick(int64_t buffer); 245 // ArrayOf(Dictionary) nvim_buf_get_keymap(Buffer buffer, String mode, ) 246 MsgpackRequest* nvim_buf_get_keymap(int64_t buffer, QByteArray mode); 247 // Dictionary nvim_buf_get_commands(Buffer buffer, Dictionary opts, ) 248 MsgpackRequest* nvim_buf_get_commands(int64_t buffer, QVariantMap opts); 249 // void nvim_buf_set_var(Buffer buffer, String name, Object value, ) 250 MsgpackRequest* nvim_buf_set_var(int64_t buffer, QByteArray name, QVariant value); 251 // void nvim_buf_del_var(Buffer buffer, String name, ) 252 MsgpackRequest* nvim_buf_del_var(int64_t buffer, QByteArray name); 253 // DEPRECATED 254 // Object buffer_set_var(Buffer buffer, String name, Object value, ) 255 MsgpackRequest* buffer_set_var(int64_t buffer, QByteArray name, QVariant value); 256 // DEPRECATED 257 // Object buffer_del_var(Buffer buffer, String name, ) 258 MsgpackRequest* buffer_del_var(int64_t buffer, QByteArray name); 259 // Object nvim_buf_get_option(Buffer buffer, String name, ) 260 MsgpackRequest* nvim_buf_get_option(int64_t buffer, QByteArray name); 261 // void nvim_buf_set_option(Buffer buffer, String name, Object value, ) 262 MsgpackRequest* nvim_buf_set_option(int64_t buffer, QByteArray name, QVariant value); 263 // DEPRECATED 264 // Integer nvim_buf_get_number(Buffer buffer, ) 265 MsgpackRequest* nvim_buf_get_number(int64_t buffer); 266 // String nvim_buf_get_name(Buffer buffer, ) 267 MsgpackRequest* nvim_buf_get_name(int64_t buffer); 268 // void nvim_buf_set_name(Buffer buffer, String name, ) 269 MsgpackRequest* nvim_buf_set_name(int64_t buffer, QByteArray name); 270 // Boolean nvim_buf_is_valid(Buffer buffer, ) 271 MsgpackRequest* nvim_buf_is_valid(int64_t buffer); 272 // DEPRECATED 273 // void buffer_insert(Buffer buffer, Integer lnum, ArrayOf(String) lines, ) 274 MsgpackRequest* buffer_insert(int64_t buffer, int64_t lnum, QList<QByteArray> lines); 275 // ArrayOf(Integer, 2) nvim_buf_get_mark(Buffer buffer, String name, ) 276 MsgpackRequest* nvim_buf_get_mark(int64_t buffer, QByteArray name); 277 // Integer nvim_buf_add_highlight(Buffer buffer, Integer src_id, String hl_group, Integer line, Integer col_start, Integer col_end, ) 278 MsgpackRequest* nvim_buf_add_highlight(int64_t buffer, int64_t src_id, QByteArray hl_group, int64_t line, int64_t col_start, int64_t col_end); 279 // void nvim_buf_clear_highlight(Buffer buffer, Integer src_id, Integer line_start, Integer line_end, ) 280 MsgpackRequest* nvim_buf_clear_highlight(int64_t buffer, int64_t src_id, int64_t line_start, int64_t line_end); 281 // ArrayOf(Window) nvim_tabpage_list_wins(Tabpage tabpage, ) 282 MsgpackRequest* nvim_tabpage_list_wins(int64_t tabpage); 283 // Object nvim_tabpage_get_var(Tabpage tabpage, String name, ) 284 MsgpackRequest* nvim_tabpage_get_var(int64_t tabpage, QByteArray name); 285 // void nvim_tabpage_set_var(Tabpage tabpage, String name, Object value, ) 286 MsgpackRequest* nvim_tabpage_set_var(int64_t tabpage, QByteArray name, QVariant value); 287 // void nvim_tabpage_del_var(Tabpage tabpage, String name, ) 288 MsgpackRequest* nvim_tabpage_del_var(int64_t tabpage, QByteArray name); 289 // DEPRECATED 290 // Object tabpage_set_var(Tabpage tabpage, String name, Object value, ) 291 MsgpackRequest* tabpage_set_var(int64_t tabpage, QByteArray name, QVariant value); 292 // DEPRECATED 293 // Object tabpage_del_var(Tabpage tabpage, String name, ) 294 MsgpackRequest* tabpage_del_var(int64_t tabpage, QByteArray name); 295 // Window nvim_tabpage_get_win(Tabpage tabpage, ) 296 MsgpackRequest* nvim_tabpage_get_win(int64_t tabpage); 297 // Integer nvim_tabpage_get_number(Tabpage tabpage, ) 298 MsgpackRequest* nvim_tabpage_get_number(int64_t tabpage); 299 // Boolean nvim_tabpage_is_valid(Tabpage tabpage, ) 300 MsgpackRequest* nvim_tabpage_is_valid(int64_t tabpage); 301 // void nvim_ui_attach(Integer width, Integer height, Dictionary options, ) 302 MsgpackRequest* nvim_ui_attach(int64_t width, int64_t height, QVariantMap options); 303 // DEPRECATED 304 // void ui_attach(Integer width, Integer height, Boolean enable_rgb, ) 305 MsgpackRequest* ui_attach(int64_t width, int64_t height, bool enable_rgb); 306 // void nvim_ui_detach() 307 MsgpackRequest* nvim_ui_detach(); 308 // void nvim_ui_try_resize(Integer width, Integer height, ) 309 MsgpackRequest* nvim_ui_try_resize(int64_t width, int64_t height); 310 // void nvim_ui_set_option(String name, Object value, ) 311 MsgpackRequest* nvim_ui_set_option(QByteArray name, QVariant value); 312 // void nvim_command(String command, ) 313 MsgpackRequest* nvim_command(QByteArray command); 314 // Dictionary nvim_get_hl_by_name(String name, Boolean rgb, ) 315 MsgpackRequest* nvim_get_hl_by_name(QByteArray name, bool rgb); 316 // Dictionary nvim_get_hl_by_id(Integer hl_id, Boolean rgb, ) 317 MsgpackRequest* nvim_get_hl_by_id(int64_t hl_id, bool rgb); 318 // void nvim_feedkeys(String keys, String mode, Boolean escape_csi, ) 319 MsgpackRequest* nvim_feedkeys(QByteArray keys, QByteArray mode, bool escape_csi); 320 // Integer nvim_input(String keys, ) 321 MsgpackRequest* nvim_input(QByteArray keys); 322 // String nvim_replace_termcodes(String str, Boolean from_part, Boolean do_lt, Boolean special, ) 323 MsgpackRequest* nvim_replace_termcodes(QByteArray str, bool from_part, bool do_lt, bool special); 324 // String nvim_command_output(String command, ) 325 MsgpackRequest* nvim_command_output(QByteArray command); 326 // Object nvim_eval(String expr, ) 327 MsgpackRequest* nvim_eval(QByteArray expr); 328 // Object nvim_execute_lua(String code, Array args, ) 329 MsgpackRequest* nvim_execute_lua(QByteArray code, QVariantList args); 330 // Object nvim_call_function(String fn, Array args, ) 331 MsgpackRequest* nvim_call_function(QByteArray fn, QVariantList args); 332 // Object nvim_call_dict_function(Object dict, String fn, Array args, ) 333 MsgpackRequest* nvim_call_dict_function(QVariant dict, QByteArray fn, QVariantList args); 334 // Integer nvim_strwidth(String text, ) 335 MsgpackRequest* nvim_strwidth(QByteArray text); 336 // ArrayOf(String) nvim_list_runtime_paths() 337 MsgpackRequest* nvim_list_runtime_paths(); 338 // void nvim_set_current_dir(String dir, ) 339 MsgpackRequest* nvim_set_current_dir(QByteArray dir); 340 // String nvim_get_current_line() 341 MsgpackRequest* nvim_get_current_line(); 342 // void nvim_set_current_line(String line, ) 343 MsgpackRequest* nvim_set_current_line(QByteArray line); 344 // void nvim_del_current_line() 345 MsgpackRequest* nvim_del_current_line(); 346 // Object nvim_get_var(String name, ) 347 MsgpackRequest* nvim_get_var(QByteArray name); 348 // void nvim_set_var(String name, Object value, ) 349 MsgpackRequest* nvim_set_var(QByteArray name, QVariant value); 350 // void nvim_del_var(String name, ) 351 MsgpackRequest* nvim_del_var(QByteArray name); 352 // DEPRECATED 353 // Object vim_set_var(String name, Object value, ) 354 MsgpackRequest* vim_set_var(QByteArray name, QVariant value); 355 // DEPRECATED 356 // Object vim_del_var(String name, ) 357 MsgpackRequest* vim_del_var(QByteArray name); 358 // Object nvim_get_vvar(String name, ) 359 MsgpackRequest* nvim_get_vvar(QByteArray name); 360 // Object nvim_get_option(String name, ) 361 MsgpackRequest* nvim_get_option(QByteArray name); 362 // void nvim_set_option(String name, Object value, ) 363 MsgpackRequest* nvim_set_option(QByteArray name, QVariant value); 364 // void nvim_out_write(String str, ) 365 MsgpackRequest* nvim_out_write(QByteArray str); 366 // void nvim_err_write(String str, ) 367 MsgpackRequest* nvim_err_write(QByteArray str); 368 // void nvim_err_writeln(String str, ) 369 MsgpackRequest* nvim_err_writeln(QByteArray str); 370 // ArrayOf(Buffer) nvim_list_bufs() 371 MsgpackRequest* nvim_list_bufs(); 372 // Buffer nvim_get_current_buf() 373 MsgpackRequest* nvim_get_current_buf(); 374 // void nvim_set_current_buf(Buffer buffer, ) 375 MsgpackRequest* nvim_set_current_buf(int64_t buffer); 376 // ArrayOf(Window) nvim_list_wins() 377 MsgpackRequest* nvim_list_wins(); 378 // Window nvim_get_current_win() 379 MsgpackRequest* nvim_get_current_win(); 380 // void nvim_set_current_win(Window window, ) 381 MsgpackRequest* nvim_set_current_win(int64_t window); 382 // ArrayOf(Tabpage) nvim_list_tabpages() 383 MsgpackRequest* nvim_list_tabpages(); 384 // Tabpage nvim_get_current_tabpage() 385 MsgpackRequest* nvim_get_current_tabpage(); 386 // void nvim_set_current_tabpage(Tabpage tabpage, ) 387 MsgpackRequest* nvim_set_current_tabpage(int64_t tabpage); 388 // void nvim_subscribe(String event, ) 389 MsgpackRequest* nvim_subscribe(QByteArray event); 390 // void nvim_unsubscribe(String event, ) 391 MsgpackRequest* nvim_unsubscribe(QByteArray event); 392 // Integer nvim_get_color_by_name(String name, ) 393 MsgpackRequest* nvim_get_color_by_name(QByteArray name); 394 // Dictionary nvim_get_color_map() 395 MsgpackRequest* nvim_get_color_map(); 396 // Dictionary nvim_get_mode() 397 MsgpackRequest* nvim_get_mode(); 398 // ArrayOf(Dictionary) nvim_get_keymap(String mode, ) 399 MsgpackRequest* nvim_get_keymap(QByteArray mode); 400 // Dictionary nvim_get_commands(Dictionary opts, ) 401 MsgpackRequest* nvim_get_commands(QVariantMap opts); 402 // Array nvim_get_api_info() 403 MsgpackRequest* nvim_get_api_info(); 404 // void nvim_set_client_info(String name, Dictionary version, String type, Dictionary methods, Dictionary attributes, ) 405 MsgpackRequest* nvim_set_client_info(QByteArray name, QVariantMap version, QByteArray type, QVariantMap methods, QVariantMap attributes); 406 // Dictionary nvim_get_chan_info(Integer chan, ) 407 MsgpackRequest* nvim_get_chan_info(int64_t chan); 408 // Array nvim_list_chans() 409 MsgpackRequest* nvim_list_chans(); 410 // Array nvim_call_atomic(Array calls, ) 411 MsgpackRequest* nvim_call_atomic(QVariantList calls); 412 // Dictionary nvim_parse_expression(String expr, String flags, Boolean highlight, ) 413 MsgpackRequest* nvim_parse_expression(QByteArray expr, QByteArray flags, bool highlight); 414 // Array nvim_list_uis() 415 MsgpackRequest* nvim_list_uis(); 416 // Array nvim_get_proc_children(Integer pid, ) 417 MsgpackRequest* nvim_get_proc_children(int64_t pid); 418 // Object nvim_get_proc(Integer pid, ) 419 MsgpackRequest* nvim_get_proc(int64_t pid); 420 // Buffer nvim_win_get_buf(Window window, ) 421 MsgpackRequest* nvim_win_get_buf(int64_t window); 422 // ArrayOf(Integer, 2) nvim_win_get_cursor(Window window, ) 423 MsgpackRequest* nvim_win_get_cursor(int64_t window); 424 // void nvim_win_set_cursor(Window window, ArrayOf(Integer, 2) pos, ) 425 MsgpackRequest* nvim_win_set_cursor(int64_t window, QPoint pos); 426 // Integer nvim_win_get_height(Window window, ) 427 MsgpackRequest* nvim_win_get_height(int64_t window); 428 // void nvim_win_set_height(Window window, Integer height, ) 429 MsgpackRequest* nvim_win_set_height(int64_t window, int64_t height); 430 // Integer nvim_win_get_width(Window window, ) 431 MsgpackRequest* nvim_win_get_width(int64_t window); 432 // void nvim_win_set_width(Window window, Integer width, ) 433 MsgpackRequest* nvim_win_set_width(int64_t window, int64_t width); 434 // Object nvim_win_get_var(Window window, String name, ) 435 MsgpackRequest* nvim_win_get_var(int64_t window, QByteArray name); 436 // void nvim_win_set_var(Window window, String name, Object value, ) 437 MsgpackRequest* nvim_win_set_var(int64_t window, QByteArray name, QVariant value); 438 // void nvim_win_del_var(Window window, String name, ) 439 MsgpackRequest* nvim_win_del_var(int64_t window, QByteArray name); 440 // DEPRECATED 441 // Object window_set_var(Window window, String name, Object value, ) 442 MsgpackRequest* window_set_var(int64_t window, QByteArray name, QVariant value); 443 // DEPRECATED 444 // Object window_del_var(Window window, String name, ) 445 MsgpackRequest* window_del_var(int64_t window, QByteArray name); 446 // Object nvim_win_get_option(Window window, String name, ) 447 MsgpackRequest* nvim_win_get_option(int64_t window, QByteArray name); 448 // void nvim_win_set_option(Window window, String name, Object value, ) 449 MsgpackRequest* nvim_win_set_option(int64_t window, QByteArray name, QVariant value); 450 // ArrayOf(Integer, 2) nvim_win_get_position(Window window, ) 451 MsgpackRequest* nvim_win_get_position(int64_t window); 452 // Tabpage nvim_win_get_tabpage(Window window, ) 453 MsgpackRequest* nvim_win_get_tabpage(int64_t window); 454 // Integer nvim_win_get_number(Window window, ) 455 MsgpackRequest* nvim_win_get_number(int64_t window); 456 // Boolean nvim_win_is_valid(Window window, ) 457 MsgpackRequest* nvim_win_is_valid(int64_t window); 458 // DEPRECATED 459 // Integer buffer_line_count(Buffer buffer, ) 460 MsgpackRequest* buffer_line_count(int64_t buffer); 461 // DEPRECATED 462 // ArrayOf(String) buffer_get_lines(Buffer buffer, Integer start, Integer end, Boolean strict_indexing, ) 463 MsgpackRequest* buffer_get_lines(int64_t buffer, int64_t start, int64_t end, bool strict_indexing); 464 // DEPRECATED 465 // void buffer_set_lines(Buffer buffer, Integer start, Integer end, Boolean strict_indexing, ArrayOf(String) replacement, ) 466 MsgpackRequest* buffer_set_lines(int64_t buffer, int64_t start, int64_t end, bool strict_indexing, QList<QByteArray> replacement); 467 // DEPRECATED 468 // Object buffer_get_var(Buffer buffer, String name, ) 469 MsgpackRequest* buffer_get_var(int64_t buffer, QByteArray name); 470 // DEPRECATED 471 // Object buffer_get_option(Buffer buffer, String name, ) 472 MsgpackRequest* buffer_get_option(int64_t buffer, QByteArray name); 473 // DEPRECATED 474 // void buffer_set_option(Buffer buffer, String name, Object value, ) 475 MsgpackRequest* buffer_set_option(int64_t buffer, QByteArray name, QVariant value); 476 // DEPRECATED 477 // Integer buffer_get_number(Buffer buffer, ) 478 MsgpackRequest* buffer_get_number(int64_t buffer); 479 // DEPRECATED 480 // String buffer_get_name(Buffer buffer, ) 481 MsgpackRequest* buffer_get_name(int64_t buffer); 482 // DEPRECATED 483 // void buffer_set_name(Buffer buffer, String name, ) 484 MsgpackRequest* buffer_set_name(int64_t buffer, QByteArray name); 485 // DEPRECATED 486 // Boolean buffer_is_valid(Buffer buffer, ) 487 MsgpackRequest* buffer_is_valid(int64_t buffer); 488 // DEPRECATED 489 // ArrayOf(Integer, 2) buffer_get_mark(Buffer buffer, String name, ) 490 MsgpackRequest* buffer_get_mark(int64_t buffer, QByteArray name); 491 // DEPRECATED 492 // Integer buffer_add_highlight(Buffer buffer, Integer src_id, String hl_group, Integer line, Integer col_start, Integer col_end, ) 493 MsgpackRequest* buffer_add_highlight(int64_t buffer, int64_t src_id, QByteArray hl_group, int64_t line, int64_t col_start, int64_t col_end); 494 // DEPRECATED 495 // void buffer_clear_highlight(Buffer buffer, Integer src_id, Integer line_start, Integer line_end, ) 496 MsgpackRequest* buffer_clear_highlight(int64_t buffer, int64_t src_id, int64_t line_start, int64_t line_end); 497 // DEPRECATED 498 // ArrayOf(Window) tabpage_get_windows(Tabpage tabpage, ) 499 MsgpackRequest* tabpage_get_windows(int64_t tabpage); 500 // DEPRECATED 501 // Object tabpage_get_var(Tabpage tabpage, String name, ) 502 MsgpackRequest* tabpage_get_var(int64_t tabpage, QByteArray name); 503 // DEPRECATED 504 // Window tabpage_get_window(Tabpage tabpage, ) 505 MsgpackRequest* tabpage_get_window(int64_t tabpage); 506 // DEPRECATED 507 // Boolean tabpage_is_valid(Tabpage tabpage, ) 508 MsgpackRequest* tabpage_is_valid(int64_t tabpage); 509 // DEPRECATED 510 // void ui_detach() 511 MsgpackRequest* ui_detach(); 512 // DEPRECATED 513 // Object ui_try_resize(Integer width, Integer height, ) 514 MsgpackRequest* ui_try_resize(int64_t width, int64_t height); 515 // DEPRECATED 516 // void vim_command(String command, ) 517 MsgpackRequest* vim_command(QByteArray command); 518 // DEPRECATED 519 // void vim_feedkeys(String keys, String mode, Boolean escape_csi, ) 520 MsgpackRequest* vim_feedkeys(QByteArray keys, QByteArray mode, bool escape_csi); 521 // DEPRECATED 522 // Integer vim_input(String keys, ) 523 MsgpackRequest* vim_input(QByteArray keys); 524 // DEPRECATED 525 // String vim_replace_termcodes(String str, Boolean from_part, Boolean do_lt, Boolean special, ) 526 MsgpackRequest* vim_replace_termcodes(QByteArray str, bool from_part, bool do_lt, bool special); 527 // DEPRECATED 528 // String vim_command_output(String command, ) 529 MsgpackRequest* vim_command_output(QByteArray command); 530 // DEPRECATED 531 // Object vim_eval(String expr, ) 532 MsgpackRequest* vim_eval(QByteArray expr); 533 // DEPRECATED 534 // Object vim_call_function(String fn, Array args, ) 535 MsgpackRequest* vim_call_function(QByteArray fn, QVariantList args); 536 // DEPRECATED 537 // Integer vim_strwidth(String text, ) 538 MsgpackRequest* vim_strwidth(QByteArray text); 539 // DEPRECATED 540 // ArrayOf(String) vim_list_runtime_paths() 541 MsgpackRequest* vim_list_runtime_paths(); 542 // DEPRECATED 543 // void vim_change_directory(String dir, ) 544 MsgpackRequest* vim_change_directory(QByteArray dir); 545 // DEPRECATED 546 // String vim_get_current_line() 547 MsgpackRequest* vim_get_current_line(); 548 // DEPRECATED 549 // void vim_set_current_line(String line, ) 550 MsgpackRequest* vim_set_current_line(QByteArray line); 551 // DEPRECATED 552 // void vim_del_current_line() 553 MsgpackRequest* vim_del_current_line(); 554 // DEPRECATED 555 // Object vim_get_var(String name, ) 556 MsgpackRequest* vim_get_var(QByteArray name); 557 // DEPRECATED 558 // Object vim_get_vvar(String name, ) 559 MsgpackRequest* vim_get_vvar(QByteArray name); 560 // DEPRECATED 561 // Object vim_get_option(String name, ) 562 MsgpackRequest* vim_get_option(QByteArray name); 563 // DEPRECATED 564 // void vim_set_option(String name, Object value, ) 565 MsgpackRequest* vim_set_option(QByteArray name, QVariant value); 566 // DEPRECATED 567 // void vim_out_write(String str, ) 568 MsgpackRequest* vim_out_write(QByteArray str); 569 // DEPRECATED 570 // void vim_err_write(String str, ) 571 MsgpackRequest* vim_err_write(QByteArray str); 572 // DEPRECATED 573 // void vim_report_error(String str, ) 574 MsgpackRequest* vim_report_error(QByteArray str); 575 // DEPRECATED 576 // ArrayOf(Buffer) vim_get_buffers() 577 MsgpackRequest* vim_get_buffers(); 578 // DEPRECATED 579 // Buffer vim_get_current_buffer() 580 MsgpackRequest* vim_get_current_buffer(); 581 // DEPRECATED 582 // void vim_set_current_buffer(Buffer buffer, ) 583 MsgpackRequest* vim_set_current_buffer(int64_t buffer); 584 // DEPRECATED 585 // ArrayOf(Window) vim_get_windows() 586 MsgpackRequest* vim_get_windows(); 587 // DEPRECATED 588 // Window vim_get_current_window() 589 MsgpackRequest* vim_get_current_window(); 590 // DEPRECATED 591 // void vim_set_current_window(Window window, ) 592 MsgpackRequest* vim_set_current_window(int64_t window); 593 // DEPRECATED 594 // ArrayOf(Tabpage) vim_get_tabpages() 595 MsgpackRequest* vim_get_tabpages(); 596 // DEPRECATED 597 // Tabpage vim_get_current_tabpage() 598 MsgpackRequest* vim_get_current_tabpage(); 599 // DEPRECATED 600 // void vim_set_current_tabpage(Tabpage tabpage, ) 601 MsgpackRequest* vim_set_current_tabpage(int64_t tabpage); 602 // DEPRECATED 603 // void vim_subscribe(String event, ) 604 MsgpackRequest* vim_subscribe(QByteArray event); 605 // DEPRECATED 606 // void vim_unsubscribe(String event, ) 607 MsgpackRequest* vim_unsubscribe(QByteArray event); 608 // DEPRECATED 609 // Integer vim_name_to_color(String name, ) 610 MsgpackRequest* vim_name_to_color(QByteArray name); 611 // DEPRECATED 612 // Dictionary vim_get_color_map() 613 MsgpackRequest* vim_get_color_map(); 614 // DEPRECATED 615 // Buffer window_get_buffer(Window window, ) 616 MsgpackRequest* window_get_buffer(int64_t window); 617 // DEPRECATED 618 // ArrayOf(Integer, 2) window_get_cursor(Window window, ) 619 MsgpackRequest* window_get_cursor(int64_t window); 620 // DEPRECATED 621 // void window_set_cursor(Window window, ArrayOf(Integer, 2) pos, ) 622 MsgpackRequest* window_set_cursor(int64_t window, QPoint pos); 623 // DEPRECATED 624 // Integer window_get_height(Window window, ) 625 MsgpackRequest* window_get_height(int64_t window); 626 // DEPRECATED 627 // void window_set_height(Window window, Integer height, ) 628 MsgpackRequest* window_set_height(int64_t window, int64_t height); 629 // DEPRECATED 630 // Integer window_get_width(Window window, ) 631 MsgpackRequest* window_get_width(int64_t window); 632 // DEPRECATED 633 // void window_set_width(Window window, Integer width, ) 634 MsgpackRequest* window_set_width(int64_t window, int64_t width); 635 // DEPRECATED 636 // Object window_get_var(Window window, String name, ) 637 MsgpackRequest* window_get_var(int64_t window, QByteArray name); 638 // DEPRECATED 639 // Object window_get_option(Window window, String name, ) 640 MsgpackRequest* window_get_option(int64_t window, QByteArray name); 641 // DEPRECATED 642 // void window_set_option(Window window, String name, Object value, ) 643 MsgpackRequest* window_set_option(int64_t window, QByteArray name, QVariant value); 644 // DEPRECATED 645 // ArrayOf(Integer, 2) window_get_position(Window window, ) 646 MsgpackRequest* window_get_position(int64_t window); 647 // DEPRECATED 648 // Tabpage window_get_tabpage(Window window, ) 649 MsgpackRequest* window_get_tabpage(int64_t window); 650 // DEPRECATED 651 // Boolean window_is_valid(Window window, ) 652 MsgpackRequest* window_is_valid(int64_t window); 653 654 signals: 655 void on_nvim_buf_line_count(int64_t); 656 void err_nvim_buf_line_count(const QString&, const QVariant&); 657 658 void on_buffer_get_line(QByteArray); 659 void err_buffer_get_line(const QString&, const QVariant&); 660 661 void on_nvim_buf_attach(bool); 662 void err_nvim_buf_attach(const QString&, const QVariant&); 663 664 void on_nvim_buf_detach(bool); 665 void err_nvim_buf_detach(const QString&, const QVariant&); 666 667 void on_buffer_set_line(void); 668 void err_buffer_set_line(const QString&, const QVariant&); 669 670 void on_buffer_del_line(void); 671 void err_buffer_del_line(const QString&, const QVariant&); 672 673 void on_buffer_get_line_slice(QList<QByteArray>); 674 void err_buffer_get_line_slice(const QString&, const QVariant&); 675 676 void on_nvim_buf_get_lines(QList<QByteArray>); 677 void err_nvim_buf_get_lines(const QString&, const QVariant&); 678 679 void on_buffer_set_line_slice(void); 680 void err_buffer_set_line_slice(const QString&, const QVariant&); 681 682 void on_nvim_buf_set_lines(void); 683 void err_nvim_buf_set_lines(const QString&, const QVariant&); 684 685 void on_nvim_buf_get_var(QVariant); 686 void err_nvim_buf_get_var(const QString&, const QVariant&); 687 688 void on_nvim_buf_get_changedtick(int64_t); 689 void err_nvim_buf_get_changedtick(const QString&, const QVariant&); 690 691 void on_nvim_buf_get_keymap(QList<QVariantMap>); 692 void err_nvim_buf_get_keymap(const QString&, const QVariant&); 693 694 void on_nvim_buf_get_commands(QVariantMap); 695 void err_nvim_buf_get_commands(const QString&, const QVariant&); 696 697 void on_nvim_buf_set_var(void); 698 void err_nvim_buf_set_var(const QString&, const QVariant&); 699 700 void on_nvim_buf_del_var(void); 701 void err_nvim_buf_del_var(const QString&, const QVariant&); 702 703 void on_buffer_set_var(QVariant); 704 void err_buffer_set_var(const QString&, const QVariant&); 705 706 void on_buffer_del_var(QVariant); 707 void err_buffer_del_var(const QString&, const QVariant&); 708 709 void on_nvim_buf_get_option(QVariant); 710 void err_nvim_buf_get_option(const QString&, const QVariant&); 711 712 void on_nvim_buf_set_option(void); 713 void err_nvim_buf_set_option(const QString&, const QVariant&); 714 715 void on_nvim_buf_get_number(int64_t); 716 void err_nvim_buf_get_number(const QString&, const QVariant&); 717 718 void on_nvim_buf_get_name(QByteArray); 719 void err_nvim_buf_get_name(const QString&, const QVariant&); 720 721 void on_nvim_buf_set_name(void); 722 void err_nvim_buf_set_name(const QString&, const QVariant&); 723 724 void on_nvim_buf_is_valid(bool); 725 void err_nvim_buf_is_valid(const QString&, const QVariant&); 726 727 void on_buffer_insert(void); 728 void err_buffer_insert(const QString&, const QVariant&); 729 730 void on_nvim_buf_get_mark(QPoint); 731 void err_nvim_buf_get_mark(const QString&, const QVariant&); 732 733 void on_nvim_buf_add_highlight(int64_t); 734 void err_nvim_buf_add_highlight(const QString&, const QVariant&); 735 736 void on_nvim_buf_clear_highlight(void); 737 void err_nvim_buf_clear_highlight(const QString&, const QVariant&); 738 739 void on_nvim_tabpage_list_wins(QList<int64_t>); 740 void err_nvim_tabpage_list_wins(const QString&, const QVariant&); 741 742 void on_nvim_tabpage_get_var(QVariant); 743 void err_nvim_tabpage_get_var(const QString&, const QVariant&); 744 745 void on_nvim_tabpage_set_var(void); 746 void err_nvim_tabpage_set_var(const QString&, const QVariant&); 747 748 void on_nvim_tabpage_del_var(void); 749 void err_nvim_tabpage_del_var(const QString&, const QVariant&); 750 751 void on_tabpage_set_var(QVariant); 752 void err_tabpage_set_var(const QString&, const QVariant&); 753 754 void on_tabpage_del_var(QVariant); 755 void err_tabpage_del_var(const QString&, const QVariant&); 756 757 void on_nvim_tabpage_get_win(int64_t); 758 void err_nvim_tabpage_get_win(const QString&, const QVariant&); 759 760 void on_nvim_tabpage_get_number(int64_t); 761 void err_nvim_tabpage_get_number(const QString&, const QVariant&); 762 763 void on_nvim_tabpage_is_valid(bool); 764 void err_nvim_tabpage_is_valid(const QString&, const QVariant&); 765 766 void on_nvim_ui_attach(void); 767 void err_nvim_ui_attach(const QString&, const QVariant&); 768 769 void on_ui_attach(void); 770 void err_ui_attach(const QString&, const QVariant&); 771 772 void on_nvim_ui_detach(void); 773 void err_nvim_ui_detach(const QString&, const QVariant&); 774 775 void on_nvim_ui_try_resize(void); 776 void err_nvim_ui_try_resize(const QString&, const QVariant&); 777 778 void on_nvim_ui_set_option(void); 779 void err_nvim_ui_set_option(const QString&, const QVariant&); 780 781 void on_nvim_command(void); 782 void err_nvim_command(const QString&, const QVariant&); 783 784 void on_nvim_get_hl_by_name(QVariantMap); 785 void err_nvim_get_hl_by_name(const QString&, const QVariant&); 786 787 void on_nvim_get_hl_by_id(QVariantMap); 788 void err_nvim_get_hl_by_id(const QString&, const QVariant&); 789 790 void on_nvim_feedkeys(void); 791 void err_nvim_feedkeys(const QString&, const QVariant&); 792 793 void on_nvim_input(int64_t); 794 void err_nvim_input(const QString&, const QVariant&); 795 796 void on_nvim_replace_termcodes(QByteArray); 797 void err_nvim_replace_termcodes(const QString&, const QVariant&); 798 799 void on_nvim_command_output(QByteArray); 800 void err_nvim_command_output(const QString&, const QVariant&); 801 802 void on_nvim_eval(QVariant); 803 void err_nvim_eval(const QString&, const QVariant&); 804 805 void on_nvim_execute_lua(QVariant); 806 void err_nvim_execute_lua(const QString&, const QVariant&); 807 808 void on_nvim_call_function(QVariant); 809 void err_nvim_call_function(const QString&, const QVariant&); 810 811 void on_nvim_call_dict_function(QVariant); 812 void err_nvim_call_dict_function(const QString&, const QVariant&); 813 814 void on_nvim_strwidth(int64_t); 815 void err_nvim_strwidth(const QString&, const QVariant&); 816 817 void on_nvim_list_runtime_paths(QList<QByteArray>); 818 void err_nvim_list_runtime_paths(const QString&, const QVariant&); 819 820 void on_nvim_set_current_dir(void); 821 void err_nvim_set_current_dir(const QString&, const QVariant&); 822 823 void on_nvim_get_current_line(QByteArray); 824 void err_nvim_get_current_line(const QString&, const QVariant&); 825 826 void on_nvim_set_current_line(void); 827 void err_nvim_set_current_line(const QString&, const QVariant&); 828 829 void on_nvim_del_current_line(void); 830 void err_nvim_del_current_line(const QString&, const QVariant&); 831 832 void on_nvim_get_var(QVariant); 833 void err_nvim_get_var(const QString&, const QVariant&); 834 835 void on_nvim_set_var(void); 836 void err_nvim_set_var(const QString&, const QVariant&); 837 838 void on_nvim_del_var(void); 839 void err_nvim_del_var(const QString&, const QVariant&); 840 841 void on_vim_set_var(QVariant); 842 void err_vim_set_var(const QString&, const QVariant&); 843 844 void on_vim_del_var(QVariant); 845 void err_vim_del_var(const QString&, const QVariant&); 846 847 void on_nvim_get_vvar(QVariant); 848 void err_nvim_get_vvar(const QString&, const QVariant&); 849 850 void on_nvim_get_option(QVariant); 851 void err_nvim_get_option(const QString&, const QVariant&); 852 853 void on_nvim_set_option(void); 854 void err_nvim_set_option(const QString&, const QVariant&); 855 856 void on_nvim_out_write(void); 857 void err_nvim_out_write(const QString&, const QVariant&); 858 859 void on_nvim_err_write(void); 860 void err_nvim_err_write(const QString&, const QVariant&); 861 862 void on_nvim_err_writeln(void); 863 void err_nvim_err_writeln(const QString&, const QVariant&); 864 865 void on_nvim_list_bufs(QList<int64_t>); 866 void err_nvim_list_bufs(const QString&, const QVariant&); 867 868 void on_nvim_get_current_buf(int64_t); 869 void err_nvim_get_current_buf(const QString&, const QVariant&); 870 871 void on_nvim_set_current_buf(void); 872 void err_nvim_set_current_buf(const QString&, const QVariant&); 873 874 void on_nvim_list_wins(QList<int64_t>); 875 void err_nvim_list_wins(const QString&, const QVariant&); 876 877 void on_nvim_get_current_win(int64_t); 878 void err_nvim_get_current_win(const QString&, const QVariant&); 879 880 void on_nvim_set_current_win(void); 881 void err_nvim_set_current_win(const QString&, const QVariant&); 882 883 void on_nvim_list_tabpages(QList<int64_t>); 884 void err_nvim_list_tabpages(const QString&, const QVariant&); 885 886 void on_nvim_get_current_tabpage(int64_t); 887 void err_nvim_get_current_tabpage(const QString&, const QVariant&); 888 889 void on_nvim_set_current_tabpage(void); 890 void err_nvim_set_current_tabpage(const QString&, const QVariant&); 891 892 void on_nvim_subscribe(void); 893 void err_nvim_subscribe(const QString&, const QVariant&); 894 895 void on_nvim_unsubscribe(void); 896 void err_nvim_unsubscribe(const QString&, const QVariant&); 897 898 void on_nvim_get_color_by_name(int64_t); 899 void err_nvim_get_color_by_name(const QString&, const QVariant&); 900 901 void on_nvim_get_color_map(QVariantMap); 902 void err_nvim_get_color_map(const QString&, const QVariant&); 903 904 void on_nvim_get_mode(QVariantMap); 905 void err_nvim_get_mode(const QString&, const QVariant&); 906 907 void on_nvim_get_keymap(QList<QVariantMap>); 908 void err_nvim_get_keymap(const QString&, const QVariant&); 909 910 void on_nvim_get_commands(QVariantMap); 911 void err_nvim_get_commands(const QString&, const QVariant&); 912 913 void on_nvim_get_api_info(QVariantList); 914 void err_nvim_get_api_info(const QString&, const QVariant&); 915 916 void on_nvim_set_client_info(void); 917 void err_nvim_set_client_info(const QString&, const QVariant&); 918 919 void on_nvim_get_chan_info(QVariantMap); 920 void err_nvim_get_chan_info(const QString&, const QVariant&); 921 922 void on_nvim_list_chans(QVariantList); 923 void err_nvim_list_chans(const QString&, const QVariant&); 924 925 void on_nvim_call_atomic(QVariantList); 926 void err_nvim_call_atomic(const QString&, const QVariant&); 927 928 void on_nvim_parse_expression(QVariantMap); 929 void err_nvim_parse_expression(const QString&, const QVariant&); 930 931 void on_nvim_list_uis(QVariantList); 932 void err_nvim_list_uis(const QString&, const QVariant&); 933 934 void on_nvim_get_proc_children(QVariantList); 935 void err_nvim_get_proc_children(const QString&, const QVariant&); 936 937 void on_nvim_get_proc(QVariant); 938 void err_nvim_get_proc(const QString&, const QVariant&); 939 940 void on_nvim_win_get_buf(int64_t); 941 void err_nvim_win_get_buf(const QString&, const QVariant&); 942 943 void on_nvim_win_get_cursor(QPoint); 944 void err_nvim_win_get_cursor(const QString&, const QVariant&); 945 946 void on_nvim_win_set_cursor(void); 947 void err_nvim_win_set_cursor(const QString&, const QVariant&); 948 949 void on_nvim_win_get_height(int64_t); 950 void err_nvim_win_get_height(const QString&, const QVariant&); 951 952 void on_nvim_win_set_height(void); 953 void err_nvim_win_set_height(const QString&, const QVariant&); 954 955 void on_nvim_win_get_width(int64_t); 956 void err_nvim_win_get_width(const QString&, const QVariant&); 957 958 void on_nvim_win_set_width(void); 959 void err_nvim_win_set_width(const QString&, const QVariant&); 960 961 void on_nvim_win_get_var(QVariant); 962 void err_nvim_win_get_var(const QString&, const QVariant&); 963 964 void on_nvim_win_set_var(void); 965 void err_nvim_win_set_var(const QString&, const QVariant&); 966 967 void on_nvim_win_del_var(void); 968 void err_nvim_win_del_var(const QString&, const QVariant&); 969 970 void on_window_set_var(QVariant); 971 void err_window_set_var(const QString&, const QVariant&); 972 973 void on_window_del_var(QVariant); 974 void err_window_del_var(const QString&, const QVariant&); 975 976 void on_nvim_win_get_option(QVariant); 977 void err_nvim_win_get_option(const QString&, const QVariant&); 978 979 void on_nvim_win_set_option(void); 980 void err_nvim_win_set_option(const QString&, const QVariant&); 981 982 void on_nvim_win_get_position(QPoint); 983 void err_nvim_win_get_position(const QString&, const QVariant&); 984 985 void on_nvim_win_get_tabpage(int64_t); 986 void err_nvim_win_get_tabpage(const QString&, const QVariant&); 987 988 void on_nvim_win_get_number(int64_t); 989 void err_nvim_win_get_number(const QString&, const QVariant&); 990 991 void on_nvim_win_is_valid(bool); 992 void err_nvim_win_is_valid(const QString&, const QVariant&); 993 994 void on_buffer_line_count(int64_t); 995 void err_buffer_line_count(const QString&, const QVariant&); 996 997 void on_buffer_get_lines(QList<QByteArray>); 998 void err_buffer_get_lines(const QString&, const QVariant&); 999 1000 void on_buffer_set_lines(void); 1001 void err_buffer_set_lines(const QString&, const QVariant&); 1002 1003 void on_buffer_get_var(QVariant); 1004 void err_buffer_get_var(const QString&, const QVariant&); 1005 1006 void on_buffer_get_option(QVariant); 1007 void err_buffer_get_option(const QString&, const QVariant&); 1008 1009 void on_buffer_set_option(void); 1010 void err_buffer_set_option(const QString&, const QVariant&); 1011 1012 void on_buffer_get_number(int64_t); 1013 void err_buffer_get_number(const QString&, const QVariant&); 1014 1015 void on_buffer_get_name(QByteArray); 1016 void err_buffer_get_name(const QString&, const QVariant&); 1017 1018 void on_buffer_set_name(void); 1019 void err_buffer_set_name(const QString&, const QVariant&); 1020 1021 void on_buffer_is_valid(bool); 1022 void err_buffer_is_valid(const QString&, const QVariant&); 1023 1024 void on_buffer_get_mark(QPoint); 1025 void err_buffer_get_mark(const QString&, const QVariant&); 1026 1027 void on_buffer_add_highlight(int64_t); 1028 void err_buffer_add_highlight(const QString&, const QVariant&); 1029 1030 void on_buffer_clear_highlight(void); 1031 void err_buffer_clear_highlight(const QString&, const QVariant&); 1032 1033 void on_tabpage_get_windows(QList<int64_t>); 1034 void err_tabpage_get_windows(const QString&, const QVariant&); 1035 1036 void on_tabpage_get_var(QVariant); 1037 void err_tabpage_get_var(const QString&, const QVariant&); 1038 1039 void on_tabpage_get_window(int64_t); 1040 void err_tabpage_get_window(const QString&, const QVariant&); 1041 1042 void on_tabpage_is_valid(bool); 1043 void err_tabpage_is_valid(const QString&, const QVariant&); 1044 1045 void on_ui_detach(void); 1046 void err_ui_detach(const QString&, const QVariant&); 1047 1048 void on_ui_try_resize(QVariant); 1049 void err_ui_try_resize(const QString&, const QVariant&); 1050 1051 void on_vim_command(void); 1052 void err_vim_command(const QString&, const QVariant&); 1053 1054 void on_vim_feedkeys(void); 1055 void err_vim_feedkeys(const QString&, const QVariant&); 1056 1057 void on_vim_input(int64_t); 1058 void err_vim_input(const QString&, const QVariant&); 1059 1060 void on_vim_replace_termcodes(QByteArray); 1061 void err_vim_replace_termcodes(const QString&, const QVariant&); 1062 1063 void on_vim_command_output(QByteArray); 1064 void err_vim_command_output(const QString&, const QVariant&); 1065 1066 void on_vim_eval(QVariant); 1067 void err_vim_eval(const QString&, const QVariant&); 1068 1069 void on_vim_call_function(QVariant); 1070 void err_vim_call_function(const QString&, const QVariant&); 1071 1072 void on_vim_strwidth(int64_t); 1073 void err_vim_strwidth(const QString&, const QVariant&); 1074 1075 void on_vim_list_runtime_paths(QList<QByteArray>); 1076 void err_vim_list_runtime_paths(const QString&, const QVariant&); 1077 1078 void on_vim_change_directory(void); 1079 void err_vim_change_directory(const QString&, const QVariant&); 1080 1081 void on_vim_get_current_line(QByteArray); 1082 void err_vim_get_current_line(const QString&, const QVariant&); 1083 1084 void on_vim_set_current_line(void); 1085 void err_vim_set_current_line(const QString&, const QVariant&); 1086 1087 void on_vim_del_current_line(void); 1088 void err_vim_del_current_line(const QString&, const QVariant&); 1089 1090 void on_vim_get_var(QVariant); 1091 void err_vim_get_var(const QString&, const QVariant&); 1092 1093 void on_vim_get_vvar(QVariant); 1094 void err_vim_get_vvar(const QString&, const QVariant&); 1095 1096 void on_vim_get_option(QVariant); 1097 void err_vim_get_option(const QString&, const QVariant&); 1098 1099 void on_vim_set_option(void); 1100 void err_vim_set_option(const QString&, const QVariant&); 1101 1102 void on_vim_out_write(void); 1103 void err_vim_out_write(const QString&, const QVariant&); 1104 1105 void on_vim_err_write(void); 1106 void err_vim_err_write(const QString&, const QVariant&); 1107 1108 void on_vim_report_error(void); 1109 void err_vim_report_error(const QString&, const QVariant&); 1110 1111 void on_vim_get_buffers(QList<int64_t>); 1112 void err_vim_get_buffers(const QString&, const QVariant&); 1113 1114 void on_vim_get_current_buffer(int64_t); 1115 void err_vim_get_current_buffer(const QString&, const QVariant&); 1116 1117 void on_vim_set_current_buffer(void); 1118 void err_vim_set_current_buffer(const QString&, const QVariant&); 1119 1120 void on_vim_get_windows(QList<int64_t>); 1121 void err_vim_get_windows(const QString&, const QVariant&); 1122 1123 void on_vim_get_current_window(int64_t); 1124 void err_vim_get_current_window(const QString&, const QVariant&); 1125 1126 void on_vim_set_current_window(void); 1127 void err_vim_set_current_window(const QString&, const QVariant&); 1128 1129 void on_vim_get_tabpages(QList<int64_t>); 1130 void err_vim_get_tabpages(const QString&, const QVariant&); 1131 1132 void on_vim_get_current_tabpage(int64_t); 1133 void err_vim_get_current_tabpage(const QString&, const QVariant&); 1134 1135 void on_vim_set_current_tabpage(void); 1136 void err_vim_set_current_tabpage(const QString&, const QVariant&); 1137 1138 void on_vim_subscribe(void); 1139 void err_vim_subscribe(const QString&, const QVariant&); 1140 1141 void on_vim_unsubscribe(void); 1142 void err_vim_unsubscribe(const QString&, const QVariant&); 1143 1144 void on_vim_name_to_color(int64_t); 1145 void err_vim_name_to_color(const QString&, const QVariant&); 1146 1147 void on_vim_get_color_map(QVariantMap); 1148 void err_vim_get_color_map(const QString&, const QVariant&); 1149 1150 void on_window_get_buffer(int64_t); 1151 void err_window_get_buffer(const QString&, const QVariant&); 1152 1153 void on_window_get_cursor(QPoint); 1154 void err_window_get_cursor(const QString&, const QVariant&); 1155 1156 void on_window_set_cursor(void); 1157 void err_window_set_cursor(const QString&, const QVariant&); 1158 1159 void on_window_get_height(int64_t); 1160 void err_window_get_height(const QString&, const QVariant&); 1161 1162 void on_window_set_height(void); 1163 void err_window_set_height(const QString&, const QVariant&); 1164 1165 void on_window_get_width(int64_t); 1166 void err_window_get_width(const QString&, const QVariant&); 1167 1168 void on_window_set_width(void); 1169 void err_window_set_width(const QString&, const QVariant&); 1170 1171 void on_window_get_var(QVariant); 1172 void err_window_get_var(const QString&, const QVariant&); 1173 1174 void on_window_get_option(QVariant); 1175 void err_window_get_option(const QString&, const QVariant&); 1176 1177 void on_window_set_option(void); 1178 void err_window_set_option(const QString&, const QVariant&); 1179 1180 void on_window_get_position(QPoint); 1181 void err_window_get_position(const QString&, const QVariant&); 1182 1183 void on_window_get_tabpage(int64_t); 1184 void err_window_get_tabpage(const QString&, const QVariant&); 1185 1186 void on_window_is_valid(bool); 1187 void err_window_is_valid(const QString&, const QVariant&); 1188 1189 }; 1190 } // namespace 1191 #endif