diff options
author | Teus Benschop <teusjannette@gmail.com> | 2018-10-28 11:51:26 +0100 |
---|---|---|
committer | Teus Benschop <teusjannette@gmail.com> | 2018-10-28 11:51:26 +0100 |
commit | 1d0ff54794b5edea7cdf1d2d66710a0fa885bcc5 (patch) | |
tree | 8ece5f9ef437fbb151f2b22ed0c6e1a714879c7c /include/rtranspgdrive.h | |
parent | c7dbdc9161a7c460526b80fe01af49d714856126 (diff) |
New upstream version 1.8.1
Diffstat (limited to 'include/rtranspgdrive.h')
-rw-r--r-- | include/rtranspgdrive.h | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/include/rtranspgdrive.h b/include/rtranspgdrive.h new file mode 100644 index 0000000..4a87789 --- /dev/null +++ b/include/rtranspgdrive.h @@ -0,0 +1,45 @@ +/****************************************************************************** + * + * rtranspgdrive.h - code for Google Drive impl of Remote Transport + * + * $Id$ + * + * Copyright 2004-2017 CrossWire Bible Society (http://www.crosswire.org) + * CrossWire Bible Society + * P. O. Box 2528 + * Tempe, AZ 85280-2528 + * + * This program is free software; you can redistribute it and/or modify it + * under the terms of the GNU General Public License as published by the + * Free Software Foundation version 2. + * + * This program is distributed in the hope that it will be useful, but + * WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * General Public License for more details. + * + */ + +#ifndef RTRANSPGDRIVE_H +#define RTRANSPGDRIVE_H + +#include <defs.h> +#include <remotetrans.h> + +SWORD_NAMESPACE_START + + +class SWDLLEXPORT RTransportGDrive : public RemoteTransport { + +public: + RTransportGDrive(const char *host, StatusReporter *statusReporter = 0); + ~RTransportGDrive(); + + virtual char getURL(const char *destPath, const char *sourceURL, SWBuf *destBuf = 0); + virtual char putURL(const char *destURL, const char *sourcePath, SWBuf *sourceBuf = 0); +}; + + +SWORD_NAMESPACE_END + +#endif |