-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added Archive options for Compression and Copy
Added checkboxes to library cards of archives, allowing user to select whether compression is desired and whether to copy games instead of moving them when transferring in or out. This option writes a small archiveOptions.txt file in the archive directory to store these options, this way multiple Game Pipe clients connecting to the source will have the same options (no live updates though, it's only read at startup)
- Loading branch information
1 parent
7dcd441
commit fbdae57
Showing
8 changed files
with
163 additions
and
19 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
using System; | ||
using System.Collections.Generic; | ||
using System.Linq; | ||
using System.Text; | ||
using System.Threading.Tasks; | ||
using GamePipeLib.Model.Steam; | ||
|
||
namespace GamePipe.ViewModel | ||
{ | ||
public class SteamArchiveViewModel : SteamLibraryViewModel | ||
{ | ||
private SteamArchive _model; | ||
public SteamArchiveViewModel(SteamArchive model) : base(model) | ||
{ | ||
_model = model; | ||
} | ||
|
||
public bool CompressNewGames | ||
{ | ||
get | ||
{ | ||
return _model.CompressNewGames; | ||
} | ||
set | ||
{ | ||
_model.CompressNewGames = value; | ||
NotifyPropertyChanged("CompressNewGames"); | ||
} | ||
} | ||
public bool CopyInOut | ||
{ | ||
get | ||
{ | ||
return _model.CopyInOut; | ||
} | ||
set | ||
{ | ||
_model.CopyInOut = value; | ||
NotifyPropertyChanged("CopyInOut"); | ||
} | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters