Diffstat (limited to 'noncore/apps/opie-reader/pdb.h') (more/less context) (show whitespace changes)
-rw-r--r-- | noncore/apps/opie-reader/pdb.h | 14 |
1 files changed, 11 insertions, 3 deletions
diff --git a/noncore/apps/opie-reader/pdb.h b/noncore/apps/opie-reader/pdb.h index eac3ae6..7a6580d 100644 --- a/noncore/apps/opie-reader/pdb.h +++ b/noncore/apps/opie-reader/pdb.h | |||
@@ -16,4 +16,6 @@ | |||
16 | #endif | 16 | #endif |
17 | #include <stdio.h> | 17 | #include <stdio.h> |
18 | #include "useqpe.h" | ||
19 | #include "CExpander.h" | ||
18 | 20 | ||
19 | /* Normal Palm typedefs */ | 21 | /* Normal Palm typedefs */ |
@@ -77,5 +79,5 @@ typedef struct { | |||
77 | 79 | ||
78 | 80 | ||
79 | class Cpdb | 81 | class Cpdb : public CExpander |
80 | { | 82 | { |
81 | protected: | 83 | protected: |
@@ -86,7 +88,13 @@ class Cpdb | |||
86 | void gotorecordnumber(int); | 88 | void gotorecordnumber(int); |
87 | DatabaseHdrType head; | 89 | DatabaseHdrType head; |
88 | bool openfile(const char* src); | 90 | bool openpdbfile(const char* src); |
89 | Cpdb() : fin(NULL) {} | 91 | Cpdb() : fin(NULL) {} |
90 | ~Cpdb() { if (fin != NULL) fclose(fin); } | 92 | ~Cpdb(); |
93 | #ifdef USEQPE | ||
94 | void suspend(); | ||
95 | void unsuspend(); | ||
96 | #endif | ||
97 | public: | ||
98 | virtual void sizes(unsigned long& _file, unsigned long& _text) = 0; | ||
91 | }; | 99 | }; |
92 | #endif | 100 | #endif |