Diffstat (limited to 'noncore/unsupported/oipkg/pmipkg.h') (more/less context) (show whitespace changes)
-rw-r--r-- | noncore/unsupported/oipkg/pmipkg.h | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/noncore/unsupported/oipkg/pmipkg.h b/noncore/unsupported/oipkg/pmipkg.h new file mode 100644 index 0000000..98efaa6 --- a/dev/null +++ b/noncore/unsupported/oipkg/pmipkg.h @@ -0,0 +1,42 @@ +#ifndef PMIPKG_H +#define PMIPKG_H + + +#include <qobject.h> +#include <qstring.h> +#include <qwidget.h> +#include "pksettings.h" +#include "runwindow.h" +#include "packagelist.h" +#include "debug.h" + + +#include <qpe/qcopenvelope_qws.h> + +class PmIpkg : public RunWindow +//class PmIpkg : public QObject +{ + Q_OBJECT +public: + PmIpkg( PackageManagerSettings* , QWidget* p=0, const char * name=0, WFlags f=0 ); + // PmIpkg( QObject*, PackageManagerSettings* ); + ~PmIpkg(); + + PackageList* getPackageList(); + +private: + PackageManagerSettings* settings; + QCopChannel *linkDest; + void processLinkDir( QString, QString ); + + +public: + void makeLinks(QString); + int runIpkg(const QString& args); + void commit( PackageList ); + +public slots: + void linkDestination( QString, QString ); +}; + +#endif |