omadrm/drmengine/agentv2/src/Oma2AgentAttributes.cpp
changeset 23 493788a4a8a4
parent 0 95b198f216e5
child 31 908beac81e0a
equal deleted inserted replaced
5:79d62d1d7957 23:493788a4a8a4
    20 #include <apgcli.h>
    20 #include <apgcli.h>
    21 #include <f32file.h>
    21 #include <f32file.h>
    22 #include <charconv.h>
    22 #include <charconv.h>
    23 
    23 
    24 #include <caf/caf.h>
    24 #include <caf/caf.h>
       
    25 #include <caf/cafplatform.h>
    25 #include <caf/attributeset.h>
    26 #include <caf/attributeset.h>
    26 #include <caf/stringattributeset.h>
    27 #include <caf/stringattributeset.h>
    27 #include <caf/virtualpath.h>
    28 #include <caf/virtualpath.h>
    28 #include <caf/caferr.h>
    29 #include <caf/caferr.h>
    29 #include <utf.h>
    30 #include <utf.h>
    30 #include <drmagents.h>
    31 #include <drmagents.h>
    31 #include "oma2agent.h"
    32 #include "Oma2Agent.h"
    32 #include "oma2agentattributes.h"
    33 #include "Oma2AgentAttributes.h"
    33 #include "oma1dcf.h"
    34 #include "Oma1Dcf.h"
    34 #include "oma2dcf.h"
    35 #include "oma2dcf.h"
    35 #include "drmrightsclient.h"
    36 #include "DRMRightsClient.h"
    36 #include "DrmProtectedRoParser.h"
    37 #include "DRMProtectedRoParser.h"
    37 
    38 
    38 using namespace ContentAccess;
    39 using namespace ContentAccess;
    39 
    40 
    40 // LOCAL FUNCTION PROTOTYPES
    41 // LOCAL FUNCTION PROTOTYPES
    41 LOCAL_C HBufC* CollectEmbeddedRosL(
    42 LOCAL_C HBufC* CollectEmbeddedRosL(
   680                      {
   681                      {
   681                      value = dcf2->iRecordingYear;
   682                      value = dcf2->iRecordingYear;
   682                      }
   683                      }
   683                 break;
   684                 break;
   684             case DRM::EDrmAllowedOutputs:
   685             case DRM::EDrmAllowedOutputs:
   685                 value = DRM::EDrmAllowAudioAnalog | DRM::EDrmAllowAudioBluetooth | DRM::EDrmAllowVideoMacroVision;
   686                 value = DRM::EDrmAllowAudioAnalog | DRM::EDrmAllowAudioBluetooth | DRM::EDrmAllowVideoMacroVision | DRM::EDrmAllowAudioFmTransmitter;
   686                 break;
   687                 break;
   687             case ERightsNone:
   688             case ERightsNone:
   688                 if (aRightsClient == NULL)
   689                 if (aRightsClient == NULL)
   689                     {
   690                     {
   690                     value = client.Connect();
   691                     value = client.Connect();