src/feature/editline/cli-el-backend.h (view raw)
1/* Copyright (c) 2013-2014 Jeffrey Pfau
2 *
3 * This Source Code Form is subject to the terms of the Mozilla Public
4 * License, v. 2.0. If a copy of the MPL was not distributed with this
5 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
6#ifndef CLI_EL_BACKEND_H
7#define CLI_EL_BACKEND_H
8
9#include <mgba-util/common.h>
10
11CXX_GUARD_START
12
13#include <mgba/internal/debugger/cli-debugger.h>
14
15#include <histedit.h>
16
17struct CLIDebuggerEditLineBackend {
18 struct CLIDebuggerBackend d;
19
20 EditLine* elstate;
21 History* histate;
22};
23
24struct CLIDebuggerBackend* CLIDebuggerEditLineBackendCreate(void);
25
26CXX_GUARD_END
27
28#endif