From 1f8e0fa176a7a78f275b9711a82aa01a5a69e27d Mon Sep 17 00:00:00 2001 From: "susumu.yata" Date: Fri, 30 May 2014 16:34:10 +0900 Subject: [PATCH] Use the unified DBOptions. --- new-interface/db.hpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/new-interface/db.hpp b/new-interface/db.hpp index 76c356f..0a14658 100644 --- a/new-interface/db.hpp +++ b/new-interface/db.hpp @@ -115,7 +115,7 @@ class DB { // - 作業領域が確保できない. // - ディスクの空き容量が足りない. virtual bool save(const char *path, - const DBSaveOptions &options, + const DBOptions &options, Error *error) const = 0; }; @@ -137,7 +137,7 @@ class DB { // - 指定された名前のファイルがデータベースのファイルではない. // - データベースを構成するファイルが存在しない. std::unique_ptr open_db(const char *path, - const OpenDBOptions &options, + const DBOptions &options, Error *error); // データベースを削除する. @@ -152,7 +152,7 @@ std::unique_ptr open_db(const char *path, // - 一部のファイルが欠けていても強制的に残りを削除するオプションは欲しい. // - データベースを開かずにパスのみから推論して削除したいケースもありうる. // - ファイルの削除に失敗する. -bool drop_db(const char *path, const DropDBOptions &options, Error *error); +bool drop_db(const char *path, const DBOptions &options, Error *error); } // namespace grnxx