omadrm/drmengine/dcfrepository/server/inc/Pair.h
changeset 0 95b198f216e5
equal deleted inserted replaced
-1:000000000000 0:95b198f216e5
       
     1 /*
       
     2 * Copyright (c) 2002-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 "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:  Server common implementation
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 
       
    20 #ifndef CPAIR_H
       
    21 #define CPAIR_H
       
    22 
       
    23 //  INCLUDES
       
    24 #include <e32base.h>
       
    25 
       
    26 
       
    27 // CONSTANTS
       
    28 // MACROS
       
    29 // DATA TYPES
       
    30 // FUNCTION PROTOTYPES
       
    31 // FORWARD DECLARATIONS
       
    32 // CLASS DECLARATION
       
    33 
       
    34 
       
    35 /**
       
    36 *  Server Session implementation.
       
    37 *  DCF Repository
       
    38 *
       
    39 *  @lib 
       
    40 *  @since Series 60 3.0 
       
    41 */
       
    42 class CPair : public CBase
       
    43     {
       
    44     public:  // Constructors and destructor
       
    45         
       
    46         /**
       
    47         * Two-phased constructor.
       
    48         */
       
    49         static CPair* NewL();
       
    50         
       
    51         /**
       
    52         * Destructor.
       
    53         */
       
    54         virtual ~CPair();
       
    55 
       
    56     private:
       
    57 
       
    58         /**
       
    59         * C++ default constructor.
       
    60         */
       
    61         CPair();
       
    62 
       
    63         /**
       
    64         * By default Symbian 2nd phase constructor is private.
       
    65         */
       
    66         void ConstructL();
       
    67 
       
    68         // Prohibit copy constructor if not deriving from CBase.
       
    69         CPair( const CPair& );
       
    70         // Prohibit assigment operator if not deriving from CBase.
       
    71         CPair& operator=( const CPair& );
       
    72 
       
    73     public:     // Data
       
    74         HBufC8* iCid;
       
    75         HBufC8* iTtid;
       
    76 
       
    77     };
       
    78 
       
    79 #endif      // CPAIR_H   
       
    80             
       
    81 // End of File