diff options
author | Daniel Brahneborg <basic@chello.se> | 2002-03-02 23:27:47 +0000 |
---|---|---|
committer | Daniel Brahneborg <basic@chello.se> | 2002-03-02 23:27:47 +0000 |
commit | 6f49fd782b8935b8caf7cea7bcb6e10644851b13 (patch) | |
tree | 3ad7ed335500fbec9ffe59299079760b810c0ce2 /sisinstall/fakepsion.cpp | |
parent | 4f497127917554c3a7249658feee9f5bbae84b88 (diff) | |
download | plptools-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.cpp')
-rw-r--r-- | sisinstall/fakepsion.cpp | 53 |
1 files changed, 53 insertions, 0 deletions
diff --git a/sisinstall/fakepsion.cpp b/sisinstall/fakepsion.cpp new file mode 100644 index 0000000..49defca --- /dev/null +++ b/sisinstall/fakepsion.cpp @@ -0,0 +1,53 @@ + +#include "fakepsion.h" + +#include <stdio.h> + +FakePsion::~FakePsion() +{ +} + +bool +FakePsion::connect() +{ + return true; +} + +Enum<rfsv::errs> +FakePsion::copyToPsion(const char * const from, const char * const to, + void *, cpCallback_t func) +{ + printf(" -- Not really copying %s to %s\n", from, to); + return rfsv::E_PSI_GEN_NONE; +} + +Enum<rfsv::errs> +FakePsion::devinfo(const char drive, PlpDrive& plpDrive) +{ + return rfsv::E_PSI_GEN_NONE; +} + +Enum<rfsv::errs> +FakePsion::devlist(u_int32_t& devbits) +{ + return rfsv::E_PSI_GEN_FAIL; +} + +bool +FakePsion::dirExists(const char* name) +{ + return true; +} + +void +FakePsion::disconnect() +{ +} + +Enum<rfsv::errs> +FakePsion::mkdir(const char* dir) +{ + printf(" -- Not really creating dir %s\n", dir); + return rfsv::E_PSI_GEN_NONE; +} + |