summaryrefslogtreecommitdiff
path: root/apt-pkg/edsp/edspwriter.h
diff options
context:
space:
mode:
authorDavid Kalnischkies <kalnischkies@gmail.com>2011-03-30 17:23:43 +0200
committerDavid Kalnischkies <kalnischkies@gmail.com>2011-03-30 17:23:43 +0200
commit6d38011bb93451dd9da3294614d821c77ac91687 (patch)
tree4fd5c4c679ce39ff9599ed5e81c82c19c96185f4 /apt-pkg/edsp/edspwriter.h
parent92d956ea4d68789fa6d15702a4c2336039dcdb0f (diff)
add a first round of stuff needed for talking between APT and solvers
based on a very early draft for EDSP by Stefano APT can now write a scenario as well as load most stuff from it.
Diffstat (limited to 'apt-pkg/edsp/edspwriter.h')
-rw-r--r--apt-pkg/edsp/edspwriter.h19
1 files changed, 19 insertions, 0 deletions
diff --git a/apt-pkg/edsp/edspwriter.h b/apt-pkg/edsp/edspwriter.h
new file mode 100644
index 000000000..52923ff73
--- /dev/null
+++ b/apt-pkg/edsp/edspwriter.h
@@ -0,0 +1,19 @@
+// -*- mode: cpp; mode: fold -*-
+// Description /*{{{*/
+/* ######################################################################
+ Set of methods to help writing and reading everything needed for EDSP
+ ##################################################################### */
+ /*}}}*/
+#ifndef PKGLIB_EDSPWRITER_H
+#define PKGLIB_EDSPWRITER_H
+
+#include <apt-pkg/depcache.h>
+
+class edspWriter /*{{{*/
+{
+public:
+ bool static WriteUniverse(pkgDepCache &Cache, FILE* output);
+ bool static WriteRequest(pkgDepCache &Cache, FILE* output);
+};
+ /*}}}*/
+#endif