OpenCores
URL https://opencores.org/ocsvn/riscv_vhdl/riscv_vhdl/trunk

Subversion Repositories riscv_vhdl

[/] [riscv_vhdl/] [trunk/] [debugger/] [src/] [common/] [coreservices/] [ikeyboard.h] - Blame information for rev 5

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 5 sergeykhbr
/**
2
 * @file
3
 * @copyright  Copyright 2017 GNSS Sensor Ltd. All right reserved.
4
 * @author     Sergey Khabarov - sergeykhbr@gmail.com
5
 * @brief      Keyboard interface declaration.
6
 */
7
 
8
#ifndef __DEBUGGER_COMMON_CORESERVICES_IKEYBOARD_H__
9
#define __DEBUGGER_COMMON_CORESERVICES_IKEYBOARD_H__
10
 
11
#include <iface.h>
12
#include <inttypes.h>
13
 
14
namespace debugger {
15
 
16
static const char *const IFACE_KEYBOARD = "IKeyboard";
17
 
18
class IKeyboard : public IFace {
19
 public:
20
    IKeyboard() : IFace(IFACE_KEYBOARD) {}
21
 
22
    virtual void keyPress(const char *keyname) = 0;
23
    virtual void keyRelease(const char *keyname) = 0;
24
};
25
 
26
}  // namespace debugger
27
 
28
#endif  // __DEBUGGER_COMMON_CORESERVICES_IKEYBOARD_H__

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.