File: usrkeymap.h

package info (click to toggle)
fcitx5-unikey 5.1.7-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 916 kB
  • sloc: cpp: 10,885; makefile: 4; sh: 1
file content (19 lines) | stat: -rw-r--r-- 506 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
/*
 * SPDX-FileCopyrightText: 2000-2005 Pham Kim Long <unikey@gmail.com>
 *
 * SPDX-License-Identifier: LGPL-2.0-or-later
 */

#ifndef __UNIKEY_USER_KEY_MAP_H
#define __UNIKEY_USER_KEY_MAP_H

#include "inputproc.h"
#include <cstdio>
#include <vector>

DllInterface void UkLoadKeyMap(int fd, int keyMap[256]);
DllInterface std::vector<UkKeyMapping> UkLoadKeyOrderMap(int fd);
DllInterface void UkStoreKeyOrderMap(FILE *f,
                                     const std::vector<UkKeyMapping> &pMap);

#endif