From: Arvin Schnell Date: Tue, 2 Aug 2016 08:08:25 +0000 (+0200) Subject: - added documentation X-Git-Tag: v0.3.3^2~3 X-Git-Url: http://git.ipfire.org/gitweb/index.cgi?a=commitdiff_plain;h=110c3cbcccee201bfc7fcafbd0caadbd141c6f21;p=thirdparty%2Fsnapper.git - added documentation --- diff --git a/snapper/Snapshot.h b/snapper/Snapshot.h index d47010db..89e96846 100644 --- a/snapper/Snapshot.h +++ b/snapper/Snapshot.h @@ -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;