diff options
author | Roberto C. Sanchez <roberto@connexer.com> | 2014-03-29 10:54:01 -0400 |
---|---|---|
committer | Roberto C. Sanchez <roberto@connexer.com> | 2014-03-29 10:54:01 -0400 |
commit | 71a39f4652cd51df814c930dd268f3c9ad2aee86 (patch) | |
tree | 5994350a603908c4e4d660bc9d72c4ec43dd648e /include/rawcom4.h | |
parent | 03134fa5f6f25d92724ce4c183f9bbe12a9e37dc (diff) |
Imported Upstream version 1.6.0+dfsg
Diffstat (limited to 'include/rawcom4.h')
-rw-r--r-- | include/rawcom4.h | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/include/rawcom4.h b/include/rawcom4.h index 8cd0574..f489799 100644 --- a/include/rawcom4.h +++ b/include/rawcom4.h @@ -36,24 +36,27 @@ class SWDLLEXPORT RawCom4 : public RawVerse4, public SWCom { public: RawCom4(const char *ipath, const char *iname = 0, const char *idesc = 0, - SWDisplay * idisp = 0, SWTextEncoding encoding = ENC_UNKNOWN, + SWDisplay *idisp = 0, SWTextEncoding encoding = ENC_UNKNOWN, SWTextDirection dir = DIRECTION_LTR, SWTextMarkup markup = FMT_UNKNOWN, - const char* ilang = 0); + const char *ilang = 0, const char *versification = "KJV"); virtual ~RawCom4(); virtual SWBuf &getRawEntryBuf(); - virtual void increment(int steps); - virtual void decrement(int steps) { increment(-steps); } + virtual void increment(int steps = 1); + virtual void decrement(int steps = 1) { increment(-steps); } // write interface ---------------------------- virtual bool isWritable(); - static char createModule(const char *path) { return RawVerse4::createModule(path); } + static char createModule(const char *path, const char *v11n = "KJV") { return RawVerse4::createModule(path, v11n); } virtual void setEntry(const char *inbuf, long len = -1); // Modify current module entry virtual void linkEntry(const SWKey *linkKey); // Link current module entry to other module entry virtual void deleteEntry(); // Delete current module entry // end write interface ------------------------ + virtual bool isLinked(const SWKey *k1, const SWKey *k2) const; + virtual bool hasEntry(const SWKey *k) const; + SWMODULE_OPERATORS }; |