Changeset 22048


Ignore:
Timestamp:
2010-05-06T12:55:42+12:00 (14 years ago)
Author:
davidb
Message:

Changes necessary to support new sql-query action

File:
1 edited

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);
Note: See TracChangeset for help on using the changeset viewer.