summaryrefslogtreecommitdiff
path: root/noncore/settings/packagemanager/oipkg.h
Unidiff
Diffstat (limited to 'noncore/settings/packagemanager/oipkg.h') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/settings/packagemanager/oipkg.h7
1 files changed, 1 insertions, 6 deletions
diff --git a/noncore/settings/packagemanager/oipkg.h b/noncore/settings/packagemanager/oipkg.h
index 0263f50..4e390fa 100644
--- a/noncore/settings/packagemanager/oipkg.h
+++ b/noncore/settings/packagemanager/oipkg.h
@@ -36,16 +36,12 @@ _;:, .> :=|. This program is free software; you can
36#include "opackage.h" 36#include "opackage.h"
37 37
38#include <qpe/config.h> 38#include <qpe/config.h>
39 39
40#include <qobject.h> 40#include <qobject.h>
41 41
42extern "C" {
43#include <libipkg.h>
44};
45
46// Ipkg execution options (m_ipkgExecOptions) 42// Ipkg execution options (m_ipkgExecOptions)
47#define FORCE_DEPENDS 0x0001 43#define FORCE_DEPENDS 0x0001
48#define FORCE_REMOVE 0x0002 44#define FORCE_REMOVE 0x0002
49#define FORCE_REINSTALL 0x0004 45#define FORCE_REINSTALL 0x0004
50#define FORCE_OVERWRITE 0x0008 46#define FORCE_OVERWRITE 0x0008
51 47
@@ -76,13 +72,13 @@ public:
76 OPackageList *availablePackages( const QString &server = QString::null ); 72 OPackageList *availablePackages( const QString &server = QString::null );
77 OPackageList *installedPackages( const QString &destName = QString::null, 73 OPackageList *installedPackages( const QString &destName = QString::null,
78 const QString &destPath = QString::null ); 74 const QString &destPath = QString::null );
79 75
80 OConfItem *findConfItem( OConfItem::Type type = OConfItem::NotDefined, 76 OConfItem *findConfItem( OConfItem::Type type = OConfItem::NotDefined,
81 const QString &name = QString::null ); 77 const QString &name = QString::null );
82 78
83 bool executeCommand( OPackage::Command command = OPackage::NotDefined, 79 bool executeCommand( OPackage::Command command = OPackage::NotDefined,
84 const QStringList &parameters = QStringList(), 80 const QStringList &parameters = QStringList(),
85 const QString &destination = QString::null, 81 const QString &destination = QString::null,
86 const QObject *receiver = 0l, 82 const QObject *receiver = 0l,
87 const char *slotOutput = 0l, 83 const char *slotOutput = 0l,
88 bool rawOutput = true ); 84 bool rawOutput = true );
@@ -91,13 +87,12 @@ public:
91 void ipkgMessage( char *msg ); 87 void ipkgMessage( char *msg );
92 void ipkgStatus( char *status ); 88 void ipkgStatus( char *status );
93 void ipkgList( char *filelist ); 89 void ipkgList( char *filelist );
94 90
95private: 91private:
96 Config *m_config; // Pointer to application configuration file 92 Config *m_config; // Pointer to application configuration file
97 args_t m_ipkgArgs; // libipkg configuration arguments
98 OConfItemList *m_confInfo; // Contains info from all Ipkg configuration files 93 OConfItemList *m_confInfo; // Contains info from all Ipkg configuration files
99 int m_ipkgExecOptions; // Bit-mapped flags for Ipkg execution options 94 int m_ipkgExecOptions; // Bit-mapped flags for Ipkg execution options
100 int m_ipkgExecVerbosity; // Ipkg execution verbosity level 95 int m_ipkgExecVerbosity; // Ipkg execution verbosity level
101 QString m_rootPath; // Directory path where the 'root' destination is located 96 QString m_rootPath; // Directory path where the 'root' destination is located
102 97
103 void loadConfiguration(); 98 void loadConfiguration();