Ignore:
Timestamp:
2008-05-20T10:22:16+12:00 (16 years ago)
Author:
mdewsnip
Message:

(Adding new DB support) Changed the gdbmsource classes to use dbclass instead of gdbmclass, as part of reducing the dependence on gdbm.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • gsdl/trunk/src/colservr/gdbmsource.h

    r15430 r15584  
    3131#include "text_t.h"
    3232#include "comtypes.h"
    33 #include "gdbmclass.h"
     33#include "dbclass.h"
    3434#include "maptools.h"
    3535#include "search.h"
     
    5959  text_tarray parentcontents;
    6060
    61   text_t gdbm_filename;
    62   gdbmclass *gdbmptr;
     61  text_t db_filename;
     62  dbclass *db_ptr;
    6363 
    6464  searchclass *textsearchptr;
     
    6868  virtual ~gdbmsourceclass ();
    6969
    70   // the gdbmptr remains the responsability of the calling code
    71   void set_gdbmptr (gdbmclass *thegdbmptr) {gdbmptr=thegdbmptr;}
     70  // the DB ptr remains the responsibility of the calling code
     71  void set_db_ptr (dbclass *db_ptr_arg) { db_ptr = db_ptr_arg; }
    7272
    73   // the textsearchptr remains the responsability of the calling code
     73  // the textsearchptr remains the responsibility of the calling code
    7474  void set_textsearchptr (searchclass *thetextsearchptr) {textsearchptr=thetextsearchptr;}
    7575
Note: See TracChangeset for help on using the changeset viewer.