omadrm/drmengine/roap/src/JoinDomainRespParser.cpp
changeset 84 b09186059647
parent 0 95b198f216e5
equal deleted inserted replaced
82:a117e284a2c6 84:b09186059647
     1 /*
     1 /*
     2 * Copyright (c) 2002-2004 Nokia Corporation and/or its subsidiary(-ies).
     2 * Copyright (c) 2002-2010 Nokia Corporation and/or its subsidiary(-ies).
     3 * All rights reserved.
     3 * All rights reserved.
     4 * This component and the accompanying materials are made available
     4 * This component and the accompanying materials are made available
     5 * under the terms of "Eclipse Public License v1.0"
     5 * under the terms of "Eclipse Public License v1.0"
     6 * which accompanies this distribution, and is available
     6 * which accompanies this distribution, and is available
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
    94                 {
    94                 {
    95                 CleanupStack::PushL(buffer);
    95                 CleanupStack::PushL(buffer);
    96                 iResponse->iDomainKeyIDs.AppendL(buffer);
    96                 iResponse->iDomainKeyIDs.AppendL(buffer);
    97                 CleanupStack::Pop();
    97                 CleanupStack::Pop();
    98                 }
    98                 }
       
    99             break;
    99         case EExtensionState:
   100         case EExtensionState:
   100             buffer = aParser.GetAttributeValueL(aAttributes, KType );
   101             buffer = aParser.GetAttributeValueL(aAttributes, KType );
   101             if(buffer != NULL)
   102             if(buffer != NULL)
   102                 {
   103                 {
   103                 if(buffer->Find(KHashChainSupport) >= KErrNone)
   104                 if(buffer->Find(KHashChainSupport) >= KErrNone)
   104                     {
   105                     {
   105                     iResponse->iHashChainSupport = ETrue;
   106                     iResponse->iHashChainSupport = ETrue;
   106                     }
   107                     }
   107                 delete buffer;
   108                 delete buffer;
   108                 }
   109                 }
   109         break;
   110             break;
   110         }
   111         }
   111     }
   112     }
   112 
   113 
   113 // -----------------------------------------------------------------------------
   114 // -----------------------------------------------------------------------------
   114 // TJoinDomainRespParser::?member_function
   115 // TJoinDomainRespParser::?member_function
   205             CleanupStack::Pop(); // buffer
   206             CleanupStack::Pop(); // buffer
   206             break;
   207             break;
   207         }
   208         }
   208     }
   209     }
   209 
   210 
   210 // ========================== OTHER EXPORTED FUNCTIONS =========================
       
   211 
       
   212 // -----------------------------------------------------------------------------
       
   213 // ?function_name implements...
       
   214 // ?implementation_description.
       
   215 // Returns: ?value_1: ?description
       
   216 //          ?value_n: ?description
       
   217 //                    ?description
       
   218 // -----------------------------------------------------------------------------
       
   219 //
       
   220 
       
   221 //  End of File  
   211 //  End of File