author | simon <simon> | 2002-12-28 10:41:25 (UTC) |
---|---|---|
committer | simon <simon> | 2002-12-28 10:41:25 (UTC) |
commit | 857560112f6df95a84040b43462731f63824b3d7 (patch) (side-by-side diff) | |
tree | 9a1e8734e427838cf33b3eb764335bf2c62b930b | |
parent | 4c05428a793bcfed723377ad33dadac5ddcd1b99 (diff) | |
download | opie-857560112f6df95a84040b43462731f63824b3d7.zip opie-857560112f6df95a84040b43462731f63824b3d7.tar.gz opie-857560112f6df95a84040b43462731f63824b3d7.tar.bz2 |
- include string.h for memcmp
-rw-r--r-- | noncore/apps/opie-reader/StyleConsts.h | 1 |
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,54 +1,55 @@ #ifndef __STYLECONSTS_H #define __STYLECONSTS_H typedef unsigned short StyleType; #include <stdlib.h> +#include <string.h> #include <qglobal.h> class QPixmap; struct GraphicLink { QPixmap* graphic; bool isLink; unsigned long link; GraphicLink(QPixmap* p, bool isLnk, unsigned long tgt) : graphic(p), isLink(isLnk), link(tgt) {} ~GraphicLink(); }; struct pmstore { unsigned int count; GraphicLink* graphic; pmstore(QPixmap* p, bool isLnk, unsigned long tgt) : count(1) { graphic = new GraphicLink(p, isLnk, tgt); } ~pmstore(); }; enum EalignmentType { m_AlignLeft, m_AlignRight, m_AlignCentre, m_AlignJustify }; class CBasicStyle { friend class CStyle; bool m_bold, m_italic; int m_fontsize; EalignmentType m_align; unsigned char red, green, blue; unsigned long data; bool isLink; bool m_underline; bool m_strikethru; bool m_monospaced; unsigned char m_leftmargin, m_rightmargin; CBasicStyle() { |