LibPkg
env_checks.h
Go to the documentation of this file.
1 // This file is part of LibPkg.
2 //
3 // Copyright 2003-2020 Graham Shaw
4 //
5 // Licensed under the Apache License, Version 2.0 (the "License");
6 // you may not use this file except in compliance with the License.
7 // You may obtain a copy of the License at
8 //
9 // http://www.apache.org/licenses/LICENSE-2.0
10 //
11 // Unless required by applicable law or agreed to in writing, software
12 // distributed under the License is distributed on an "AS IS" BASIS,
13 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 // See the License for the specific language governing permissions and
15 // limitations under the License.
16 
17 // Created on: 3 Jul 2018
18 // Author: Alan Buckley
19 //
20 // See env_checks.cpp for current checks provided
21 
22 #ifndef LIBPKG_LIBPKG_ENV_CHECKS_H_
23 #define LIBPKG_LIBPKG_ENV_CHECKS_H_
24 
25 #include <string>
26 #include "env_checker.h"
27 
28 namespace pkg {
29 
30 
36 class module_check : public env_check
37 {
38 public:
39  module_check(const std::string &title);
40 };
41 
42 
43 } /* namespace lippkg */
44 
45 #endif /* LIBPKG_LIBPKG_ENV_CHECKS_H_ */
The namespace used to hold the package management library.
Definition: auto_dir.cc:23
module_check(const std::string &title)
Check if module is loaded - declaration in header as used in enc_checker.cpp.
Definition: env_checks.cc:184
Class for packages that need to OS to contain a specific module.
Definition: env_checks.h:36
Base class for the environment checking classes.
Definition: env_checker.h:43

Reference Manual LibPkg Version 0.9.0 (4 Sep 2020)