mirror of
https://github.com/J-D-K/JKSV.git
synced 2026-03-21 17:24:37 -05:00
- Created common interface that GDrive and Webdav implement (rfs::IRemoteFS) - Moved shared functionality into shared interface/implementation - drive.h/.cpp was replaced by remote.h/.cpp - fld.cpp now gets a copy of RfsItem (former gdIems), because the implementation is not required to retain these (e.g. Webdav does not) - UI presentation changed from [GD] to [R] (Remote)
21 lines
321 B
C++
21 lines
321 B
C++
#pragma once
|
|
|
|
#include "../rfs.h"
|
|
|
|
#define JKSV_DRIVE_FOLDER "JKSV"
|
|
|
|
namespace fs
|
|
{
|
|
extern rfs::IRemoteFS *rfs;
|
|
extern std::string rfsRootID;
|
|
|
|
void remoteInit();
|
|
void remoteExit();
|
|
|
|
// Google Drive
|
|
void driveInit();
|
|
std::string driveSignInGetAuthCode();
|
|
|
|
// Webdav
|
|
void webDavInit();
|
|
} |