summaryrefslogtreecommitdiff
path: root/noncore/apps/opie-reader/pdb.h
Side-by-side diff
Diffstat (limited to 'noncore/apps/opie-reader/pdb.h') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/apps/opie-reader/pdb.h9
1 files changed, 5 insertions, 4 deletions
diff --git a/noncore/apps/opie-reader/pdb.h b/noncore/apps/opie-reader/pdb.h
index 7458919..a0abd1b 100644
--- a/noncore/apps/opie-reader/pdb.h
+++ b/noncore/apps/opie-reader/pdb.h
@@ -12,19 +12,17 @@
#define __PDB_H__
#ifndef _WINDOWS
#include <netinet/in.h>
#endif
#include <stdio.h>
+
#include "CExpander.h"
/* Normal Palm typedefs */
-typedef unsigned char UInt8;
-typedef unsigned short UInt16;
-typedef signed short Int16;
-typedef unsigned long UInt32;
+#include "mytypes.h"
typedef UInt32 LocalID;
/* Max length of DB name */
#define dmDBNameLength 0x20
@@ -89,12 +87,15 @@ class Cpdb : public CExpander
bool openpdbfile(const char* src);
Cpdb() : fin(NULL) {}
~Cpdb();
#ifdef USEQPE
void suspend();
void unsuspend();
+#else
+ void suspend() {}
+ void unsuspend() {}
#endif
public:
virtual void sizes(unsigned long& _file, unsigned long& _text) = 0;
};
#endif