]> git.ipfire.org Git - thirdparty/snapper.git/commitdiff
- add isActive method to the Filesystem class
authorAleksey Novikov <shader@yandex.ru>
Wed, 18 May 2016 12:14:07 +0000 (15:14 +0300)
committerAleksey Novikov <shader@yandex.ru>
Wed, 18 May 2016 12:14:07 +0000 (15:14 +0300)
snapper/Filesystem.cc
snapper/Filesystem.h

index 505c629e7bce6dbf43bf70991f82e7a61ce09934..db51f861745f9ea20848f454511fdc38e338c6cd 100644 (file)
@@ -184,6 +184,13 @@ namespace snapper
     }
 
 
+    bool
+    Filesystem::isActive(unsigned int num) const
+    {
+       throw std::logic_error("not implemented");
+    }
+
+
     void
     Filesystem::sync() const
     {
index d0a912c78febff6e67d79a73611cd98aba7ad031..5f1dc2acda871e6ae2eb53d96d5560abab9d03f0 100644 (file)
@@ -85,6 +85,8 @@ namespace snapper
        virtual bool isDefault(unsigned int num) const;
        virtual void setDefault(unsigned int num) const;
 
+       virtual bool isActive(unsigned int num) const;
+
        virtual void sync() const;
 
     protected: