ReactOS 0.4.16-dev-1151-g3842b59
|
#include <appdb.h>
Public Member Functions | |
CAppDB (const CStringW &path) | |
VOID | GetApps (CAtlList< CAppInfo * > &List, AppsCategories Type) const |
CAvailableApplicationInfo * | FindAvailableByPackageName (const CStringW &name) |
CAppInfo * | FindByPackageName (const CStringW &name) |
VOID | UpdateAvailable () |
VOID | UpdateInstalled () |
VOID | RemoveCached () |
size_t | GetAvailableCount () const |
Static Public Member Functions | |
static CStringW | GetDefaultPath () |
static DWORD | RemoveInstalledAppFromRegistry (const CAppInfo *Info) |
static CInstalledApplicationInfo * | CreateInstalledAppByRegistryKey (LPCWSTR Name) |
static CInstalledApplicationInfo * | CreateInstalledAppInstance (LPCWSTR KeyName, BOOL User, REGSAM WowSam) |
static HKEY | EnumInstalledRootKey (UINT Index, REGSAM &RegSam) |
Private Member Functions | |
BOOL | EnumerateFiles () |
Static Private Member Functions | |
static CInstalledApplicationInfo * | EnumerateRegistry (CAtlList< CAppInfo * > *List, LPCWSTR Name) |
static CInstalledApplicationInfo * | CreateInstalledAppByRegistryKey (LPCWSTR KeyName, HKEY hKeyParent, UINT KeyIndex) |
Private Attributes | |
CPathW | m_BasePath |
CAtlList< CAppInfo * > | m_Available |
CAtlList< CAppInfo * > | m_Installed |
|
staticprivate |
Definition at line 178 of file appdb.cpp.
Referenced by CreateInstalledAppInstance(), EnumerateRegistry(), and HandleUninstallCommand().
|
static |
Definition at line 254 of file appdb.cpp.
|
static |
Definition at line 260 of file appdb.cpp.
Referenced by HandleUninstallCommand().
|
private |
Definition at line 81 of file appdb.cpp.
Referenced by UpdateAvailable().
|
staticprivate |
Definition at line 207 of file appdb.cpp.
Referenced by CreateInstalledAppByRegistryKey(), and UpdateInstalled().
Definition at line 166 of file appdb.cpp.
Referenced by EnumerateRegistry().
CAvailableApplicationInfo * CAppDB::FindAvailableByPackageName | ( | const CStringW & | name | ) |
Definition at line 47 of file appdb.cpp.
Referenced by ExtractArchiveForExecution(), FindByPackageName(), HandleGenerateInstallerCommand(), and HandleUninstallCommand().
Definition at line 34 of file appdb.h.
Referenced by EnumerateFiles(), HandleInfoCommand(), HandleInstallCommand(), and HandleSetupCommand().
void CAppDB::GetApps | ( | CAtlList< CAppInfo * > & | List, |
AppsCategories | Type | ||
) | const |
Definition at line 62 of file appdb.cpp.
Referenced by HandleFindCommand(), SearchForAppWithDisplayName(), and CMainWindow::UpdateApplicationsList().
|
inline |
|
static |
Definition at line 39 of file appdb.cpp.
Referenced by ExtractArchiveForExecution(), and ParseCmdAndExecute().
VOID CAppDB::RemoveCached | ( | ) |
Definition at line 300 of file appdb.cpp.
Referenced by CMainWindow::CheckAvailable(), CMainWindow::OnCommand(), and ParseCmdAndExecute().
Definition at line 324 of file appdb.cpp.
Referenced by CMainWindow::RemoveSelectedAppFromRegistry(), and UninstallThread().
VOID CAppDB::UpdateAvailable | ( | ) |
Definition at line 130 of file appdb.cpp.
Referenced by CMainWindow::CheckAvailable(), ExtractArchiveForExecution(), ParseCmdAndExecute(), and CMainWindow::UpdateApplicationsList().
VOID CAppDB::UpdateInstalled | ( | ) |
Definition at line 245 of file appdb.cpp.
Referenced by ParseCmdAndExecute(), and CMainWindow::UpdateApplicationsList().
Definition at line 12 of file appdb.h.
Referenced by EnumerateFiles(), FindAvailableByPackageName(), GetApps(), and GetAvailableCount().
|
private |
Definition at line 11 of file appdb.h.
Referenced by CAppDB(), EnumerateFiles(), RemoveCached(), and UpdateAvailable().
Definition at line 13 of file appdb.h.
Referenced by GetApps(), and UpdateInstalled().