Skip to main content ::
::
KOffice API Docs
::
Skip to Link Menu
/
KOffice
/
API Docs
/
filters
filters
filters
kword
pdf
xpdf
xpdf
NameToCharCode.h
1
//========================================================================
2
//
3
// NameToCharCode.h
4
//
5
// Copyright 2001-2002 Glyph & Cog, LLC
6
//
7
//========================================================================
8
9
#ifndef NAMETOCHARCODE_H
10
#define NAMETOCHARCODE_H
11
12
#include <aconf.h>
13
14
#ifdef USE_GCC_PRAGMAS
15
#pragma interface
16
#endif
17
18
#include "CharTypes.h"
19
20
struct
NameToCharCodeEntry;
21
22
//------------------------------------------------------------------------
23
24
class
NameToCharCode {
25
public
:
26
27
NameToCharCode();
28
~NameToCharCode();
29
30
void
add(
const
char
*name, CharCode c);
31
CharCode lookup(
const
char
*name);
32
33
private
:
34
35
int
hash(
const
char
*name);
36
37
NameToCharCodeEntry *tab;
38
int
size;
39
int
len;
40
};
41
42
#endif
filters
Skip menu "filters"
Main Page
Namespace List
Class Hierarchy
Alphabetical List
Class List
File List
Class Members
Related Pages
filters
Skip menu "filters"
chalk
example
filters
interfaces
karbon
kchart
kdgantt
kexi
kformula
kivio
koshell
kplato
kpresenter
kspread
kword
lib