aboutsummaryrefslogtreecommitdiffstats
path: root/sisinstall/fakepsion.h
blob: dfd741f8f448cf0e078600f67fb2b613617057e9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
#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 Enum<rfsv::errs> dir(const char* dir, PlpDir& files);

	virtual bool dirExists(const char* name);

	virtual void disconnect();

	virtual Enum<rfsv::errs> mkdir(const char* dir);

	virtual void remove(const char* name);

};

#endif