C# Class MGDF.GamesManager.Model.GameExplorer

Add/remove Games to the Vista games explorer, if not on vista, the install/uninstall actions do nothing
Inheritance: IGameExplorer
Mostra file Open project: mrsharpoblunto/MGDF

Public Methods

Method Description
AddGameTask ( System.Guid guid, TaskCount count, string name, string path, string arguments ) : void
InstallGame ( string gdfBinPath, string gameInstallPath, string gameExecutable, string arguments ) : System.Guid
IsInstalled ( string gdfBinPath ) : bool
UninstallGame ( string gdfBinPath ) : void

Private Methods

Method Description
AddToGameExplorer ( string gdfBinPath, string gameInstallPath, GameInstallScope scope, [ instanceGuid ) : int
CreateTask ( GameInstallScope scope, [ instanceGuid, TaskType taskType, uint count, string name, string path, string arguments ) : int
RemoveFromGameExplorer ( [ instanceGuid ) : int
RemoveTasks ( [ instanceGuid ) : int
RetrieveGUIDForApplication ( string gdfBinPath, System.Guid &instanceGuid ) : int

Method Details

AddGameTask() public method

public AddGameTask ( System.Guid guid, TaskCount count, string name, string path, string arguments ) : void
guid System.Guid
count TaskCount
name string
path string
arguments string
return void

InstallGame() public method

public InstallGame ( string gdfBinPath, string gameInstallPath, string gameExecutable, string arguments ) : System.Guid
gdfBinPath string
gameInstallPath string
gameExecutable string
arguments string
return System.Guid

IsInstalled() public method

public IsInstalled ( string gdfBinPath ) : bool
gdfBinPath string
return bool

UninstallGame() public method

public UninstallGame ( string gdfBinPath ) : void
gdfBinPath string
return void