Skip to content

Commit 49f3554

Browse files
committed
Initial commit to version control
0 parents  commit 49f3554

20 files changed

+3248
-0
lines changed

.gitignore

Lines changed: 217 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,217 @@
1+
## Ignore Visual Studio temporary files, build results, and
2+
## files generated by popular Visual Studio add-ons.
3+
4+
# User-specific files
5+
*.suo
6+
*.user
7+
*.sln.docstates
8+
9+
# Build results
10+
[Dd]ebug/
11+
[Dd]ebugPublic/
12+
[Rr]elease/
13+
x64/
14+
build/
15+
bld/
16+
[Bb]in/
17+
[Oo]bj/
18+
19+
# MSTest test Results
20+
[Tt]est[Rr]esult*/
21+
[Bb]uild[Ll]og.*
22+
23+
#NUNIT
24+
*.VisualState.xml
25+
TestResult.xml
26+
27+
# Build Results of an ATL Project
28+
[Dd]ebugPS/
29+
[Rr]eleasePS/
30+
dlldata.c
31+
32+
*_i.c
33+
*_p.c
34+
*_i.h
35+
*.ilk
36+
*.meta
37+
*.obj
38+
*.pch
39+
*.pdb
40+
*.pgc
41+
*.pgd
42+
*.rsp
43+
*.sbr
44+
*.tlb
45+
*.tli
46+
*.tlh
47+
*.tmp
48+
*.tmp_proj
49+
*.log
50+
*.vspscc
51+
*.vssscc
52+
.builds
53+
*.pidb
54+
*.svclog
55+
*.scc
56+
57+
# Chutzpah Test files
58+
_Chutzpah*
59+
60+
# Visual C++ cache files
61+
ipch/
62+
*.aps
63+
*.ncb
64+
*.opensdf
65+
*.sdf
66+
*.cachefile
67+
68+
# Visual Studio profiler
69+
*.psess
70+
*.vsp
71+
*.vspx
72+
73+
# TFS 2012 Local Workspace
74+
$tf/
75+
76+
# Guidance Automation Toolkit
77+
*.gpState
78+
79+
# ReSharper is a .NET coding add-in
80+
_ReSharper*/
81+
*.[Rr]e[Ss]harper
82+
*.DotSettings.user
83+
84+
# JustCode is a .NET coding addin-in
85+
.JustCode
86+
87+
# TeamCity is a build add-in
88+
_TeamCity*
89+
90+
# DotCover is a Code Coverage Tool
91+
*.dotCover
92+
93+
# NCrunch
94+
*.ncrunch*
95+
_NCrunch_*
96+
.*crunch*.local.xml
97+
98+
# MightyMoose
99+
*.mm.*
100+
AutoTest.Net/
101+
102+
# Web workbench (sass)
103+
.sass-cache/
104+
105+
# Installshield output folder
106+
[Ee]xpress/
107+
108+
# DocProject is a documentation generator add-in
109+
DocProject/buildhelp/
110+
DocProject/Help/*.HxT
111+
DocProject/Help/*.HxC
112+
DocProject/Help/*.hhc
113+
DocProject/Help/*.hhk
114+
DocProject/Help/*.hhp
115+
DocProject/Help/Html2
116+
DocProject/Help/html
117+
118+
# Click-Once directory
119+
publish/
120+
121+
# Publish Web Output
122+
*.[Pp]ublish.xml
123+
*.azurePubxml
124+
125+
# NuGet Packages Directory
126+
packages/
127+
## TODO: If the tool you use requires repositories.config uncomment the next line
128+
#!packages/repositories.config
129+
130+
# Enable "build/" folder in the NuGet Packages folder since NuGet packages use it for MSBuild targets
131+
# This line needs to be after the ignore of the build folder (and the packages folder if the line above has been uncommented)
132+
!packages/build/
133+
134+
# Windows Azure Build Output
135+
csx/
136+
*.build.csdef
137+
138+
# Windows Store app package directory
139+
AppPackages/
140+
141+
# Others
142+
sql/
143+
*.Cache
144+
ClientBin/
145+
[Ss]tyle[Cc]op.*
146+
~$*
147+
*~
148+
*.dbmdl
149+
*.dbproj.schemaview
150+
*.pfx
151+
*.publishsettings
152+
node_modules/
153+
154+
# Strong name keys
155+
*.snk
156+
157+
# RIA/Silverlight projects
158+
Generated_Code/
159+
160+
# Backup & report files from converting an old project file to a newer
161+
# Visual Studio version. Backup files are not needed, because we have git ;-)
162+
_UpgradeReport_Files/
163+
Backup*/
164+
UpgradeLog*.XML
165+
UpgradeLog*.htm
166+
167+
# SQL Server files
168+
*.mdf
169+
*.ldf
170+
171+
# Business Intelligence projects
172+
*.rdl.data
173+
*.bim.layout
174+
*.bim_*.settings
175+
176+
# Microsoft Fakes
177+
FakesAssemblies/
178+
179+
# =========================
180+
# Operating System Files
181+
# =========================
182+
183+
# OSX
184+
# =========================
185+
186+
.DS_Store
187+
.AppleDouble
188+
.LSOverride
189+
190+
# Icon must ends with two \r.
191+
Icon
192+
193+
# Thumbnails
194+
._*
195+
196+
# Files that might appear on external disk
197+
.Spotlight-V100
198+
.Trashes
199+
200+
# Windows
201+
# =========================
202+
203+
# Windows image file caches
204+
Thumbs.db
205+
ehthumbs.db
206+
207+
# Folder config file
208+
Desktop.ini
209+
210+
# Recycle Bin used on file shares
211+
$RECYCLE.BIN/
212+
213+
# Windows Installer files
214+
*.cab
215+
*.msi
216+
*.msm
217+
*.msp

SteamCloudFileManager.sln

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
2+
Microsoft Visual Studio Solution File, Format Version 12.00
3+
# Visual Studio 2013
4+
VisualStudioVersion = 12.0.31101.0
5+
MinimumVisualStudioVersion = 10.0.40219.1
6+
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SteamCloudFileManager", "SteamCloudFileManager\SteamCloudFileManager.csproj", "{58AAE4A4-3134-427E-A621-71DA133954E8}"
7+
EndProject
8+
Global
9+
GlobalSection(SolutionConfigurationPlatforms) = preSolution
10+
Debug|Any CPU = Debug|Any CPU
11+
Debug|x86 = Debug|x86
12+
Release|Any CPU = Release|Any CPU
13+
Release|x86 = Release|x86
14+
EndGlobalSection
15+
GlobalSection(ProjectConfigurationPlatforms) = postSolution
16+
{58AAE4A4-3134-427E-A621-71DA133954E8}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
17+
{58AAE4A4-3134-427E-A621-71DA133954E8}.Debug|Any CPU.Build.0 = Debug|Any CPU
18+
{58AAE4A4-3134-427E-A621-71DA133954E8}.Debug|x86.ActiveCfg = Debug|x86
19+
{58AAE4A4-3134-427E-A621-71DA133954E8}.Debug|x86.Build.0 = Debug|x86
20+
{58AAE4A4-3134-427E-A621-71DA133954E8}.Release|Any CPU.ActiveCfg = Release|Any CPU
21+
{58AAE4A4-3134-427E-A621-71DA133954E8}.Release|Any CPU.Build.0 = Release|Any CPU
22+
{58AAE4A4-3134-427E-A621-71DA133954E8}.Release|x86.ActiveCfg = Release|x86
23+
{58AAE4A4-3134-427E-A621-71DA133954E8}.Release|x86.Build.0 = Release|x86
24+
EndGlobalSection
25+
GlobalSection(SolutionProperties) = preSolution
26+
HideSolutionNode = FALSE
27+
EndGlobalSection
28+
EndGlobal

SteamCloudFileManager/IRemoteFile.cs

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
using System;
2+
using Steamworks;
3+
4+
namespace SteamCloudFileManager
5+
{
6+
interface IRemoteFile
7+
{
8+
bool Delete();
9+
bool Exists { get; }
10+
bool Forget();
11+
bool IsPersisted { get; }
12+
string Name { get; }
13+
int Read(byte[] buffer, int count);
14+
byte[] ReadAllBytes();
15+
int Size { get; }
16+
ERemoteStoragePlatform SyncPlatforms { get; set; }
17+
DateTime Timestamp { get; }
18+
bool Write(byte[] buffer, int count);
19+
bool WriteAllBytes(byte[] buffer);
20+
}
21+
}
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
using System;
2+
using System.Collections.Generic;
3+
4+
namespace SteamCloudFileManager
5+
{
6+
interface IRemoteStorage
7+
{
8+
IRemoteFile GetFile(string name);
9+
List<IRemoteFile> GetFiles();
10+
bool GetQuota(out int totalBytes, out int availableBytes);
11+
bool IsCloudEnabledForAccount { get; }
12+
bool IsCloudEnabledForApp { get; set; }
13+
}
14+
}

0 commit comments

Comments
 (0)