CARDS 2.4.87
Package manager for the NuTyX GNU/Linux distribution
cards_create.h
1 /*
2  * cards_create.h
3  *
4  * Copyright 2016 - 2017 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_CREATE_H
26 #define CARDS_CREATE_H
27 
28 #include "pkginst.h"
29 #include "cards_argument_parser.h"
30 
31 class Cards_create : public Pkginst
32 {
33  public:
34  Cards_create(const CardsArgumentParser& argParser,
35  const char *configFileName,
36  const std::vector<std::string>& listOfPackages);
37  Cards_create(const CardsArgumentParser& argParser,
38  const char *configFileName,
39  const std::string& packageName);
40  void parseArguments();
41 
42  private:
43  void createBinaries(const char *configFileName,
44  const std::string& packageName);
45  const CardsArgumentParser& m_argParser;
46 };
47 
48 #endif /* CARDS_CREATE_H */
Definition: cards_create.h:31
Definition: cards_argument_parser.h:27
Definition: libcards.h:1737