multimediacommscontroller/tsrc/componenttests/src/test_template.cpp
changeset 0 1bce908db942
equal deleted inserted replaced
-1:000000000000 0:1bce908db942
       
     1 /*
       
     2 * Copyright (c) 2006 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 "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:    
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 
       
    20 
       
    21 // INCLUDES
       
    22 
       
    23 // ======== MEMBER FUNCTIONS =================================================
       
    24 
       
    25 // ---------------------------------------------------------------------------
       
    26 // CTest::CTest
       
    27 // C++ default constructor can NOT contain any code, that
       
    28 // might leave.
       
    29 // ---------------------------------------------------------------------------
       
    30 //
       
    31 CTest::CTest()
       
    32     {
       
    33     }
       
    34     
       
    35 // ---------------------------------------------------------------------------
       
    36 // CTest::ConstructL
       
    37 // Symbian 2nd phase constructor can leave.
       
    38 // ---------------------------------------------------------------------------
       
    39 //
       
    40 void CTest::ConstructL( CConsoleBase& aConsole, TMccNetSettings aNetsettings )
       
    41     {
       
    42     iConsole = &aConsole;
       
    43     iNetsettings = aNetsettings;
       
    44     }
       
    45     
       
    46 // ---------------------------------------------------------------------------
       
    47 // CTest::NewL
       
    48 // Static constructor.
       
    49 // ---------------------------------------------------------------------------
       
    50 //   
       
    51 CTest* CTest::NewL( CConsoleBase& aConsole, TMccNetSettings aNetsettings )
       
    52     {
       
    53     CTest* self = new ( ELeave ) CTest();
       
    54     CleanupStack::PushL( self );
       
    55 
       
    56     self->ConstructL( aConsole, aNetsettings );
       
    57 
       
    58     CleanupStack::Pop( self );
       
    59     return self;
       
    60     }
       
    61 
       
    62 // ---------------------------------------------------------------------------
       
    63 // CTest::~CTest
       
    64 // Destructor.
       
    65 // ---------------------------------------------------------------------------
       
    66 //
       
    67 CTest::~CTest()
       
    68     {
       
    69     REComSession::FinalClose();
       
    70     }
       
    71 
       
    72 // ---------------------------------------------------------------------------
       
    73 // CTest::
       
    74 // ---------------------------------------------------------------------------
       
    75 //
       
    76 
       
    77 // ---------------------------------------------------------------------------
       
    78 // CTest::
       
    79 // ---------------------------------------------------------------------------
       
    80 //
       
    81 
       
    82 // ---------------------------------------------------------------------------
       
    83 // CTest::
       
    84 // ---------------------------------------------------------------------------
       
    85 //
       
    86 
       
    87 // ---------------------------------------------------------------------------
       
    88 // CTest::
       
    89 // ---------------------------------------------------------------------------
       
    90 //
       
    91 
       
    92 // ---------------------------------------------------------------------------
       
    93 // CTest::
       
    94 // ---------------------------------------------------------------------------
       
    95 //
       
    96 
       
    97 // ---------------------------------------------------------------------------
       
    98 // CTest::
       
    99 // ---------------------------------------------------------------------------
       
   100 //
       
   101 
       
   102 // ---------------------------------------------------------------------------
       
   103 // CTest::
       
   104 // ---------------------------------------------------------------------------
       
   105 //
       
   106 
       
   107 // ---------------------------------------------------------------------------
       
   108 // CTest::
       
   109 // ---------------------------------------------------------------------------
       
   110 //
       
   111 
       
   112 // ---------------------------------------------------------------------------
       
   113 // CTest::
       
   114 // ---------------------------------------------------------------------------
       
   115 //
       
   116