smf/smfservermodule/smfclient/common/smfactions_p.h
author cgandhi <chandradeep.gandhi@sasken.com>
Wed, 23 Jun 2010 19:51:49 +0530
changeset 14 a469c0e6e7fb
parent 8 4102c67b6e56
permissions -rw-r--r--
changes for SmfPost, SmfCredentialMgr, PLuginManager, SmfServer. Adding Sample Plugins and Sample Client Applications.
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
8
4102c67b6e56 Restoring the missing activity related and music headers
cgandhi <chandradeep.gandhi@sasken.com>
parents:
diff changeset
     1
/**
4102c67b6e56 Restoring the missing activity related and music headers
cgandhi <chandradeep.gandhi@sasken.com>
parents:
diff changeset
     2
 * Copyright (c) 2010 Sasken Communication Technologies Ltd.
4102c67b6e56 Restoring the missing activity related and music headers
cgandhi <chandradeep.gandhi@sasken.com>
parents:
diff changeset
     3
 * All rights reserved.
4102c67b6e56 Restoring the missing activity related and music headers
cgandhi <chandradeep.gandhi@sasken.com>
parents:
diff changeset
     4
 * This component and the accompanying materials are made available
4102c67b6e56 Restoring the missing activity related and music headers
cgandhi <chandradeep.gandhi@sasken.com>
parents:
diff changeset
     5
 * under the terms of the "Eclipse Public License v1.0"
4102c67b6e56 Restoring the missing activity related and music headers
cgandhi <chandradeep.gandhi@sasken.com>
parents:
diff changeset
     6
 * which accompanies  this distribution, and is available
4102c67b6e56 Restoring the missing activity related and music headers
cgandhi <chandradeep.gandhi@sasken.com>
parents:
diff changeset
     7
 * at the URL "http://www.eclipse.org/legal/epl-v10.html"
4102c67b6e56 Restoring the missing activity related and music headers
cgandhi <chandradeep.gandhi@sasken.com>
parents:
diff changeset
     8
 *
4102c67b6e56 Restoring the missing activity related and music headers
cgandhi <chandradeep.gandhi@sasken.com>
parents:
diff changeset
     9
 * Initial Contributors:
4102c67b6e56 Restoring the missing activity related and music headers
cgandhi <chandradeep.gandhi@sasken.com>
parents:
diff changeset
    10
 * Chandradeep Gandhi, Sasken Communication Technologies Ltd - Initial contribution
4102c67b6e56 Restoring the missing activity related and music headers
cgandhi <chandradeep.gandhi@sasken.com>
parents:
diff changeset
    11
 *
14
a469c0e6e7fb changes for SmfPost, SmfCredentialMgr, PLuginManager, SmfServer. Adding Sample Plugins and Sample Client Applications.
cgandhi <chandradeep.gandhi@sasken.com>
parents: 8
diff changeset
    12
 * Contributors:
a469c0e6e7fb changes for SmfPost, SmfCredentialMgr, PLuginManager, SmfServer. Adding Sample Plugins and Sample Client Applications.
cgandhi <chandradeep.gandhi@sasken.com>
parents: 8
diff changeset
    13
 * Manasij Roy, Nalina Hariharan
a469c0e6e7fb changes for SmfPost, SmfCredentialMgr, PLuginManager, SmfServer. Adding Sample Plugins and Sample Client Applications.
cgandhi <chandradeep.gandhi@sasken.com>
parents: 8
diff changeset
    14
 * 
8
4102c67b6e56 Restoring the missing activity related and music headers
cgandhi <chandradeep.gandhi@sasken.com>
parents:
diff changeset
    15
 * Description:
4102c67b6e56 Restoring the missing activity related and music headers
cgandhi <chandradeep.gandhi@sasken.com>
parents:
diff changeset
    16
 * Contains private implementation of the smfactions
4102c67b6e56 Restoring the missing activity related and music headers
cgandhi <chandradeep.gandhi@sasken.com>
parents:
diff changeset
    17
 */
4102c67b6e56 Restoring the missing activity related and music headers
cgandhi <chandradeep.gandhi@sasken.com>
parents:
diff changeset
    18
4102c67b6e56 Restoring the missing activity related and music headers
cgandhi <chandradeep.gandhi@sasken.com>
parents:
diff changeset
    19
#ifndef SMFACTIONS_P_H_
4102c67b6e56 Restoring the missing activity related and music headers
cgandhi <chandradeep.gandhi@sasken.com>
parents:
diff changeset
    20
#define SMFACTIONS_P_H_
4102c67b6e56 Restoring the missing activity related and music headers
cgandhi <chandradeep.gandhi@sasken.com>
parents:
diff changeset
    21
4102c67b6e56 Restoring the missing activity related and music headers
cgandhi <chandradeep.gandhi@sasken.com>
parents:
diff changeset
    22
#include <QDateTime>
4102c67b6e56 Restoring the missing activity related and music headers
cgandhi <chandradeep.gandhi@sasken.com>
parents:
diff changeset
    23
#include <QSharedData>
14
a469c0e6e7fb changes for SmfPost, SmfCredentialMgr, PLuginManager, SmfServer. Adding Sample Plugins and Sample Client Applications.
cgandhi <chandradeep.gandhi@sasken.com>
parents: 8
diff changeset
    24
#include <QVariant>
8
4102c67b6e56 Restoring the missing activity related and music headers
cgandhi <chandradeep.gandhi@sasken.com>
parents:
diff changeset
    25
#include <QImage>
4102c67b6e56 Restoring the missing activity related and music headers
cgandhi <chandradeep.gandhi@sasken.com>
parents:
diff changeset
    26
#include <QDateTime>
4102c67b6e56 Restoring the missing activity related and music headers
cgandhi <chandradeep.gandhi@sasken.com>
parents:
diff changeset
    27
#include <QStringList>
4102c67b6e56 Restoring the missing activity related and music headers
cgandhi <chandradeep.gandhi@sasken.com>
parents:
diff changeset
    28
#include <QUrl>
4102c67b6e56 Restoring the missing activity related and music headers
cgandhi <chandradeep.gandhi@sasken.com>
parents:
diff changeset
    29
#include <qdatastream.h>
4102c67b6e56 Restoring the missing activity related and music headers
cgandhi <chandradeep.gandhi@sasken.com>
parents:
diff changeset
    30
#include <QSharedData>
4102c67b6e56 Restoring the missing activity related and music headers
cgandhi <chandradeep.gandhi@sasken.com>
parents:
diff changeset
    31
#include <QMetaType>
4102c67b6e56 Restoring the missing activity related and music headers
cgandhi <chandradeep.gandhi@sasken.com>
parents:
diff changeset
    32
4102c67b6e56 Restoring the missing activity related and music headers
cgandhi <chandradeep.gandhi@sasken.com>
parents:
diff changeset
    33
#include "smfactions.h"
14
a469c0e6e7fb changes for SmfPost, SmfCredentialMgr, PLuginManager, SmfServer. Adding Sample Plugins and Sample Client Applications.
cgandhi <chandradeep.gandhi@sasken.com>
parents: 8
diff changeset
    34
#include "smfpost.h"
a469c0e6e7fb changes for SmfPost, SmfCredentialMgr, PLuginManager, SmfServer. Adding Sample Plugins and Sample Client Applications.
cgandhi <chandradeep.gandhi@sasken.com>
parents: 8
diff changeset
    35
#include "smfcontact.h"
8
4102c67b6e56 Restoring the missing activity related and music headers
cgandhi <chandradeep.gandhi@sasken.com>
parents:
diff changeset
    36
4102c67b6e56 Restoring the missing activity related and music headers
cgandhi <chandradeep.gandhi@sasken.com>
parents:
diff changeset
    37
class SmfActivityObjectPrivate: public QSharedData
4102c67b6e56 Restoring the missing activity related and music headers
cgandhi <chandradeep.gandhi@sasken.com>
parents:
diff changeset
    38
	{
4102c67b6e56 Restoring the missing activity related and music headers
cgandhi <chandradeep.gandhi@sasken.com>
parents:
diff changeset
    39
public:	
14
a469c0e6e7fb changes for SmfPost, SmfCredentialMgr, PLuginManager, SmfServer. Adding Sample Plugins and Sample Client Applications.
cgandhi <chandradeep.gandhi@sasken.com>
parents: 8
diff changeset
    40
	SmfActivityObjectPrivate( ) {
a469c0e6e7fb changes for SmfPost, SmfCredentialMgr, PLuginManager, SmfServer. Adding Sample Plugins and Sample Client Applications.
cgandhi <chandradeep.gandhi@sasken.com>
parents: 8
diff changeset
    41
		m_id.clear();
a469c0e6e7fb changes for SmfPost, SmfCredentialMgr, PLuginManager, SmfServer. Adding Sample Plugins and Sample Client Applications.
cgandhi <chandradeep.gandhi@sasken.com>
parents: 8
diff changeset
    42
		m_caption.clear();
a469c0e6e7fb changes for SmfPost, SmfCredentialMgr, PLuginManager, SmfServer. Adding Sample Plugins and Sample Client Applications.
cgandhi <chandradeep.gandhi@sasken.com>
parents: 8
diff changeset
    43
		m_link.clear();
a469c0e6e7fb changes for SmfPost, SmfCredentialMgr, PLuginManager, SmfServer. Adding Sample Plugins and Sample Client Applications.
cgandhi <chandradeep.gandhi@sasken.com>
parents: 8
diff changeset
    44
		m_content.clear();
a469c0e6e7fb changes for SmfPost, SmfCredentialMgr, PLuginManager, SmfServer. Adding Sample Plugins and Sample Client Applications.
cgandhi <chandradeep.gandhi@sasken.com>
parents: 8
diff changeset
    45
	}
a469c0e6e7fb changes for SmfPost, SmfCredentialMgr, PLuginManager, SmfServer. Adding Sample Plugins and Sample Client Applications.
cgandhi <chandradeep.gandhi@sasken.com>
parents: 8
diff changeset
    46
	
a469c0e6e7fb changes for SmfPost, SmfCredentialMgr, PLuginManager, SmfServer. Adding Sample Plugins and Sample Client Applications.
cgandhi <chandradeep.gandhi@sasken.com>
parents: 8
diff changeset
    47
	SmfActivityObjectPrivate( const SmfActivityObjectPrivate& aOther ) :
a469c0e6e7fb changes for SmfPost, SmfCredentialMgr, PLuginManager, SmfServer. Adding Sample Plugins and Sample Client Applications.
cgandhi <chandradeep.gandhi@sasken.com>
parents: 8
diff changeset
    48
		QSharedData (aOther),
a469c0e6e7fb changes for SmfPost, SmfCredentialMgr, PLuginManager, SmfServer. Adding Sample Plugins and Sample Client Applications.
cgandhi <chandradeep.gandhi@sasken.com>
parents: 8
diff changeset
    49
		m_id (aOther.m_id),
a469c0e6e7fb changes for SmfPost, SmfCredentialMgr, PLuginManager, SmfServer. Adding Sample Plugins and Sample Client Applications.
cgandhi <chandradeep.gandhi@sasken.com>
parents: 8
diff changeset
    50
		m_thumbnail (aOther.m_thumbnail),
a469c0e6e7fb changes for SmfPost, SmfCredentialMgr, PLuginManager, SmfServer. Adding Sample Plugins and Sample Client Applications.
cgandhi <chandradeep.gandhi@sasken.com>
parents: 8
diff changeset
    51
		m_caption (aOther.m_caption),
a469c0e6e7fb changes for SmfPost, SmfCredentialMgr, PLuginManager, SmfServer. Adding Sample Plugins and Sample Client Applications.
cgandhi <chandradeep.gandhi@sasken.com>
parents: 8
diff changeset
    52
		m_type (aOther.m_type),
a469c0e6e7fb changes for SmfPost, SmfCredentialMgr, PLuginManager, SmfServer. Adding Sample Plugins and Sample Client Applications.
cgandhi <chandradeep.gandhi@sasken.com>
parents: 8
diff changeset
    53
		m_objData (aOther.m_objData),
a469c0e6e7fb changes for SmfPost, SmfCredentialMgr, PLuginManager, SmfServer. Adding Sample Plugins and Sample Client Applications.
cgandhi <chandradeep.gandhi@sasken.com>
parents: 8
diff changeset
    54
		m_link (aOther.m_link),
a469c0e6e7fb changes for SmfPost, SmfCredentialMgr, PLuginManager, SmfServer. Adding Sample Plugins and Sample Client Applications.
cgandhi <chandradeep.gandhi@sasken.com>
parents: 8
diff changeset
    55
		m_time (aOther.m_time),
a469c0e6e7fb changes for SmfPost, SmfCredentialMgr, PLuginManager, SmfServer. Adding Sample Plugins and Sample Client Applications.
cgandhi <chandradeep.gandhi@sasken.com>
parents: 8
diff changeset
    56
		m_content (aOther.m_content) { }
a469c0e6e7fb changes for SmfPost, SmfCredentialMgr, PLuginManager, SmfServer. Adding Sample Plugins and Sample Client Applications.
cgandhi <chandradeep.gandhi@sasken.com>
parents: 8
diff changeset
    57
a469c0e6e7fb changes for SmfPost, SmfCredentialMgr, PLuginManager, SmfServer. Adding Sample Plugins and Sample Client Applications.
cgandhi <chandradeep.gandhi@sasken.com>
parents: 8
diff changeset
    58
	~SmfActivityObjectPrivate( ) {}
8
4102c67b6e56 Restoring the missing activity related and music headers
cgandhi <chandradeep.gandhi@sasken.com>
parents:
diff changeset
    59
	
4102c67b6e56 Restoring the missing activity related and music headers
cgandhi <chandradeep.gandhi@sasken.com>
parents:
diff changeset
    60
	/**
4102c67b6e56 Restoring the missing activity related and music headers
cgandhi <chandradeep.gandhi@sasken.com>
parents:
diff changeset
    61
	 * Data members
4102c67b6e56 Restoring the missing activity related and music headers
cgandhi <chandradeep.gandhi@sasken.com>
parents:
diff changeset
    62
	 */
4102c67b6e56 Restoring the missing activity related and music headers
cgandhi <chandradeep.gandhi@sasken.com>
parents:
diff changeset
    63
	QString m_id;
4102c67b6e56 Restoring the missing activity related and music headers
cgandhi <chandradeep.gandhi@sasken.com>
parents:
diff changeset
    64
	QImage m_thumbnail;
4102c67b6e56 Restoring the missing activity related and music headers
cgandhi <chandradeep.gandhi@sasken.com>
parents:
diff changeset
    65
	QString m_caption;
4102c67b6e56 Restoring the missing activity related and music headers
cgandhi <chandradeep.gandhi@sasken.com>
parents:
diff changeset
    66
	SmfActivityObjectType m_type;
4102c67b6e56 Restoring the missing activity related and music headers
cgandhi <chandradeep.gandhi@sasken.com>
parents:
diff changeset
    67
	QVariant m_objData;
4102c67b6e56 Restoring the missing activity related and music headers
cgandhi <chandradeep.gandhi@sasken.com>
parents:
diff changeset
    68
	QString m_link;
4102c67b6e56 Restoring the missing activity related and music headers
cgandhi <chandradeep.gandhi@sasken.com>
parents:
diff changeset
    69
	QDateTime m_time;
4102c67b6e56 Restoring the missing activity related and music headers
cgandhi <chandradeep.gandhi@sasken.com>
parents:
diff changeset
    70
	QString m_content;
4102c67b6e56 Restoring the missing activity related and music headers
cgandhi <chandradeep.gandhi@sasken.com>
parents:
diff changeset
    71
	};
4102c67b6e56 Restoring the missing activity related and music headers
cgandhi <chandradeep.gandhi@sasken.com>
parents:
diff changeset
    72
4102c67b6e56 Restoring the missing activity related and music headers
cgandhi <chandradeep.gandhi@sasken.com>
parents:
diff changeset
    73
class SmfActivityEntryPrivate: public QSharedData
4102c67b6e56 Restoring the missing activity related and music headers
cgandhi <chandradeep.gandhi@sasken.com>
parents:
diff changeset
    74
	{
4102c67b6e56 Restoring the missing activity related and music headers
cgandhi <chandradeep.gandhi@sasken.com>
parents:
diff changeset
    75
public:
14
a469c0e6e7fb changes for SmfPost, SmfCredentialMgr, PLuginManager, SmfServer. Adding Sample Plugins and Sample Client Applications.
cgandhi <chandradeep.gandhi@sasken.com>
parents: 8
diff changeset
    76
	SmfActivityEntryPrivate( ) {
a469c0e6e7fb changes for SmfPost, SmfCredentialMgr, PLuginManager, SmfServer. Adding Sample Plugins and Sample Client Applications.
cgandhi <chandradeep.gandhi@sasken.com>
parents: 8
diff changeset
    77
		m_id.clear();
a469c0e6e7fb changes for SmfPost, SmfCredentialMgr, PLuginManager, SmfServer. Adding Sample Plugins and Sample Client Applications.
cgandhi <chandradeep.gandhi@sasken.com>
parents: 8
diff changeset
    78
	}
8
4102c67b6e56 Restoring the missing activity related and music headers
cgandhi <chandradeep.gandhi@sasken.com>
parents:
diff changeset
    79
	
14
a469c0e6e7fb changes for SmfPost, SmfCredentialMgr, PLuginManager, SmfServer. Adding Sample Plugins and Sample Client Applications.
cgandhi <chandradeep.gandhi@sasken.com>
parents: 8
diff changeset
    80
	SmfActivityEntryPrivate( const SmfActivityEntryPrivate& aOther ) :
a469c0e6e7fb changes for SmfPost, SmfCredentialMgr, PLuginManager, SmfServer. Adding Sample Plugins and Sample Client Applications.
cgandhi <chandradeep.gandhi@sasken.com>
parents: 8
diff changeset
    81
		QSharedData (aOther),
a469c0e6e7fb changes for SmfPost, SmfCredentialMgr, PLuginManager, SmfServer. Adding Sample Plugins and Sample Client Applications.
cgandhi <chandradeep.gandhi@sasken.com>
parents: 8
diff changeset
    82
		m_id (aOther.m_id),
a469c0e6e7fb changes for SmfPost, SmfCredentialMgr, PLuginManager, SmfServer. Adding Sample Plugins and Sample Client Applications.
cgandhi <chandradeep.gandhi@sasken.com>
parents: 8
diff changeset
    83
		m_title (aOther.m_title),
a469c0e6e7fb changes for SmfPost, SmfCredentialMgr, PLuginManager, SmfServer. Adding Sample Plugins and Sample Client Applications.
cgandhi <chandradeep.gandhi@sasken.com>
parents: 8
diff changeset
    84
		m_details (aOther.m_details),
a469c0e6e7fb changes for SmfPost, SmfCredentialMgr, PLuginManager, SmfServer. Adding Sample Plugins and Sample Client Applications.
cgandhi <chandradeep.gandhi@sasken.com>
parents: 8
diff changeset
    85
		m_author (aOther.m_author),
a469c0e6e7fb changes for SmfPost, SmfCredentialMgr, PLuginManager, SmfServer. Adding Sample Plugins and Sample Client Applications.
cgandhi <chandradeep.gandhi@sasken.com>
parents: 8
diff changeset
    86
		m_actionName (aOther.m_actionName),
a469c0e6e7fb changes for SmfPost, SmfCredentialMgr, PLuginManager, SmfServer. Adding Sample Plugins and Sample Client Applications.
cgandhi <chandradeep.gandhi@sasken.com>
parents: 8
diff changeset
    87
		m_activities (aOther.m_activities),
a469c0e6e7fb changes for SmfPost, SmfCredentialMgr, PLuginManager, SmfServer. Adding Sample Plugins and Sample Client Applications.
cgandhi <chandradeep.gandhi@sasken.com>
parents: 8
diff changeset
    88
		m_targetObj (aOther.m_targetObj)  { }
a469c0e6e7fb changes for SmfPost, SmfCredentialMgr, PLuginManager, SmfServer. Adding Sample Plugins and Sample Client Applications.
cgandhi <chandradeep.gandhi@sasken.com>
parents: 8
diff changeset
    89
a469c0e6e7fb changes for SmfPost, SmfCredentialMgr, PLuginManager, SmfServer. Adding Sample Plugins and Sample Client Applications.
cgandhi <chandradeep.gandhi@sasken.com>
parents: 8
diff changeset
    90
	~SmfActivityEntryPrivate( ) { }
a469c0e6e7fb changes for SmfPost, SmfCredentialMgr, PLuginManager, SmfServer. Adding Sample Plugins and Sample Client Applications.
cgandhi <chandradeep.gandhi@sasken.com>
parents: 8
diff changeset
    91
	
a469c0e6e7fb changes for SmfPost, SmfCredentialMgr, PLuginManager, SmfServer. Adding Sample Plugins and Sample Client Applications.
cgandhi <chandradeep.gandhi@sasken.com>
parents: 8
diff changeset
    92
	/**
a469c0e6e7fb changes for SmfPost, SmfCredentialMgr, PLuginManager, SmfServer. Adding Sample Plugins and Sample Client Applications.
cgandhi <chandradeep.gandhi@sasken.com>
parents: 8
diff changeset
    93
	 * Data members
a469c0e6e7fb changes for SmfPost, SmfCredentialMgr, PLuginManager, SmfServer. Adding Sample Plugins and Sample Client Applications.
cgandhi <chandradeep.gandhi@sasken.com>
parents: 8
diff changeset
    94
	 */
8
4102c67b6e56 Restoring the missing activity related and music headers
cgandhi <chandradeep.gandhi@sasken.com>
parents:
diff changeset
    95
	QString m_id;
4102c67b6e56 Restoring the missing activity related and music headers
cgandhi <chandradeep.gandhi@sasken.com>
parents:
diff changeset
    96
	SmfPost m_title;
4102c67b6e56 Restoring the missing activity related and music headers
cgandhi <chandradeep.gandhi@sasken.com>
parents:
diff changeset
    97
	SmfPost m_details;
4102c67b6e56 Restoring the missing activity related and music headers
cgandhi <chandradeep.gandhi@sasken.com>
parents:
diff changeset
    98
	SmfContact m_author;
4102c67b6e56 Restoring the missing activity related and music headers
cgandhi <chandradeep.gandhi@sasken.com>
parents:
diff changeset
    99
	SmfActivityVerb m_actionName;
4102c67b6e56 Restoring the missing activity related and music headers
cgandhi <chandradeep.gandhi@sasken.com>
parents:
diff changeset
   100
	QList<SmfActivityObject> m_activities;
4102c67b6e56 Restoring the missing activity related and music headers
cgandhi <chandradeep.gandhi@sasken.com>
parents:
diff changeset
   101
	SmfActivityObject m_targetObj;
4102c67b6e56 Restoring the missing activity related and music headers
cgandhi <chandradeep.gandhi@sasken.com>
parents:
diff changeset
   102
	};
4102c67b6e56 Restoring the missing activity related and music headers
cgandhi <chandradeep.gandhi@sasken.com>
parents:
diff changeset
   103
4102c67b6e56 Restoring the missing activity related and music headers
cgandhi <chandradeep.gandhi@sasken.com>
parents:
diff changeset
   104
#endif /* SMFACTIONS_P_H_ */