mtpfws/mtpfw/dataproviders/devdp/inc/cmtpgetserviceids.h
changeset 0 d0791faffa3f
equal deleted inserted replaced
-1:000000000000 0:d0791faffa3f
       
     1 // Copyright (c) 2006-2009 Nokia Corporation and/or its subsidiary(-ies).
       
     2 // All rights reserved.
       
     3 // This component and the accompanying materials are made available
       
     4 // under the terms of "Eclipse Public License v1.0"
       
     5 // which accompanies this distribution, and is available
       
     6 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     7 //
       
     8 // Initial Contributors:
       
     9 // Nokia Corporation - initial contribution.
       
    10 //
       
    11 // Contributors:
       
    12 //
       
    13 // Description:
       
    14 // 
       
    15 
       
    16 /**
       
    17 @file
       
    18 @internalComponent
       
    19 */
       
    20 
       
    21 
       
    22 #ifndef CMTPGETSERVICEIDS_H_
       
    23 #define CMTPGETSERVICEIDS_H_
       
    24 
       
    25 
       
    26 #include "cmtprequestprocessor.h"
       
    27 #include "f32file.h"
       
    28 #include "rmtpframework.h"
       
    29 
       
    30 class CMTPTypeArray;
       
    31 
       
    32 /** 
       
    33 Implements the device data provider's GetServiceIds request processor
       
    34 @internalComponent
       
    35 */
       
    36 class CMTPGetServiceIds : public CMTPRequestProcessor
       
    37     {
       
    38 public:
       
    39 
       
    40     static MMTPRequestProcessor* NewL(MMTPDataProviderFramework& aFramework, MMTPConnection& aConnection);    
       
    41     ~CMTPGetServiceIds();    
       
    42     
       
    43 private:    
       
    44 
       
    45 	CMTPGetServiceIds(MMTPDataProviderFramework& aFramework, MMTPConnection& aConnection);
       
    46     void ConstructL();
       
    47 
       
    48 private: // From CMTPRequestProcessor
       
    49 
       
    50     void ServiceL();
       
    51 
       
    52 private:
       
    53 
       
    54     void BuildServiceIdsL();
       
    55     
       
    56 private: // Owned
       
    57 
       
    58     RMTPFramework   iFrameworkSingletons;
       
    59     CMTPTypeArray*  iServiceIds;
       
    60     };
       
    61 
       
    62 #endif /*CMTPGETSERVICEIDS_H_*/