pushmtm/MtmUtilSrc/WhiteListImporterDummy.cpp
branchRCL_3
changeset 65 8e6fa1719340
parent 0 84ad3b177aa3
equal deleted inserted replaced
64:6385c4c93049 65:8e6fa1719340
       
     1 /*
       
     2 * Copyright (c) 2003, 2004 Nokia Corporation and/or its subsidiary(-ies).
       
     3 * All rights reserved.
       
     4 * This component and the accompanying materials are made available
       
     5 * under the terms of the License "Eclipse Public License v1.0"
       
     6 * which accompanies this distribution, and is available
       
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     8 *
       
     9 * Initial Contributors:
       
    10 * Nokia Corporation - initial contribution.
       
    11 *
       
    12 * Contributors:
       
    13 *
       
    14 * Description:  Dummy implementation of CWhiteListConverter.
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 // INCLUDE FILES
       
    20 
       
    21 #include "WhiteListImporter.h"
       
    22 #include "PushMtmLog.h"
       
    23 
       
    24 
       
    25 // ================= MEMBER FUNCTIONS =======================
       
    26 
       
    27 // ---------------------------------------------------------
       
    28 // CWhiteListConverter::NewL
       
    29 // ---------------------------------------------------------
       
    30 //
       
    31 CWhiteListConverter* CWhiteListConverter::NewL
       
    32     ( CPushInitiatorList& aPushInitiatorList )
       
    33     {
       
    34 	PUSHLOG_ENTERFN("CWhiteListConverter::NewL Dummy");
       
    35     CWhiteListConverter* converter = 
       
    36         new (ELeave) CWhiteListConverter( aPushInitiatorList );
       
    37     return converter;
       
    38 	PUSHLOG_LEAVEFN("CWhiteListConverter::NewL Dummy");
       
    39     }
       
    40 
       
    41 // ---------------------------------------------------------
       
    42 // CWhiteListConverter::~CWhiteListConverter
       
    43 // ---------------------------------------------------------
       
    44 //
       
    45 CWhiteListConverter::~CWhiteListConverter()
       
    46     {
       
    47 	PUSHLOG_ENTERFN("CWhiteListConverter::~CWhiteListConverter Dummy");
       
    48     delete iBuf;
       
    49     iNextCh = NULL; // Only used.
       
    50     iMaxCh = NULL; // Only used.
       
    51 	PUSHLOG_LEAVEFN("CWhiteListConverter::~CWhiteListConverter Dummy");
       
    52     }
       
    53 
       
    54 // ---------------------------------------------------------
       
    55 // CWhiteListConverter::Buffer2ListL
       
    56 // ---------------------------------------------------------
       
    57 //
       
    58 void CWhiteListConverter::Buffer2ListL( const TDesC& /*aSource*/ )
       
    59     {
       
    60 	PUSHLOG_ENTERFN("CWhiteListConverter::Buffer2ListL Dummy");
       
    61 	PUSHLOG_LEAVEFN("CWhiteListConverter::Buffer2ListL Dummy");
       
    62     }
       
    63 
       
    64 // ---------------------------------------------------------
       
    65 // CWhiteListConverter::List2BufferL
       
    66 // ---------------------------------------------------------
       
    67 //
       
    68 HBufC* CWhiteListConverter::List2BufferL()
       
    69     {
       
    70 	PUSHLOG_ENTERFN("CWhiteListConverter::Buffer2ListL Dummy");
       
    71 	PUSHLOG_WRITE("Returning KNullDesC");
       
    72     return KNullDesC().AllocL();
       
    73 	PUSHLOG_LEAVEFN("CWhiteListConverter::Buffer2ListL Dummy");
       
    74     }
       
    75     
       
    76 // ---------------------------------------------------------
       
    77 // CWhiteListConverter::CWhiteListConverter
       
    78 // ---------------------------------------------------------
       
    79 //
       
    80 CWhiteListConverter::CWhiteListConverter( CPushInitiatorList& aPushInitiatorList ) 
       
    81 :   iPushInitiatorList( aPushInitiatorList )
       
    82     {
       
    83 	PUSHLOG_ENTERFN("CWhiteListConverter::CWhiteListConverter Dummy");
       
    84 	PUSHLOG_LEAVEFN("CWhiteListConverter::CWhiteListConverter Dummy");
       
    85     }
       
    86 
       
    87 // ---------------------------------------------------------
       
    88 // CWhiteListConverter::ConstructL
       
    89 // ---------------------------------------------------------
       
    90 //
       
    91 void CWhiteListConverter::ConstructL()
       
    92     {
       
    93 	PUSHLOG_ENTERFN("CWhiteListConverter::ConstructL Dummy");
       
    94 	PUSHLOG_LEAVEFN("CWhiteListConverter::ConstructL Dummy");
       
    95     }
       
    96 
       
    97 // ---------------------------------------------------------
       
    98 // CWhiteListConverter::GetChar
       
    99 // ---------------------------------------------------------
       
   100 //
       
   101 inline void CWhiteListConverter::GetChar()
       
   102     {
       
   103 	PUSHLOG_ENTERFN("CWhiteListConverter::GetChar Dummy");
       
   104 	PUSHLOG_LEAVEFN("CWhiteListConverter::GetChar Dummy");
       
   105     }
       
   106 
       
   107 // ---------------------------------------------------------
       
   108 // CWhiteListConverter::NextLineL
       
   109 // ---------------------------------------------------------
       
   110 //
       
   111 TBool CWhiteListConverter::NextLineL()
       
   112     {
       
   113 	PUSHLOG_ENTERFN("CWhiteListConverter::NextLineL Dummy");
       
   114 	PUSHLOG_WRITE("Returning ETrue");
       
   115     return ETrue;
       
   116 	PUSHLOG_LEAVEFN("CWhiteListConverter::NextLineL Dummy");
       
   117     }
       
   118 
       
   119 // ---------------------------------------------------------
       
   120 // CWhiteListConverter::NextTokenL
       
   121 // ---------------------------------------------------------
       
   122 //
       
   123 TPtrC CWhiteListConverter::NextTokenL( TUint /*aStopChar*/ )
       
   124     {
       
   125 	PUSHLOG_ENTERFN("CWhiteListConverter::NextTokenL Dummy");
       
   126 	PUSHLOG_WRITE("Returning TPtrC");
       
   127     return TPtrC();
       
   128 	PUSHLOG_LEAVEFN("CWhiteListConverter::NextTokenL Dummy");
       
   129     }
       
   130 
       
   131 // ---------------------------------------------------------
       
   132 // CWhiteListConverter::AttrsL
       
   133 // ---------------------------------------------------------
       
   134 //
       
   135 void CWhiteListConverter::AttrsL()
       
   136     {
       
   137 	PUSHLOG_ENTERFN("CWhiteListConverter::AttrsL Dummy");
       
   138 	PUSHLOG_LEAVEFN("CWhiteListConverter::AttrsL Dummy");
       
   139     }
       
   140