source: trunk/j/src/org/armedbear/j/api.bsh @ 2

Last change on this file since 2 was 2, checked in by piso, 18 years ago

Initial checkin.

File size: 1.3 KB
Line 
1/*
2 * api.bsh
3 *
4 * Copyright (C) 2001 Peter Graves
5 * $Id: api.bsh,v 1.1.1.1 2002-09-24 16:09:14 piso Exp $
6 *
7 * This program is free software; you can redistribute it and/or
8 * modify it under the terms of the GNU General Public License
9 * as published by the Free Software Foundation; either version 2
10 * of the License, or (at your option) any later version.
11 *
12 * This program is distributed in the hope that it will be useful,
13 * but WITHOUT ANY WARRANTY; without even the implied warranty of
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
15 * GNU General Public License for more details.
16 *
17 * You should have received a copy of the GNU General Public License
18 * along with this program; if not, write to the Free Software
19 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
20 */
21
22import org.armedbear.j.API;
23
24void globalMapKey(String keyText, String command)
25{
26    API.globalMapKey(keyText, command);
27}
28
29void globalUnmapKey(String keyText)
30{
31    API.globalUnmapKey(keyText);
32}
33
34void mapKeyForMode(String keyText, String command, String modeName)
35{
36    API.mapKeyForMode(keyText, command, modeName);
37}
38
39void unmapKeyForMode(String keyText, String modeName)
40{
41    API.unmapKeyForMode(keyText, modeName);
42}
43
44void setGlobalProperty(String key, String value)
45{
46    API.setGlobalProperty(key, value);
47}
Note: See TracBrowser for help on using the repository browser.