[go: up one dir, main page]

Menu

[r189]: / tags / 0.10 / porg / pkg.h  Maximize  Restore  History

Download this file

44 lines (30 with data), 881 Bytes

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
//=======================================================================
// pkg.h
//-----------------------------------------------------------------------
// This file is part of the package porg
// Copyright (C) 2015 David Ricart
// For more information visit http://porg.sourceforge.net
//=======================================================================
#ifndef PORG_PKG_H
#define PORG_PKG_H
#include "config.h"
#include "porg/basepkg.h"
#include <iosfwd>
#include <set>
namespace Porg
{
class DB;
class Pkg : public BasePkg
{
public:
Pkg(std::string const& name_);
void unlog() const;
void remove(DB const&);
void print_conf_opts(bool print_pkg_name) const;
void print_info() const;
void list(int, int) const;
void list_files(int size_w);
void append(std::set<std::string> const& files);
}; // class Pkg
} // namespace Porg
#endif // PORG_PKG_H