qthighway/xqservice/src/xqappmgr.h
changeset 24 9d760f716ca8
parent 4 90517678cc4f
child 26 3d09643def13
equal deleted inserted replaced
19:46686fb6258c 24:9d760f716ca8
    39 {
    39 {
    40     Q_OBJECT
    40     Q_OBJECT
    41 
    41 
    42 public:
    42 public:
    43 
    43 
    44     // For the contentAttributes()
    44     /*!
       
    45     For the getDrmAttributes() function
       
    46     */
    45     enum DrmAttribute
    47     enum DrmAttribute
    46     {
    48     {
    47        DrmIntAttributeBase=0,      // Base value for the  DRM integer attributes
    49        DrmIntAttributeBase=0,      // Base value for the  DRM integer attributes
    48        IsProtected   = DrmIntAttributeBase+0,
    50        IsProtected   = DrmIntAttributeBase+0, /*!< */
    49        IsForwardable = DrmIntAttributeBase+1,
    51        IsForwardable = DrmIntAttributeBase+1, /*!< */
    50        // For others DrmIntAttributeBase+N, see N from the caf/caftypes.h
    52        // For others DrmIntAttributeBase+N, see N from the caf/caftypes.h
    51        
    53        
    52        DrmStringAttributeBase = 100,  // Base value for the  DRM string attributes 
    54        DrmStringAttributeBase = 100,  // Base value for the  DRM string attributes
    53        Description = DrmStringAttributeBase+0,
    55        Description = DrmStringAttributeBase+0, /*!< */
    54        MimeType    = DrmStringAttributeBase+1
    56        MimeType    = DrmStringAttributeBase+1 /*!< */
    55        // For others, DrmIntAttributeBase+N, see N from the caf/caftypes.h
    57        // For others, DrmIntAttributeBase+N, see N from the caf/caftypes.h
    56     };
    58     };
    57 
    59 
    58     // For the serviceStatus() function
    60     /*!
       
    61     For the status() function
       
    62     */
    59     enum ServiceStatus
    63     enum ServiceStatus
    60     {
    64     {
    61         Unknown=0,  // Not known
    65         Unknown=0,  /*!< Not known */
    62         Enabled,    // Service enabled
    66         Enabled,    /*!< Service enabled */
    63         Disabled    // Service disabled, e.g. required config not OK,
    67         Disabled    /*!< Service disabled, e.g. required config not OK */
    64     };
    68     };
    65     
    69     
    66     XQApplicationManager();
    70     XQApplicationManager();
    67     virtual ~XQApplicationManager();
    71     virtual ~XQApplicationManager();
    68 
    72