Polished addkanjibyjouyou.py a bit. Added extra labels.
[jben2_gui.git] / c / kpengine / memowrite.h
blobf69fd85c4b7cf619b2d1f7a8178de0763970f53a
1 /* -*- mode: C; c-file-style: "bsd"; tab-width: 4 -*- */
2 /* memowrite.h - definitions for MemoWrite utility trace functions.
3 * JStroke 1.x - Japanese Kanji handwriting recognition technology demo.
4 * Copyright (C) 1997 Robert E. Wells
5 * http://wellscs.com/pilot
6 * mailto:robert@wellscs.com
7 *
8 * This program is free software; you can redistribute it and/or
9 * modify it under the terms of the GNU General Public License
10 * as published by the Free Software Foundation; either version 2
11 * of the License, or (at your option) any later version.
13 * This program is distributed in the hope that it will be useful,
14 * but WITHOUT ANY WARRANTY; without even the implied warranty of
15 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 * GNU General Public License for more details.
18 * You should have received a copy of the GNU General Public License
19 * along with this program (gpl.html); if not, write to the Free Software
20 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
22 * See readme.txt, changelo, and gpl.html for more information.
24 * Commentary:
26 * This provides a mechanism for generating traces from a program as Pilot
27 * Memo entries, where they can be examined, HotSync'ed, and deleted using
28 * standard applications.
29 * ------------------------------------------------------------------------- */
30 #ifndef __MEMOWRITE_H__
31 #define __MEMOWRITE_H__
33 #ifdef FOR_MEMOWRITE
35 #define MemoWriteOpen() Memo_WriteOpen()
36 #define MemoWriteClose() Memo_WriteClose()
37 #define MemoWriteLen(a,b) Memo_WriteLen((a),(b))
38 #define MemoWrite(a) Memo_Write(a)
39 #define MemoWriteln(a) Memo_Writeln(a)
40 #define MemoWrite2(a,b) Memo_Write2((a),(b))
41 #define MemoWrite2d(a,b) Memo_Write2d((a),(b))
42 #define MemoWrite2h(a,b) Memo_Write2h((a),(b))
44 void Memo_WriteOpen(void);
45 void Memo_WriteClose(void);
46 void Memo_WriteLen(char* cp, UInt len);
47 void Memo_Write(char* cp);
48 void Memo_Writeln(char* cp);
49 void Memo_Write2(char* cp, char* cpVal);
50 void Memo_Write2d(char* cp, long iVal);
51 void Memo_Write2h(char* cp, long iVal);
53 #else /* FOR_MEMOWRITE not defined */
55 #define MemoWriteOpen()
56 #define MemoWriteClose()
57 #define MemoWriteLen(a,b)
58 #define MemoWrite(a)
59 #define MemoWriteln(a)
60 #define MemoWrite2(a,b)
61 #define MemoWrite2d(a,b)
62 #define MemoWrite2h(a,b)
64 #endif /* FOR_MEMOWRITE not defined */
66 #endif /*__MEMOWRITE_H__*/
67 /* ----- end of memowrite.h ------------------------------------------------*/