libstorage-ng
CommitOptions.h
1 /*
2  * Copyright (c) 2017 SUSE LLC
3  *
4  * All Rights Reserved.
5  *
6  * This program is free software; you can redistribute it and/or modify it
7  * under the terms of version 2 of the GNU General Public License as published
8  * by the Free Software Foundation.
9  *
10  * This program is distributed in the hope that it will be useful, but WITHOUT
11  * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
12  * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
13  * more details.
14  *
15  * You should have received a copy of the GNU General Public License along
16  * with this program; if not, contact SUSE LLC.
17  *
18  * To contact SUSE LLC about this file by physical or electronic mail, you may
19  * find current contact information at www.suse.com.
20  */
21 
22 #ifndef STORAGE_COMMIT_OPTIONS_H
23 #define STORAGE_COMMIT_OPTIONS_H
24 
25 namespace storage
26 {
27 
28  // TODO move root_prefix here? only needed in do_mount and do_unmount
29  // TODO but now force_rw should also be used in immediate_activate
30 
32  {
33  public:
34 
35  CommitOptions(bool force_rw)
36  : force_rw(force_rw) {}
37 
38  const bool force_rw;
39 
40  };
41 
42 }
43 
44 #endif
Definition: CommitOptions.h:31
The storage namespace.
Definition: Actiongraph.h:39