[sword-svn] r2017 - in trunk: include src/modules
dglassey at www.crosswire.org
dglassey at www.crosswire.org
Thu Nov 30 08:29:15 MST 2006
Author: dglassey
Date: 2006-11-30 08:29:15 -0700 (Thu, 30 Nov 2006)
New Revision: 2017
Modified:
trunk/include/swmodule.h
trunk/src/modules/swmodule.cpp
Log:
move implementations to source file so definitions in header can be complete
Modified: trunk/include/swmodule.h
===================================================================
--- trunk/include/swmodule.h 2006-11-29 02:09:19 UTC (rev 2016)
+++ trunk/include/swmodule.h 2006-11-30 15:29:15 UTC (rev 2017)
@@ -399,16 +399,16 @@
* @param path path where to create the new module
* @return error
*/
- static signed char createModule(const char *) { return -1; }
+ static signed char createModule(const char *path);
/** Modify the current module entry text - only if module isWritable()
*/
- virtual void setEntry(const char *, long = -1) { }
+ virtual void setEntry(const char *inbuf, long len= -1);
/** Link the current module entry to another module entry - only if
* module isWritable()
*/
- virtual void linkEntry(const SWKey *) { }
+ virtual void linkEntry(const SWKey *sourceKey);
/** Delete current module entry - only if module isWritable()
*/
Modified: trunk/src/modules/swmodule.cpp
===================================================================
--- trunk/src/modules/swmodule.cpp 2006-11-29 02:09:19 UTC (rev 2016)
+++ trunk/src/modules/swmodule.cpp 2006-11-30 15:29:15 UTC (rev 2017)
@@ -1282,5 +1282,14 @@
}
}
+signed char SWModule::createModule(const char*) {
+ return -1;
+}
+void SWModule::setEntry(const char*, long) {
+}
+
+void SWModule::linkEntry(const SWKey*) {
+}
+
SWORD_NAMESPACE_END
More information about the sword-cvs
mailing list