Switch to unified view

a/src/rcldb/searchdata.h b/src/rcldb/searchdata.h
...
...
222
    {}
222
    {}
223
    virtual ~SearchDataClause() {}
223
    virtual ~SearchDataClause() {}
224
    virtual bool toNativeQuery(Rcl::Db &db, void *) = 0;
224
    virtual bool toNativeQuery(Rcl::Db &db, void *) = 0;
225
    bool isFileName() const {return m_tp == SCLT_FILENAME ? true: false;}
225
    bool isFileName() const {return m_tp == SCLT_FILENAME ? true: false;}
226
    virtual std::string getReason() const {return m_reason;}
226
    virtual std::string getReason() const {return m_reason;}
227
    virtual void getTerms(HighlightData & hldata) const = 0;
227
    virtual void getTerms(HighlightData&) const {}
228
228
229
    SClType getTp() const
229
    SClType getTp() const
230
    {
230
    {
231
    return m_tp;
231
    return m_tp;
232
    }
232
    }
...
...
377
    // File name searches don't count when looking for wild cards.
377
    // File name searches don't count when looking for wild cards.
378
    m_haveWildCards = false;
378
    m_haveWildCards = false;
379
    }
379
    }
380
380
381
    virtual ~SearchDataClauseFilename() 
381
    virtual ~SearchDataClauseFilename() 
382
    {
383
    }
384
385
    virtual void getTerms(HighlightData&) const
386
    {
382
    {
387
    }
383
    }
388
384
389
    virtual bool toNativeQuery(Rcl::Db &, void *);
385
    virtual bool toNativeQuery(Rcl::Db &, void *);
390
};
386
};
...
...
421
417
422
    virtual ~SearchDataClausePath() 
418
    virtual ~SearchDataClausePath() 
423
    {
419
    {
424
    }
420
    }
425
421
426
    virtual void getTerms(HighlightData&) const
427
    {
428
    }
429
430
    virtual bool toNativeQuery(Rcl::Db &, void *);
422
    virtual bool toNativeQuery(Rcl::Db &, void *);
431
423
432
};
424
};
433
425
434
/** 
426
/**