CARDS 2.4.121
Package manager for the NuTyX GNU/Linux distribution
cards_install.h
1
/*
2
* cards_install.h
3
*
4
* Copyright 2015 - 2020 Thierry Nuttens <tnut@nutyx.org>
5
*
6
* This program is free software; you can redistribute it and/or modify
7
* it under the terms of the GNU General Public License as published by
8
* the Free Software Foundation; either version 2 of the License, or
9
* (at your option) any later version.
10
*
11
* This program is distributed in the hope that it will be useful,
12
* but WITHOUT ANY WARRANTY; without even the implied warranty of
13
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14
* GNU General Public License for more details.
15
*
16
* You should have received a copy of the GNU General Public License
17
* along with this program; if not, write to the Free Software
18
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
19
* MA 02110-1301, USA.
20
*
21
*
22
*/
23
24
25
#ifndef CARDS_INSTALL_H
26
#define CARDS_INSTALL_H
27
28
#include "pkginst.h"
29
#include "cards_argument_parser.h"
30
31
class
Cards_install
:
public
Pkginst
32
{
33
public
:
34
Cards_install
(
const
CardsArgumentParser
& argParser,
35
const
char
*configFileName);
36
37
/* To install the dependencies of a package
38
* created with cards create command
39
*/
40
Cards_install
(
const
CardsArgumentParser
& argParser,
41
const
char
*configFileName,
42
const
std::vector<std::string>& listOfPackages);
43
44
private
:
45
const
CardsArgumentParser
& m_argParser;
46
void
parseArguments();
47
void
getLocalePackagesList();
48
Config
m_config;
49
50
};
51
52
#endif
/* CARDS_INSTALL_H */
53
// vim:set ts=2 :
Cards_install
Definition:
cards_install.h:32
Pkginst
Definition:
libcards.h:1784
CardsArgumentParser
Definition:
cards_argument_parser.h:28
Config
Definition:
file_utils.h:69
src
cards_install.h
Generated on Tue Aug 25 2020 06:11:42 for CARDS 2.4.121 by
1.8.19