namespace monazilla { namespace GikoMona { namespace core {
-bool model::load_file(const boost::filesystem::path& file_path) {
+bool model::load_file(const boost::filesystem::path& file_path,
+ const mona_string& loaded_table_name) {
if(boost::filesystem::exists(file_path)) {
return false;
}
return true;
}
+void model::exec_inserted_query() {
+ inserted_query_triv_copyable_type q;
+ if(inserted_query_queue.empty()) {
+ return;
+ } else {
+ inserted_query_queue.pop(q);
+ }
+
+ mona_string into;
+ boost::any tup;
+ std::tie(*q, into, tup);
+
+ if(into.find_first_of("application")) {
+ // application/*
+ } else if (into.find_first_of("session")) {
+ // history
+ } else if(into.find_first_of("extension")) {
+ // extension/*
+ } else {
+ // ?
+ }
+}
+
} } }