omadrm/drmengine/agentv2/src/Oma2AgentContent.cpp
changeset 57 41137c634688
parent 31 908beac81e0a
child 54 5ebe1934bb32
equal deleted inserted replaced
56:88330f36f634 57:41137c634688
    24 #include <caf/attribute.h>
    24 #include <caf/attribute.h>
    25 #include <e32test.h>
    25 #include <e32test.h>
    26 #include <utf.h>
    26 #include <utf.h>
    27 
    27 
    28 
    28 
    29 #include <SchemeHandler.h>
    29 //#include <SchemeHandler.h>
    30 
    30 
    31 
    31 
    32 #include "Oma2AgentContent.h"
    32 #include "Oma2AgentContent.h"
    33 #include "Oma2AgentAttributes.h"
    33 #include "Oma2AgentAttributes.h"
    34 #include "Oma1Dcf.h"
    34 #include "Oma1Dcf.h"
   602     TRequestStatus& aStatus,
   602     TRequestStatus& aStatus,
   603     const TDesC& aUniqueId)
   603     const TDesC& aUniqueId)
   604     {
   604     {
   605     TRequestStatus *ptr = &aStatus;
   605     TRequestStatus *ptr = &aStatus;
   606     TInt r;
   606     TInt r;
   607     HBufC* b = NULL;
   607     //HBufC* b = NULL;
       
   608 
       
   609     r = KErrNotSupported;
       
   610 /*
   608     CSchemeHandler* handler = NULL;
   611     CSchemeHandler* handler = NULL;
   609 
   612 
   610     r = iDcf->OpenPart(aUniqueId);
   613     r = iDcf->OpenPart(aUniqueId);
   611     if (r == KErrNone && iDcf->iRightsIssuerURL != NULL)
   614     if (r == KErrNone && iDcf->iRightsIssuerURL != NULL)
   612         {
   615         {
   621                 delete handler;
   624                 delete handler;
   622                 }
   625                 }
   623             delete b;
   626             delete b;
   624             }
   627             }
   625         }
   628         }
       
   629 */
   626     User::RequestComplete(ptr, r);
   630     User::RequestComplete(ptr, r);
   627     }
   631     }
   628 
   632 
   629 // -----------------------------------------------------------------------------
   633 // -----------------------------------------------------------------------------
   630 // COma2AgentContent::CancelRequestRights
   634 // COma2AgentContent::CancelRequestRights