Track current progress.
This commit is contained in:
10
misc/kf/defs.h
Normal file
10
misc/kf/defs.h
Normal file
@@ -0,0 +1,10 @@
|
|||||||
|
#ifndef __KF_DEFS_H__
|
||||||
|
#define __KF_DEFS_H__
|
||||||
|
|
||||||
|
#ifdef __linux__
|
||||||
|
#include "linux-defs.h"
|
||||||
|
#endif
|
||||||
|
|
||||||
|
constexpr uint8 MAX_WORD_LEN = 12;
|
||||||
|
|
||||||
|
#endif // __KF_DEFS_H__
|
||||||
14
misc/kf/dictionary.h
Normal file
14
misc/kf/dictionary.h
Normal file
@@ -0,0 +1,14 @@
|
|||||||
|
#ifndef __KF_DICTIONARY_H__
|
||||||
|
#define __KF_DICTIONARY_H__
|
||||||
|
|
||||||
|
|
||||||
|
#include "defs.h"
|
||||||
|
|
||||||
|
struct entry {
|
||||||
|
char word[MAX_WORD_LEN];
|
||||||
|
void (*fun)(void);
|
||||||
|
struct entry *next;
|
||||||
|
};
|
||||||
|
|
||||||
|
|
||||||
|
#endif // __KF_DICTIONARY_H__
|
||||||
1
misc/kf/linux-defs.h
Normal file
1
misc/kf/linux-defs.h
Normal file
@@ -0,0 +1 @@
|
|||||||
|
#include <stddef.h>
|
||||||
6
misc/kf/system.h
Normal file
6
misc/kf/system.h
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
#ifndef __KF_SYSTEM_H__
|
||||||
|
#define __KF_SYSTEM_H__
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
#endif // __KF_SYSTEM_H__
|
||||||
Reference in New Issue
Block a user