aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/Qt/qportagesettings.cpp84
-rw-r--r--src/Qt/qportagesettings.h42
2 files changed, 126 insertions, 0 deletions
diff --git a/src/Qt/qportagesettings.cpp b/src/Qt/qportagesettings.cpp
new file mode 100644
index 0000000..4fbccb0
--- /dev/null
+++ b/src/Qt/qportagesettings.cpp
@@ -0,0 +1,84 @@
+#include "qportagesettings.h"
+
+#include <QStringList>
+#include <QString>
+
+namespace CppPortage{
+
+PortageSettings::PortageSettings(QObject *parent)
+ :QObject(parent)
+{
+
+}
+
+
+PortageSettings::~PortageSettings()
+{
+
+}
+
+int PortageSettings::ResetUseFlags()
+{
+
+}
+int PortageSettings::Reset()
+{
+
+}
+int PortageSettings::ReloadConfig()
+{
+
+}
+int PortageSettings::ReloadWorld()
+{
+
+}
+QStringList PortageSettings::GetWorld()
+{
+
+}
+QStringList PortageSettings::GetArchList()
+{
+
+}
+QStringList PortageSettings::GetVirtuals()
+{
+
+}
+
+
+const QString PortageSettings::AcceptKeywords()
+{
+
+}
+const QStringList PortageSettings::SystemUseFlags()
+{
+
+}
+const QString PortageSettings::Arch()
+{
+
+}
+const QString PortageSettings::Portdir()
+{
+
+}
+const QString PortageSettings::PortdirOverlay()
+{
+
+}
+const QString PortageSettings::UserConfigDir()
+{
+
+}
+
+
+void PortageSettings::Free()
+{
+
+}
+
+}
+
+
+#include "qportagesettings.moc" \ No newline at end of file
diff --git a/src/Qt/qportagesettings.h b/src/Qt/qportagesettings.h
new file mode 100644
index 0000000..4034dd1
--- /dev/null
+++ b/src/Qt/qportagesettings.h
@@ -0,0 +1,42 @@
+#ifndef QPORTAGESETTINGS_H
+#define QPORTAGESETTINGS_H
+
+
+#include <QObject>
+#include <portagesettings.h>
+
+
+namespace CppPortage {
+
+ class QString;
+ class QStringList;
+
+class PortageSettings : public Q_OBJECT
+{
+ Q_OBJECT
+public:
+ PortageSettings(QObject *parent = 0);
+ virtual ~PortageSettings();
+
+
+int ResetUseFlags(PortageSettings*);
+int Reset(PortageSettings*);
+int ReloadConfig(PortageSettings*);
+int ReloadWorld(PortageSettings*);
+QStringList GetWorld(PortageSettings*);
+QStringList GetArchList(PortageSettings*);
+QStringList GetVirtuals(PortageSettings*);
+
+
+const QString AcceptKeywords(PortageSettings*);
+const QStringList SystemUseFlags(PortageSettings*);
+const QString Arch(PortageSettings*);
+const QString Portdir(PortageSettings*);
+const QString PortdirOverlay(PortageSettings*);
+const QString UserConfigDir(PortageSettings*);
+
+
+void portageSettingsFree(PortageSettings*);
+};
+}
+#endif \ No newline at end of file