Commit 353b2a36 authored by Guillaume Charifi's avatar Guillaume Charifi

ISteamRemoteStorage: Implement GetFileTimestamp().

Signed-off-by: Guillaume Charifi's avatarGuillaume Charifi <guillaume.charifi@sfr.fr>
parent 4c91ebdd
Pipeline #943 passed with stages
in 3 minutes and 8 seconds
......@@ -84,6 +84,15 @@ MEMBER int32_t ISteamRemoteStorage_GetFileSize(struct ISteamRemoteStorage *iface
return 0;
}
MEMBER int64_t ISteamRemoteStorage_GetFileTimestamp(struct ISteamRemoteStorage *iface, const char *filename)
{
struct ISteamRemoteStorageImpl *This = impl_from_ISteamRemoteStorage(iface);
LOG_ENTER_NOTIMPL("(This = %p, filename = \"%s\")", VOIDPTR(This), debug_str(filename));
return 0;
}
MEMBER int32_t ISteamRemoteStorage_GetFileCount(struct ISteamRemoteStorage *iface)
{
struct ISteamRemoteStorageImpl *This = impl_from_ISteamRemoteStorage(iface);
......
......@@ -17,7 +17,7 @@ static const struct ISteamRemoteStorage012Vtbl ISteamRemoteStorage012_vtbl = {
ISteamRemoteStorage_FileExists,
INVAL_PTR,
ISteamRemoteStorage_GetFileSize,
INVAL_PTR,
ISteamRemoteStorage_GetFileTimestamp,
INVAL_PTR,
ISteamRemoteStorage_GetFileCount,
INVAL_PTR,
......
......@@ -22,7 +22,7 @@ struct ISteamRemoteStorage012Vtbl
MEMBER steam_bool_t (*FileExists)(struct ISteamRemoteStorage *iface, const char *filename);
void *FilePersisted;
MEMBER int32_t (*GetFileSize)(struct ISteamRemoteStorage *iface, const char *filename);
void *GetFileTimestamp;
MEMBER int64_t (*GetFileTimestamp)(struct ISteamRemoteStorage *iface, const char *filename);
void *GetSyncPlatforms;
MEMBER int32_t (*GetFileCount)(struct ISteamRemoteStorage *iface);
void *GetFileNameAndSize;
......
......@@ -20,7 +20,7 @@ static const struct ISteamRemoteStorage013Vtbl ISteamRemoteStorage013_vtbl = {
ISteamRemoteStorage_FileExists,
INVAL_PTR,
ISteamRemoteStorage_GetFileSize,
INVAL_PTR,
ISteamRemoteStorage_GetFileTimestamp,
INVAL_PTR,
ISteamRemoteStorage_GetFileCount,
INVAL_PTR,
......
......@@ -25,7 +25,7 @@ struct ISteamRemoteStorage013Vtbl
MEMBER steam_bool_t (*FileExists)(struct ISteamRemoteStorage *iface, const char *filename);
void *FilePersisted;
MEMBER int32_t (*GetFileSize)(struct ISteamRemoteStorage *iface, const char *filename);
void *GetFileTimestamp;
MEMBER int64_t (*GetFileTimestamp)(struct ISteamRemoteStorage *iface, const char *filename);
void *GetSyncPlatforms;
MEMBER int32_t (*GetFileCount)(struct ISteamRemoteStorage *iface);
void *GetFileNameAndSize;
......
......@@ -20,7 +20,7 @@ static const struct ISteamRemoteStorage014Vtbl ISteamRemoteStorage014_vtbl = {
ISteamRemoteStorage_FileExists,
INVAL_PTR,
ISteamRemoteStorage_GetFileSize,
INVAL_PTR,
ISteamRemoteStorage_GetFileTimestamp,
INVAL_PTR,
ISteamRemoteStorage_GetFileCount,
INVAL_PTR,
......
......@@ -25,7 +25,7 @@ struct ISteamRemoteStorage014Vtbl
MEMBER steam_bool_t (*FileExists)(struct ISteamRemoteStorage *iface, const char *filename);
void *FilePersisted;
MEMBER int32_t (*GetFileSize)(struct ISteamRemoteStorage *iface, const char *filename);
void *GetFileTimestamp;
MEMBER int64_t (*GetFileTimestamp)(struct ISteamRemoteStorage *iface, const char *filename);
void *GetSyncPlatforms;
MEMBER int32_t (*GetFileCount)(struct ISteamRemoteStorage *iface);
void *GetFileNameAndSize;
......
......@@ -22,6 +22,7 @@ MEMBER steam_bool_t ISteamRemoteStorage_FileWriteStreamClose(struct ISteamRemote
MEMBER steam_bool_t ISteamRemoteStorage_FileWriteStreamCancel(struct ISteamRemoteStorage *iface, steam_ugc_file_write_stream_handle_t handle);
MEMBER steam_bool_t ISteamRemoteStorage_FileExists(struct ISteamRemoteStorage *iface, const char *filename);
MEMBER int32_t ISteamRemoteStorage_GetFileSize(struct ISteamRemoteStorage *iface, const char *filename);
MEMBER int64_t ISteamRemoteStorage_GetFileTimestamp(struct ISteamRemoteStorage *iface, const char *filename);
MEMBER int32_t ISteamRemoteStorage_GetFileCount(struct ISteamRemoteStorage *iface);
MEMBER steam_bool_t ISteamRemoteStorage_GetQuota(struct ISteamRemoteStorage *iface, int32_t *total_bytes, int32_t *available_bytes);
MEMBER steam_bool_t ISteamRemoteStorage014_GetQuota(struct ISteamRemoteStorage *iface, uint64_t *total_bytes, uint64_t *available_bytes);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment