From: John S. <jp...@us...> - 2007-01-09 01:01:24
|
Update of /cvsroot/xqilla/xqilla/include/xqilla/context In directory sc8-pr-cvs10.sourceforge.net:/tmp/cvs-serv15121/include/xqilla/context Modified Files: StaticContext.hpp Log Message: Moved recent fixes over from the XQilla_1_0 branch, including: function signature global cache removal, fix to parse modules using the correct syntax, fix to query plan output of modules. Index: StaticContext.hpp =================================================================== RCS file: /cvsroot/xqilla/xqilla/include/xqilla/context/StaticContext.hpp,v retrieving revision 1.18 retrieving revision 1.19 diff -C2 -d -r1.18 -r1.19 *** StaticContext.hpp 2 Dec 2006 02:11:48 -0000 1.18 --- StaticContext.hpp 9 Jan 2007 01:01:23 -0000 1.19 *************** *** 16,19 **** --- 16,20 ---- #include <xqilla/framework/XQillaExport.hpp> + #include <xqilla/simple-api/XQilla.hpp> #include <time.h> #include <xqilla/schema/DocumentCache.hpp> *************** *** 67,70 **** --- 68,75 ---- virtual DynamicContext *createDynamicContext(XERCES_CPP_NAMESPACE_QUALIFIER MemoryManager *memMgr = XERCES_CPP_NAMESPACE_QUALIFIER XMLPlatformUtils::fgMemoryManager) const = 0; + + /** Returns the lanuage that this context is for. This value cannot be set, since it is used + to correctly construct the StaticContext */ + virtual XQilla::Language getLanguage() const = 0; /** Returns the ItemFactory for this context, which is used to create XQilla items and other objects. */ |