00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018 #include "config.h"
00019
00020 #if SQL_ENABLED
00021
00022 #include "SQLRegistrationStore.h"
00023 #include "SQLStore.h"
00024
00025 namespace dtn {
00026
00030 SQLRegistrationStore::SQLRegistrationStore(oasys::SQLImplementation* impl,
00031 const char* table_name)
00032 {
00033 store_ = new SQLStore(table_name, impl);
00034 }
00035
00039 SQLRegistrationStore::~SQLRegistrationStore()
00040 {
00041 NOTREACHED;
00042 }
00043
00048 void
00049 SQLRegistrationStore::load(RegistrationList* reg_list)
00050 {
00051
00052 }
00053
00058 bool
00059 SQLRegistrationStore::add(Registration* reg)
00060 {
00061
00062 return true;
00063 }
00064
00069 bool
00070 SQLRegistrationStore::del(Registration* reg)
00071 {
00072 NOTIMPLEMENTED;
00073 }
00074
00079 bool
00080 SQLRegistrationStore::update(Registration* reg)
00081 {
00082 NOTIMPLEMENTED;
00083 }
00084
00085 }
00086
00087 #endif