wim/WimClient/inc/WimCertTClassWrappers.inl
changeset 0 164170e6151a
equal deleted inserted replaced
-1:000000000000 0:164170e6151a
       
     1 /*
       
     2 * Copyright (c) 2002 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:  These wrappers are used when we need to fetch/insert 
       
    15 *               certificate data asyncronously.
       
    16 *
       
    17 */
       
    18 
       
    19 
       
    20 // -----------------------------------------------------------------------------
       
    21 // Inline implementation of CWimCertPckgBuf<T> class
       
    22 // -----------------------------------------------------------------------------
       
    23 
       
    24 
       
    25 // -----------------------------------------------------------------------------
       
    26 // CWimCertPckg<T>::CWimCertPckg()
       
    27 // C++ constructor.
       
    28 // -----------------------------------------------------------------------------
       
    29 template <class T>
       
    30 inline CWimCertPckg<T>::CWimCertPckg( const T& aRef ) : iPckg( aRef )
       
    31     {
       
    32     }
       
    33 
       
    34 // -----------------------------------------------------------------------------
       
    35 // CWimCertPckg<T>::~CWimCertPckg()
       
    36 // Destructor.
       
    37 // -----------------------------------------------------------------------------
       
    38 template <class T>
       
    39 inline CWimCertPckg<T>::~CWimCertPckg()
       
    40     {
       
    41     }
       
    42 
       
    43 // -----------------------------------------------------------------------------
       
    44 // CWimCertPckgBuf<T>::Pckg()
       
    45 // return TPckg<T>* Pointer to TPckg<T> typed member
       
    46 // -----------------------------------------------------------------------------
       
    47 template <class T>
       
    48 inline TPckg<T>* CWimCertPckg<T>::Pckg()
       
    49     {
       
    50     return &iPckg; 
       
    51     }
       
    52 
       
    53 
       
    54 // -----------------------------------------------------------------------------
       
    55 // Inline implementation of CWimCertPckgBuf<T> class
       
    56 // -----------------------------------------------------------------------------
       
    57 
       
    58 // -----------------------------------------------------------------------------
       
    59 // CWimCertPckgBuf<T>::CWimCertPckgBuf()
       
    60 // C++ default constructor.
       
    61 // -----------------------------------------------------------------------------
       
    62 template <class T>
       
    63 inline CWimCertPckgBuf<T>::CWimCertPckgBuf() : iPckgBuf()
       
    64     {
       
    65     }
       
    66 
       
    67 // -----------------------------------------------------------------------------
       
    68 // CWimCertPckgBuf<T>::CWimCertPckgBuf( const T& aRef ) 
       
    69 // C++ constructor.
       
    70 // -----------------------------------------------------------------------------
       
    71 template <class T>
       
    72 inline CWimCertPckgBuf<T>::CWimCertPckgBuf( const T& aRef ) : iPckgBuf( aRef )
       
    73     {
       
    74     }
       
    75 
       
    76 
       
    77 // -----------------------------------------------------------------------------
       
    78 // CWimCertPckgBuf<T>::~CWimCertPckgBuf() 
       
    79 // Destructor.
       
    80 // -----------------------------------------------------------------------------
       
    81 template <class T>
       
    82 inline CWimCertPckgBuf<T>::~CWimCertPckgBuf()
       
    83     {
       
    84     }
       
    85 
       
    86 // -----------------------------------------------------------------------------
       
    87 // CWimCertPckgBuf<T>::PckgBuf()
       
    88 // -----------------------------------------------------------------------------
       
    89 template <class T>
       
    90 inline TPckgBuf<T>* CWimCertPckgBuf<T>::PckgBuf()
       
    91     {
       
    92     return &iPckgBuf; 
       
    93     }
       
    94 
       
    95 
       
    96 
       
    97 
       
    98 //  End of File  
       
    99