ReactOS 0.4.15-dev-7953-g1f49173
appinfo.h File Reference
#include <atlstr.h>
#include <atlpath.h>
#include <atlsimpcoll.h>
Include dependency graph for appinfo.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  CAppInfo
 
class  CAvailableApplicationInfo
 
class  CInstalledApplicationInfo
 

Enumerations

enum  LicenseType {
  LICENSE_NONE , LICENSE_OPENSOURCE = 1 , LICENSE_FREEWARE = 2 , LICENSE_TRIAL = 3 ,
  LICENSE_MIN = LICENSE_NONE , LICENSE_MAX = LICENSE_TRIAL
}
 
enum  AppsCategories {
  ENUM_ALL_AVAILABLE , ENUM_CAT_AUDIO , ENUM_CAT_VIDEO , ENUM_CAT_GRAPHICS ,
  ENUM_CAT_GAMES , ENUM_CAT_INTERNET , ENUM_CAT_OFFICE , ENUM_CAT_DEVEL ,
  ENUM_CAT_EDU , ENUM_CAT_ENGINEER , ENUM_CAT_FINANCE , ENUM_CAT_SCIENCE ,
  ENUM_CAT_TOOLS , ENUM_CAT_DRIVERS , ENUM_CAT_LIBS , ENUM_CAT_THEMES ,
  ENUM_CAT_OTHER , ENUM_CAT_SELECTED , ENUM_ALL_INSTALLED = 30 , ENUM_INSTALLED_APPLICATIONS ,
  ENUM_UPDATES , ENUM_INVALID , ENUM_INSTALLED_MIN = ENUM_ALL_INSTALLED , ENUM_INSTALLED_MAX = ENUM_UPDATES ,
  ENUM_AVAILABLE_MIN = ENUM_ALL_AVAILABLE , ENUM_AVAILABLE_MAX = ENUM_CAT_SELECTED
}
 

Functions

BOOL IsKnownLicenseType (INT x)
 
BOOL IsAvailableEnum (INT x)
 
BOOL IsInstalledEnum (INT x)
 

Enumeration Type Documentation

◆ AppsCategories

Enumerator
ENUM_ALL_AVAILABLE 
ENUM_CAT_AUDIO 
ENUM_CAT_VIDEO 
ENUM_CAT_GRAPHICS 
ENUM_CAT_GAMES 
ENUM_CAT_INTERNET 
ENUM_CAT_OFFICE 
ENUM_CAT_DEVEL 
ENUM_CAT_EDU 
ENUM_CAT_ENGINEER 
ENUM_CAT_FINANCE 
ENUM_CAT_SCIENCE 
ENUM_CAT_TOOLS 
ENUM_CAT_DRIVERS 
ENUM_CAT_LIBS 
ENUM_CAT_THEMES 
ENUM_CAT_OTHER 
ENUM_CAT_SELECTED 
ENUM_ALL_INSTALLED 
ENUM_INSTALLED_APPLICATIONS 
ENUM_UPDATES 
ENUM_INVALID 
ENUM_INSTALLED_MIN 
ENUM_INSTALLED_MAX 
ENUM_AVAILABLE_MIN 
ENUM_AVAILABLE_MAX 

Definition at line 24 of file appinfo.h.

25{
52};
@ ENUM_CAT_LIBS
Definition: appinfo.h:40
@ ENUM_CAT_ENGINEER
Definition: appinfo.h:35
@ ENUM_CAT_VIDEO
Definition: appinfo.h:28
@ ENUM_CAT_FINANCE
Definition: appinfo.h:36
@ ENUM_CAT_OFFICE
Definition: appinfo.h:32
@ ENUM_CAT_EDU
Definition: appinfo.h:34
@ ENUM_CAT_AUDIO
Definition: appinfo.h:27
@ ENUM_CAT_TOOLS
Definition: appinfo.h:38
@ ENUM_UPDATES
Definition: appinfo.h:46
@ ENUM_AVAILABLE_MAX
Definition: appinfo.h:51
@ ENUM_CAT_SELECTED
Definition: appinfo.h:43
@ ENUM_ALL_AVAILABLE
Definition: appinfo.h:26
@ ENUM_CAT_INTERNET
Definition: appinfo.h:31
@ ENUM_CAT_GAMES
Definition: appinfo.h:30
@ ENUM_CAT_THEMES
Definition: appinfo.h:41
@ ENUM_INSTALLED_MAX
Definition: appinfo.h:49
@ ENUM_INSTALLED_MIN
Definition: appinfo.h:48
@ ENUM_INSTALLED_APPLICATIONS
Definition: appinfo.h:45
@ ENUM_CAT_GRAPHICS
Definition: appinfo.h:29
@ ENUM_CAT_DEVEL
Definition: appinfo.h:33
@ ENUM_INVALID
Definition: appinfo.h:47
@ ENUM_CAT_DRIVERS
Definition: appinfo.h:39
@ ENUM_ALL_INSTALLED
Definition: appinfo.h:44
@ ENUM_CAT_SCIENCE
Definition: appinfo.h:37
@ ENUM_AVAILABLE_MIN
Definition: appinfo.h:50
@ ENUM_CAT_OTHER
Definition: appinfo.h:42

◆ LicenseType

Enumerator
LICENSE_NONE 
LICENSE_OPENSOURCE 
LICENSE_FREEWARE 
LICENSE_TRIAL 
LICENSE_MIN 
LICENSE_MAX 

Definition at line 8 of file appinfo.h.

9{
13 LICENSE_TRIAL = 3,
16};
@ LICENSE_NONE
Definition: appinfo.h:10
@ LICENSE_OPENSOURCE
Definition: appinfo.h:11
@ LICENSE_MIN
Definition: appinfo.h:14
@ LICENSE_MAX
Definition: appinfo.h:15
@ LICENSE_TRIAL
Definition: appinfo.h:13
@ LICENSE_FREEWARE
Definition: appinfo.h:12

Function Documentation

◆ IsAvailableEnum()

BOOL IsAvailableEnum ( INT  x)
inline

Definition at line 55 of file appinfo.h.

56{
57 return (x >= ENUM_AVAILABLE_MIN && x <= ENUM_AVAILABLE_MAX);
58}
GLint GLint GLint GLint GLint x
Definition: gl.h:1548

Referenced by CMainWindow::OnCommand(), and CMainWindow::UpdateApplicationsList().

◆ IsInstalledEnum()

◆ IsKnownLicenseType()

BOOL IsKnownLicenseType ( INT  x)
inline

Definition at line 19 of file appinfo.h.

20{
21 return (x > LICENSE_NONE && x <= LICENSE_MAX);
22}

Referenced by CAvailableApplicationInfo::LicenseString().