CARDS 2.4.87
Package manager for the NuTyX GNU/Linux distribution
pkginfo.h
1 //
2 // pkginfo.h
3 //
4 // Copyright (c) 2000-2005 Per Liden
5 // Copyright (c) 2006-2013 by CRUX team (http://crux.nu)
6 // Copyright (c) 2013-2017 by NuTyX team (http://nutyx.org)
7 //
8 // This program is free software; you can redistribute it and/or modify
9 // it under the terms of the GNU General Public License as published by
10 // the Free Software Foundation; either version 2 of the License, or
11 // (at your option) any later version.
12 //
13 // This program is distributed in the hope that it will be useful,
14 // but WITHOUT ANY WARRANTY; without even the implied warranty of
15 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 // GNU General Public License for more details.
17 //
18 // You should have received a copy of the GNU General Public License
19 // along with this program; if not, write to the Free Software
20 // Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307,
21 // USA.
22 //
23 
28 #ifndef PKGINFO_H
29 #define PKGINFO_H
30 
31 #include "pkgdbh.h"
32 #include "runtime_dependencies_utils.h"
33 
34 #include <sstream>
35 #include <iomanip>
36 
37 
38 class Pkginfo : public Pkgdbh {
39 public:
40  Pkginfo(const std::string& commandName);
41  Pkginfo();
42  virtual void run(int argc, char** argv);
43  virtual void parseArguments(int argc, char** argv);
44  virtual void run();
45  virtual void finish();
46  virtual void printHelp() const;
47 
48 protected:
49  std::string m_arg;
50  int m_runtimedependencies_mode;
51  int m_footprint_mode;
52  int m_archiveinfo;
53  int m_installed_mode;
54  int m_list_mode;
55  int m_owner_mode;
56  int m_details_mode;
57  int m_libraries_mode;
58  int m_runtime_mode;
59  int m_epoc;
60 
61 };
62 
63 #endif /* PKGINFO_H */
64 
65 // vim:set ts=2 :
Definition: libcards.h:1708
Definition: libcards.h:1495