diff -r 106a4bfcb866 -r 013a02bf2bb0 smf/smfservermodule/smfclient/common/smfactions_p.h --- a/smf/smfservermodule/smfclient/common/smfactions_p.h Thu Aug 05 16:46:37 2010 +0530 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,104 +0,0 @@ -/** - * Copyright (c) 2010 Sasken Communication Technologies Ltd. - * All rights reserved. - * This component and the accompanying materials are made available - * under the terms of the "Eclipse Public License v1.0" - * which accompanies this distribution, and is available - * at the URL "http://www.eclipse.org/legal/epl-v10.html" - * - * Initial Contributors: - * Chandradeep Gandhi, Sasken Communication Technologies Ltd - Initial contribution - * - * Contributors: - * Manasij Roy, Nalina Hariharan - * - * Description: - * Contains private implementation of the smfactions - */ - -#ifndef SMFACTIONS_P_H_ -#define SMFACTIONS_P_H_ - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -#include "smfactions.h" -#include "smfpost.h" -#include "smfcontact.h" - -class SmfActivityObjectPrivate: public QSharedData - { -public: - SmfActivityObjectPrivate( ) { - m_id.clear(); - m_caption.clear(); - m_link.clear(); - m_content.clear(); - } - - SmfActivityObjectPrivate( const SmfActivityObjectPrivate& aOther ) : - QSharedData (aOther), - m_id (aOther.m_id), - m_thumbnail (aOther.m_thumbnail), - m_caption (aOther.m_caption), - m_type (aOther.m_type), - m_objData (aOther.m_objData), - m_link (aOther.m_link), - m_time (aOther.m_time), - m_content (aOther.m_content) { } - - ~SmfActivityObjectPrivate( ) {} - - /** - * Data members - */ - QString m_id; - QImage m_thumbnail; - QString m_caption; - SmfActivityObjectType m_type; - QVariant m_objData; - QString m_link; - QDateTime m_time; - QString m_content; - }; - -class SmfActivityEntryPrivate: public QSharedData - { -public: - SmfActivityEntryPrivate( ) { - m_id.clear(); - } - - SmfActivityEntryPrivate( const SmfActivityEntryPrivate& aOther ) : - QSharedData (aOther), - m_id (aOther.m_id), - m_title (aOther.m_title), - m_details (aOther.m_details), - m_author (aOther.m_author), - m_actionName (aOther.m_actionName), - m_activities (aOther.m_activities), - m_targetObj (aOther.m_targetObj) { } - - ~SmfActivityEntryPrivate( ) { } - - /** - * Data members - */ - QString m_id; - SmfPost m_title; - SmfPost m_details; - SmfContact m_author; - SmfActivityVerb m_actionName; - QList m_activities; - SmfActivityObject m_targetObj; - }; - -#endif /* SMFACTIONS_P_H_ */