ReactOS 0.4.16-dev-91-g764881a
|
#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 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 169 of file appdb.cpp.
Referenced by CreateInstalledAppInstance(), EnumerateRegistry(), and HandleUninstallCommand().
|
static |
Definition at line 245 of file appdb.cpp.
|
static |
Definition at line 251 of file appdb.cpp.
Referenced by HandleUninstallCommand().
|
private |
Definition at line 72 of file appdb.cpp.
Referenced by UpdateAvailable().
|
staticprivate |
Definition at line 198 of file appdb.cpp.
Referenced by CreateInstalledAppByRegistryKey(), and UpdateInstalled().
Definition at line 157 of file appdb.cpp.
Referenced by EnumerateRegistry().
CAvailableApplicationInfo * CAppDB::FindAvailableByPackageName | ( | const CStringW & | name | ) |
Definition at line 38 of file appdb.cpp.
Referenced by FindByPackageName(), HandleGenerateInstallerCommand(), and HandleUninstallCommand().
Definition at line 31 of file appdb.h.
Referenced by EnumerateFiles(), HandleInfoCommand(), HandleInstallCommand(), and HandleSetupCommand().
void CAppDB::GetApps | ( | CAtlList< CAppInfo * > & | List, |
AppsCategories | Type | ||
) | const |
Definition at line 53 of file appdb.cpp.
Referenced by HandleFindCommand(), SearchForAppWithDisplayName(), and CMainWindow::UpdateApplicationsList().
|
inline |
VOID CAppDB::RemoveCached | ( | ) |
Definition at line 291 of file appdb.cpp.
Referenced by CMainWindow::CheckAvailable(), CMainWindow::OnCommand(), and ParseCmdAndExecute().
Definition at line 315 of file appdb.cpp.
Referenced by CMainWindow::RemoveSelectedAppFromRegistry(), and UninstallThread().
VOID CAppDB::UpdateAvailable | ( | ) |
Definition at line 121 of file appdb.cpp.
Referenced by CMainWindow::CheckAvailable(), ParseCmdAndExecute(), and CMainWindow::UpdateApplicationsList().
VOID CAppDB::UpdateInstalled | ( | ) |
Definition at line 236 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().