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
Afficher le fichier Open project: mrsharpoblunto/MGDF

Méthodes publiques

Méthode 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

Méthode 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 méthode

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
Résultat void

InstallGame() public méthode

public InstallGame ( string gdfBinPath, string gameInstallPath, string gameExecutable, string arguments ) : System.Guid
gdfBinPath string
gameInstallPath string
gameExecutable string
arguments string
Résultat System.Guid

IsInstalled() public méthode

public IsInstalled ( string gdfBinPath ) : bool
gdfBinPath string
Résultat bool

UninstallGame() public méthode

public UninstallGame ( string gdfBinPath ) : void
gdfBinPath string
Résultat void