summaryrefslogtreecommitdiff
authorsimon <simon>2002-12-28 10:41:25 (UTC)
committer simon <simon>2002-12-28 10:41:25 (UTC)
commit857560112f6df95a84040b43462731f63824b3d7 (patch) (unidiff)
tree9a1e8734e427838cf33b3eb764335bf2c62b930b
parent4c05428a793bcfed723377ad33dadac5ddcd1b99 (diff)
downloadopie-857560112f6df95a84040b43462731f63824b3d7.zip
opie-857560112f6df95a84040b43462731f63824b3d7.tar.gz
opie-857560112f6df95a84040b43462731f63824b3d7.tar.bz2
- include string.h for memcmp
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/apps/opie-reader/StyleConsts.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/noncore/apps/opie-reader/StyleConsts.h b/noncore/apps/opie-reader/StyleConsts.h
index 5aacdf0..9701d19 100644
--- a/noncore/apps/opie-reader/StyleConsts.h
+++ b/noncore/apps/opie-reader/StyleConsts.h
@@ -1,38 +1,39 @@
1#ifndef __STYLECONSTS_H 1#ifndef __STYLECONSTS_H
2#define __STYLECONSTS_H 2#define __STYLECONSTS_H
3 3
4typedef unsigned short StyleType; 4typedef unsigned short StyleType;
5 5
6#include <stdlib.h> 6#include <stdlib.h>
7#include <string.h>
7#include <qglobal.h> 8#include <qglobal.h>
8class QPixmap; 9class QPixmap;
9 10
10struct GraphicLink 11struct GraphicLink
11{ 12{
12 QPixmap* graphic; 13 QPixmap* graphic;
13 bool isLink; 14 bool isLink;
14 unsigned long link; 15 unsigned long link;
15 GraphicLink(QPixmap* p, bool isLnk, unsigned long tgt) : 16 GraphicLink(QPixmap* p, bool isLnk, unsigned long tgt) :
16 graphic(p), isLink(isLnk), link(tgt) {} 17 graphic(p), isLink(isLnk), link(tgt) {}
17 ~GraphicLink(); 18 ~GraphicLink();
18}; 19};
19 20
20struct pmstore 21struct pmstore
21{ 22{
22 unsigned int count; 23 unsigned int count;
23 GraphicLink* graphic; 24 GraphicLink* graphic;
24 pmstore(QPixmap* p, bool isLnk, unsigned long tgt) : count(1) 25 pmstore(QPixmap* p, bool isLnk, unsigned long tgt) : count(1)
25 { 26 {
26 graphic = new GraphicLink(p, isLnk, tgt); 27 graphic = new GraphicLink(p, isLnk, tgt);
27 } 28 }
28 ~pmstore(); 29 ~pmstore();
29}; 30};
30 31
31enum EalignmentType 32enum EalignmentType
32{ 33{
33 m_AlignLeft, 34 m_AlignLeft,
34 m_AlignRight, 35 m_AlignRight,
35 m_AlignCentre, 36 m_AlignCentre,
36 m_AlignJustify 37 m_AlignJustify
37}; 38};
38 39