Ignore:
Timestamp:
2008-05-23T14:27:11+12:00 (16 years ago)
Author:
mdewsnip
Message:

(Adding new DB support) Adding a new "getfileextension()" function that is implemented differently between gdbmclass (which is endian-specific) and sqlitedbclass (which isn't).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • gsdl/trunk/lib/gdbmclass.cpp

    r15655 r15679  
    2525
    2626#include "gdbmclass.h"
    27 #include "unitool.h"
     27#include "gsdltools.h"
    2828#include "gsdlunicode.h"
    29 #include "OIDtools.h"
    3029
    3130
     
    115114
    116115
     116// returns file extension string
     117text_t gdbmclass::getfileextension ()
     118{
     119  if (littleEndian()) return ".ldb";
     120  return ".bdb";
     121}
     122
     123
    117124// returns true on success
    118125bool gdbmclass::getkeydata (const text_t& key, text_t &data)
Note: See TracChangeset for help on using the changeset viewer.