]> git.ipfire.org Git - thirdparty/snapper.git/commitdiff
- added documentation
authorArvin Schnell <aschnell@suse.de>
Tue, 2 Aug 2016 08:08:25 +0000 (10:08 +0200)
committerArvin Schnell <aschnell@suse.de>
Tue, 2 Aug 2016 08:08:25 +0000 (10:08 +0200)
snapper/Snapshot.h

index d47010db6cb707b8fe1f278f15fbdd74e8436c4f..89e96846611161ff7f955762c10788878dc2fe0f 100644 (file)
@@ -1,5 +1,6 @@
 /*
  * Copyright (c) [2011-2015] Novell, Inc.
+ * Copyright (c) 2016 SUSE LLC
  *
  * All Rights Reserved.
  *
@@ -104,9 +105,19 @@ namespace snapper
 
        bool isReadOnly() const;
 
+       /**
+        * Determine iff snapshot is default (will be activated on next boot time).
+        */
        bool isDefault() const;
+
+       /**
+        * Change default snapshot (will be activated on next boot time).
+        */
        void setDefault() const;
 
+       /**
+        * Determine iff snapshot is active (activated on last boot time).
+        */
        bool isActive() const;
 
        void mountFilesystemSnapshot(bool user_request) const;