summaryrefslogtreecommitdiff
path: root/apt-pkg/edsp/edspwriter.cc
diff options
context:
space:
mode:
authorDavid Kalnischkies <kalnischkies@gmail.com>2011-03-31 14:56:10 +0200
committerDavid Kalnischkies <kalnischkies@gmail.com>2011-03-31 14:56:10 +0200
commit29099cb6855af2e465d26e888160e4f97bda4f0b (patch)
tree116d2ee9aa48c0feb7adb95ddddd4c085dacb12b /apt-pkg/edsp/edspwriter.cc
parent85bcab87a3c6f8d4b1369a5a4bd5a73a28f41dce (diff)
add the methods we will need to write to make working with EDSP possible
Diffstat (limited to 'apt-pkg/edsp/edspwriter.cc')
-rw-r--r--apt-pkg/edsp/edspwriter.cc12
1 files changed, 11 insertions, 1 deletions
diff --git a/apt-pkg/edsp/edspwriter.cc b/apt-pkg/edsp/edspwriter.cc
index 5c741c45d..2f6bde5a1 100644
--- a/apt-pkg/edsp/edspwriter.cc
+++ b/apt-pkg/edsp/edspwriter.cc
@@ -17,7 +17,7 @@
#include <stdio.h>
/*}}}*/
-// edspWriter::WriteUniverse - to the given file descriptor /*{{{*/
+// edspWriter::WriteScenario - to the given file descriptor /*{{{*/
bool edspWriter::WriteScenario(pkgDepCache &Cache, FILE* output)
{
// we could use pkgCache::DepType and ::Priority, but these would be lokalized stringsā€¦
@@ -128,6 +128,15 @@ bool edspWriter::WriteRequest(pkgDepCache &Cache, FILE* output)
return true;
}
/*}}}*/
+bool edspWriter::ReadResponse(FILE* input, pkgDepCache &Cache) { return false; }
+
+bool edspWriter::ReadRequest(FILE* input, std::list<std::string> &install,
+ std::list<std::string> &remove)
+{ return false; }
+bool edspWriter::ApplyRequest(std::list<std::string> const &install,
+ std::list<std::string> const &remove,
+ pkgDepCache &Cache)
+{ return false; }
// edspWriter::WriteSolution - to the given file descriptor /*{{{*/
bool edspWriter::WriteSolution(pkgDepCache &Cache, FILE* output)
{
@@ -148,3 +157,4 @@ bool edspWriter::WriteSolution(pkgDepCache &Cache, FILE* output)
return true;
}
/*}}}*/
+bool edspWriter::WriteError(std::string const &message, FILE* output) { return false; }