Skip to content

Commit

Permalink
Initial commit to version control
Browse files Browse the repository at this point in the history
  • Loading branch information
GMMan committed Feb 19, 2015
0 parents commit 49f3554
Show file tree
Hide file tree
Showing 20 changed files with 3,248 additions and 0 deletions.
217 changes: 217 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,217 @@
## Ignore Visual Studio temporary files, build results, and
## files generated by popular Visual Studio add-ons.

# User-specific files
*.suo
*.user
*.sln.docstates

# Build results
[Dd]ebug/
[Dd]ebugPublic/
[Rr]elease/
x64/
build/
bld/
[Bb]in/
[Oo]bj/

# MSTest test Results
[Tt]est[Rr]esult*/
[Bb]uild[Ll]og.*

#NUNIT
*.VisualState.xml
TestResult.xml

# Build Results of an ATL Project
[Dd]ebugPS/
[Rr]eleasePS/
dlldata.c

*_i.c
*_p.c
*_i.h
*.ilk
*.meta
*.obj
*.pch
*.pdb
*.pgc
*.pgd
*.rsp
*.sbr
*.tlb
*.tli
*.tlh
*.tmp
*.tmp_proj
*.log
*.vspscc
*.vssscc
.builds
*.pidb
*.svclog
*.scc

# Chutzpah Test files
_Chutzpah*

# Visual C++ cache files
ipch/
*.aps
*.ncb
*.opensdf
*.sdf
*.cachefile

# Visual Studio profiler
*.psess
*.vsp
*.vspx

# TFS 2012 Local Workspace
$tf/

# Guidance Automation Toolkit
*.gpState

# ReSharper is a .NET coding add-in
_ReSharper*/
*.[Rr]e[Ss]harper
*.DotSettings.user

# JustCode is a .NET coding addin-in
.JustCode

# TeamCity is a build add-in
_TeamCity*

# DotCover is a Code Coverage Tool
*.dotCover

# NCrunch
*.ncrunch*
_NCrunch_*
.*crunch*.local.xml

# MightyMoose
*.mm.*
AutoTest.Net/

# Web workbench (sass)
.sass-cache/

# Installshield output folder
[Ee]xpress/

# DocProject is a documentation generator add-in
DocProject/buildhelp/
DocProject/Help/*.HxT
DocProject/Help/*.HxC
DocProject/Help/*.hhc
DocProject/Help/*.hhk
DocProject/Help/*.hhp
DocProject/Help/Html2
DocProject/Help/html

# Click-Once directory
publish/

# Publish Web Output
*.[Pp]ublish.xml
*.azurePubxml

# NuGet Packages Directory
packages/
## TODO: If the tool you use requires repositories.config uncomment the next line
#!packages/repositories.config

# Enable "build/" folder in the NuGet Packages folder since NuGet packages use it for MSBuild targets
# This line needs to be after the ignore of the build folder (and the packages folder if the line above has been uncommented)
!packages/build/

# Windows Azure Build Output
csx/
*.build.csdef

# Windows Store app package directory
AppPackages/

# Others
sql/
*.Cache
ClientBin/
[Ss]tyle[Cc]op.*
~$*
*~
*.dbmdl
*.dbproj.schemaview
*.pfx
*.publishsettings
node_modules/

# Strong name keys
*.snk

# RIA/Silverlight projects
Generated_Code/

# Backup & report files from converting an old project file to a newer
# Visual Studio version. Backup files are not needed, because we have git ;-)
_UpgradeReport_Files/
Backup*/
UpgradeLog*.XML
UpgradeLog*.htm

# SQL Server files
*.mdf
*.ldf

# Business Intelligence projects
*.rdl.data
*.bim.layout
*.bim_*.settings

# Microsoft Fakes
FakesAssemblies/

# =========================
# Operating System Files
# =========================

# OSX
# =========================

.DS_Store
.AppleDouble
.LSOverride

# Icon must ends with two \r.
Icon

# Thumbnails
._*

# Files that might appear on external disk
.Spotlight-V100
.Trashes

# Windows
# =========================

# Windows image file caches
Thumbs.db
ehthumbs.db

# Folder config file
Desktop.ini

# Recycle Bin used on file shares
$RECYCLE.BIN/

# Windows Installer files
*.cab
*.msi
*.msm
*.msp
Expand Down
28 changes: 28 additions & 0 deletions SteamCloudFileManager.sln
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@

Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio 2013
VisualStudioVersion = 12.0.31101.0
MinimumVisualStudioVersion = 10.0.40219.1
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SteamCloudFileManager", "SteamCloudFileManager\SteamCloudFileManager.csproj", "{58AAE4A4-3134-427E-A621-71DA133954E8}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Debug|x86 = Debug|x86
Release|Any CPU = Release|Any CPU
Release|x86 = Release|x86
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{58AAE4A4-3134-427E-A621-71DA133954E8}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{58AAE4A4-3134-427E-A621-71DA133954E8}.Debug|Any CPU.Build.0 = Debug|Any CPU
{58AAE4A4-3134-427E-A621-71DA133954E8}.Debug|x86.ActiveCfg = Debug|x86
{58AAE4A4-3134-427E-A621-71DA133954E8}.Debug|x86.Build.0 = Debug|x86
{58AAE4A4-3134-427E-A621-71DA133954E8}.Release|Any CPU.ActiveCfg = Release|Any CPU
{58AAE4A4-3134-427E-A621-71DA133954E8}.Release|Any CPU.Build.0 = Release|Any CPU
{58AAE4A4-3134-427E-A621-71DA133954E8}.Release|x86.ActiveCfg = Release|x86
{58AAE4A4-3134-427E-A621-71DA133954E8}.Release|x86.Build.0 = Release|x86
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
EndGlobal
21 changes: 21 additions & 0 deletions SteamCloudFileManager/IRemoteFile.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
using System;
using Steamworks;

namespace SteamCloudFileManager
{
interface IRemoteFile
{
bool Delete();
bool Exists { get; }
bool Forget();
bool IsPersisted { get; }
string Name { get; }
int Read(byte[] buffer, int count);
byte[] ReadAllBytes();
int Size { get; }
ERemoteStoragePlatform SyncPlatforms { get; set; }
DateTime Timestamp { get; }
bool Write(byte[] buffer, int count);
bool WriteAllBytes(byte[] buffer);
}
}
14 changes: 14 additions & 0 deletions SteamCloudFileManager/IRemoteStorage.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
using System;
using System.Collections.Generic;

namespace SteamCloudFileManager
{
interface IRemoteStorage
{
IRemoteFile GetFile(string name);
List<IRemoteFile> GetFiles();
bool GetQuota(out int totalBytes, out int availableBytes);
bool IsCloudEnabledForAccount { get; }
bool IsCloudEnabledForApp { get; set; }
}
}
Loading

0 comments on commit 49f3554

Please sign in to comment.