aboutsummaryrefslogtreecommitdiffstats
path: root/src/db/ProxyDatabasePlugin.cxx
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2013-11-22 00:35:29 +0100
committerMax Kellermann <max@duempel.org>2013-11-22 00:35:29 +0100
commitc064e8d62f0d2b46159570f21708c2546970718d (patch)
tree42a242cec63c5c07c770db22552e77ddd1ee8a8d /src/db/ProxyDatabasePlugin.cxx
parent099a2cb586524cf49dd3a9a0107ce003fd2e27e5 (diff)
downloadmpd-c064e8d62f0d2b46159570f21708c2546970718d.tar.gz
mpd-c064e8d62f0d2b46159570f21708c2546970718d.tar.xz
mpd-c064e8d62f0d2b46159570f21708c2546970718d.zip
DatabasePlugin: add method GetUpdateStamp()
Refactor SimpleDatabase::GetLastModified() to be generic for all plugins. Remove the SimpleDatabase assumption from db_stats_print(), allowing it to be implemented by all database plugins.
Diffstat (limited to 'src/db/ProxyDatabasePlugin.cxx')
-rw-r--r--src/db/ProxyDatabasePlugin.cxx5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/db/ProxyDatabasePlugin.cxx b/src/db/ProxyDatabasePlugin.cxx
index fc99242ee..d4861623f 100644
--- a/src/db/ProxyDatabasePlugin.cxx
+++ b/src/db/ProxyDatabasePlugin.cxx
@@ -71,6 +71,11 @@ public:
DatabaseStats &stats,
Error &error) const override;
+ virtual time_t GetUpdateStamp() const override {
+ // TODO: implement
+ return 0;
+ }
+
private:
bool Configure(const config_param &param, Error &error);