Changeset 22048

Show
Ignore:
Timestamp:
06.05.2010 12:55:42 (9 years ago)
Author:
davidb
Message:

Changes necessary to support new sql-query action

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • main/trunk/greenstone2/runtime-src/src/recpt/mod_gsdl.cpp

    r21324 r22048  
    8383#include "pageaction.h" 
    8484#include "queryaction.h" 
     85 
     86#if defined(USE_SQLITE) 
     87#include "sqlqueryaction.h" 
     88#endif 
     89 
    8590#include "documentaction.h" 
    8691#include "extlinkaction.h" 
     
    264269  recpt.add_action(aqueryaction); 
    265270   
     271#if defined(USE_SQLITE) 
     272  sqlqueryaction *asqlqueryaction = new sqlqueryaction(); 
     273  asqlqueryaction->set_receptionist (&recpt); 
     274  recpt.add_action (asqlqueryaction); 
     275#endif 
     276 
    266277  documentaction *adocumentaction = new documentaction(); 
    267278  adocumentaction->set_receptionist(&recpt);