smf/smfservermodule/smfclient/common/smfgroup.h
changeset 14 a469c0e6e7fb
parent 7 be09cf1f39dd
equal deleted inserted replaced
13:b5d63d5fc252 14:a469c0e6e7fb
    18  */
    18  */
    19 
    19 
    20 #ifndef SMFGROUP_H_
    20 #ifndef SMFGROUP_H_
    21 #define SMFGROUP_H_
    21 #define SMFGROUP_H_
    22 
    22 
    23 #include <smfcontact.h>
    23 #include "smfcontact.h"
    24 #include <qdatastream.h>
    24 #include <qdatastream.h>
    25 #include <QSharedData>
    25 #include <QSharedData>
    26 #include "smfclientglobal.h"
    26 #include "smfclientglobal.h"
    27 #include <QMetaType>
    27 #include <QMetaType>
    28 #include "smfgroup_p.h"
    28 #include "smfgroup_p.h"
    29 
    29 
    30 
    30 /**
       
    31  * Max number of members per group
       
    32  */
       
    33 const int MaxMemberPerGroup = 1000;
       
    34 /**
       
    35  * Max size for one SmfGroup
       
    36  */
       
    37 const int MaxSmfGroupSize = MaxSmfContactSize*MaxMemberPerGroup;
    31 /**
    38 /**
    32  * @ingroup smf_common_group
    39  * @ingroup smf_common_group
    33  * The group class represents an instance of a group as per SN site terminolgy
    40  * The group class represents an instance of a group as per SN site terminolgy
    34  */
    41  */
    35 
    42 
    36 //QList<SmfGroup> gives error for serialization if its derived from QObject
       
    37 class  SMFCLIENT_EXPORT SmfGroup //: public QObject
    43 class  SMFCLIENT_EXPORT SmfGroup //: public QObject
    38 	{
    44 	{
    39 	//Q_OBJECT
    45 	//Q_OBJECT
    40 public:
    46 public:
    41 	/**
    47 	/**