aboutsummaryrefslogtreecommitdiffstats
path: root/plpftp/ftp.h
diff options
context:
space:
mode:
authorReuben Thomas <rrt@sc3d.org>2007-11-20 21:07:16 +0000
committerReuben Thomas <rrt@sc3d.org>2007-11-20 21:07:16 +0000
commitdb5455164865b4ad34868567e210523535a0f402 (patch)
tree659c3624d752299ec070f0de50f00c33392a9ed7 /plpftp/ftp.h
parent7defe9c60914726ee4916b92c5890dfc4ca41ad9 (diff)
downloadplptools-db5455164865b4ad34868567e210523535a0f402.tar.gz
plptools-db5455164865b4ad34868567e210523535a0f402.tar.bz2
plptools-db5455164865b4ad34868567e210523535a0f402.zip
Add "putclip" command to set the clipboard, using code from klipsi.
Diffstat (limited to 'plpftp/ftp.h')
-rw-r--r--plpftp/ftp.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/plpftp/ftp.h b/plpftp/ftp.h
index aabdf23..73e0586 100644
--- a/plpftp/ftp.h
+++ b/plpftp/ftp.h
@@ -38,11 +38,14 @@ class ftp {
public:
ftp();
~ftp();
- int session(rfsv & a, rpcs & r, int xargc, char **xargv);
+ int session(rfsv & a, rpcs & r, rclip & rc, ppsocket & rclipSocket, int xargc, char **xargv);
+ bool canClip;
- private:
+ private:
void getCommand(int &argc, char **argv);
void initReadline(void);
+ int putClipText(rpcs & r, rfsv & a, rclip & rc, ppsocket & rclipSocket, const char *data);
+ bool checkClipConnection(rfsv &a, rclip & rc, ppsocket & rclipSocket);
// utilities
bool unixDirExists(const char *dir);
@@ -60,7 +63,6 @@ class ftp {
#endif
char defDrive[9];
char localDir[1024];
- // char psionDir[1024];
};
#endif