smf/inc/common/smfcontacts/smfcontact_p.h
changeset 3 0446eb7b28aa
child 5 edb9dc8273d9
equal deleted inserted replaced
2:86af6c333601 3:0446eb7b28aa
       
     1 /**
       
     2  * Copyright (c) 2010 Sasken Communication Technologies Ltd.
       
     3  * All rights reserved.
       
     4  * This component and the accompanying materials are made available
       
     5  * under the terms of the "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  * Chandradeep Gandhi, Sasken Communication Technologies Ltd - Initial contribution
       
    11  *
       
    12  * Contributors:
       
    13  * Manasij Roy, Nalina Hariharan
       
    14  * 
       
    15  * Description:
       
    16  * Private class implemented for implicit sharing of SmfContact class
       
    17  *
       
    18  */
       
    19 
       
    20 #ifndef SMFCONTACT_P_H_
       
    21 #define SMFCONTACT_P_H_
       
    22 
       
    23 #include <QSharedData>
       
    24 
       
    25 using namespace QtMobility;
       
    26 
       
    27 class SmfContactPrivate : public QSharedData
       
    28 {
       
    29 public:
       
    30 	/**
       
    31 	 * Constructor
       
    32 	 */
       
    33 	SmfContactPrivate( ) { m_details.clear(); }
       
    34 	
       
    35 	/**
       
    36 	 * Copy Consturctor
       
    37 	 * @param aOther The reference object to be copy constructed
       
    38 	 */
       
    39 	SmfContactPrivate( const SmfContactPrivate &aOther ) : 
       
    40 		QSharedData ( aOther ), 
       
    41 		m_details ( aOther.m_details )	{ }
       
    42 	
       
    43 	/**
       
    44 	 * Destructor
       
    45 	 */
       
    46 	~SmfContactPrivate( );
       
    47   
       
    48 	QVariantMap	m_details;// contact details
       
    49 	
       
    50 };
       
    51 
       
    52 #endif /* SMFCONTACT_P_H_ */