aboutsummaryrefslogtreecommitdiffstats
path: root/sisinstall/fakepsion.h
diff options
context:
space:
mode:
authorDaniel Brahneborg <basic@chello.se>2002-03-02 23:27:47 +0000
committerDaniel Brahneborg <basic@chello.se>2002-03-02 23:27:47 +0000
commit6f49fd782b8935b8caf7cea7bcb6e10644851b13 (patch)
tree3ad7ed335500fbec9ffe59299079760b810c0ce2 /sisinstall/fakepsion.h
parent4f497127917554c3a7249658feee9f5bbae84b88 (diff)
downloadplptools-6f49fd782b8935b8caf7cea7bcb6e10644851b13.tar.gz
plptools-6f49fd782b8935b8caf7cea7bcb6e10644851b13.tar.bz2
plptools-6f49fd782b8935b8caf7cea7bcb6e10644851b13.zip
Actually copy stuff to the psion, and lots of other updates.
Diffstat (limited to 'sisinstall/fakepsion.h')
-rw-r--r--sisinstall/fakepsion.h34
1 files changed, 34 insertions, 0 deletions
diff --git a/sisinstall/fakepsion.h b/sisinstall/fakepsion.h
new file mode 100644
index 0000000..d53dafd
--- /dev/null
+++ b/sisinstall/fakepsion.h
@@ -0,0 +1,34 @@
+#ifndef _FAKEPSION_H
+#define _FAKEPSION_H
+
+#include "psion.h"
+
+/**
+ * A dummy version of the Psion proxy, mainly for testing the installer.
+ */
+class FakePsion : public Psion
+{
+public:
+
+ virtual ~FakePsion();
+
+ virtual bool connect();
+
+ virtual Enum<rfsv::errs> copyToPsion(const char * const from,
+ const char * const to,
+ void *, cpCallback_t func);
+
+ virtual Enum<rfsv::errs> devinfo(const char drive, PlpDrive& plpDrive);
+
+ virtual Enum<rfsv::errs> devlist(u_int32_t& devbits);
+
+ virtual bool dirExists(const char* name);
+
+ virtual void disconnect();
+
+ virtual Enum<rfsv::errs> mkdir(const char* dir);
+
+};
+
+#endif
+