CARDS 2.4.121
Package manager for the NuTyX GNU/Linux distribution
flcards_info.h
1
/*
2
* flcards_info.h
3
*
4
* Copyright 2016 - 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 FLCARDS_INFO_H_
26
#define FLCARDS_INFO_H_ 1
27
28
#include <libcards.h>
29
#include <FL/Fl.H>
30
#include <FL/Fl_Window.H>
31
#include <FL/Fl_Progress.H>
32
33
using namespace
std;
34
35
class
Flcards_info
:
public
Pkgdbh
,
public
Pkgrepo
{
36
public
:
37
Flcards_info
(
const
string
& configFile);
38
~
Flcards_info
() {}
39
set<string> getListOfInstalledPackages();
40
set<string> getListOfAvailablePackages();
41
42
protected
:
43
void
progressInfo();
44
Fl_Window *m_window;
45
Fl_Progress *m_progressBar;
46
};
47
48
#endif
/* FLCARDS_INFO_H_ */
Flcards_info
Definition:
flcards_info.h:35
Pkgrepo
Definition:
libcards.h:938
Pkgdbh
Definition:
libcards.h:1523
fltk
flcards_info.h
Generated on Tue Aug 25 2020 06:11:42 for CARDS 2.4.121 by
1.8.19