1 #ifndef s11n_net_SQ3_SETTINGS_DB_INCLUDED
2 #define s11n_net_SQ3_SETTINGS_DB_INCLUDED 1
65 int clear( std::string
const & where );
70 void set( std::string
const & key,
int val );
74 void set( std::string
const & key, sqlite_int64 val );
78 void set( std::string
const & key,
bool val );
82 void set( std::string
const & key,
double val );
86 void set( std::string
const & key, std::string
const & val );
90 void set( std::string
const & key,
char const * val );
98 bool get( std::string
const & key,
int & val );
100 bool get( std::string
const & key, sqlite_int64 & val );
102 bool get( std::string
const & key,
bool & val );
104 bool get( std::string
const & key,
double & val );
106 bool get( std::string
const & key, std::string & val );
110 virtual int on_open();
116 #endif // s11n_net_SQ3_SETTINGS_DB_INCLUDED