Line data Source code
1 : /**
2 : * @file
3 : *
4 : * @brief
5 : *
6 : * @copyright BSD License (see LICENSE.md or https://www.libelektra.org)
7 : */
8 :
9 : #ifndef MOUNTBASE_HPP_
10 : #define MOUNTBASE_HPP_
11 :
12 : #include "coloredkdbio.hpp"
13 : #include <command.hpp>
14 : #include <kdb.hpp>
15 :
16 : #include <backends.hpp>
17 :
18 : #include <vector>
19 :
20 9504 : class MountBaseCommand : public Command
21 : {
22 :
23 : protected:
24 : void readMountConf (Cmdline const & cl);
25 : void getMountpoint (Cmdline const & cl);
26 : void askForConfirmation (Cmdline const & cl);
27 : void outputMissingRecommends (std::vector<std::string> missingRecommends);
28 : void doIt ();
29 :
30 : std::string mountpointsPath = kdb::tools::Backends::mountpointsPath;
31 : kdb::KDB kdb;
32 : kdb::KeySet mountConf;
33 : std::string path;
34 : std::string mp;
35 :
36 : public:
37 : };
38 :
39 :
40 : #endif /* MOUNTBASE_HPP_ */
|