messagingapp/msgui/unifiedviewer/inc/univiewerfeeder_p.h
changeset 37 518b245aa84c
parent 25 84d9eb65b26f
child 48 4f501b74aeb1
equal deleted inserted replaced
25:84d9eb65b26f 37:518b245aa84c
    23 #include <e32base.h>
    23 #include <e32base.h>
    24 #include <msvapi.h>
    24 #include <msvapi.h>
    25 
    25 
    26 #include "convergedmessage.h"
    26 #include "convergedmessage.h"
    27 #include "unidatamodelplugininterface.h"
    27 #include "unidatamodelplugininterface.h"
    28 #include <qmobilityglobal.h>
       
    29 
    28 
    30 class QDateTime;
    29 class QDateTime;
    31 class UniViewerFeeder;
    30 class UniViewerFeeder;
    32 class CMsvSession;
    31 class CMsvSession;
    33 class UniDataModelPluginInterface;
    32 class UniDataModelPluginInterface;
    34 class UniDataModelLoader;
    33 class UniDataModelLoader;
    35 
       
    36 QTM_BEGIN_NAMESPACE
       
    37 class QContactManager;
       
    38 QTM_END_NAMESPACE
       
    39 
       
    40 QTM_USE_NAMESPACE
       
    41 
    34 
    42 /**
    35 /**
    43  * UniViewerFeederPrivate
    36  * UniViewerFeederPrivate
    44  * Feeder Private class for unified viewer. Fetches data from the
    37  * Feeder Private class for unified viewer. Fetches data from the
    45  * message store for the given message id.
    38  * message store for the given message id.
   136     /**
   129     /**
   137      * ccAddressList
   130      * ccAddressList
   138      * @return list of cc address list
   131      * @return list of cc address list
   139      */
   132      */
   140     ConvergedMessageAddressList ccAddressList();
   133     ConvergedMessageAddressList ccAddressList();
       
   134 
       
   135     /**
       
   136      * bccAddressList
       
   137      * @return list of Bcc address list
       
   138      */
       
   139     ConvergedMessageAddressList bccAddressList();
       
   140 
       
   141     /**
       
   142      * Finds total recipient count
       
   143      * @return total recipient count
       
   144      */
       
   145     int recipientCount();
       
   146 
   141     /**
   147     /**
   142      * messageSize
   148      * messageSize
   143      * @return int
   149      * @return int
   144      */
   150      */
   145 
       
   146     int messageSize();
   151     int messageSize();
   147 
   152 
   148     /**
   153     /**
   149      * clearContent
   154      * clearContent
   150      * @void
   155      * @void
   178     
   183     
   179     /**
   184     /**
   180      * Returns the sending state of the message.
   185      * Returns the sending state of the message.
   181      */
   186      */
   182     int sendingState();
   187     int sendingState();
   183     
       
   184     /**
       
   185      * Gets the name(alias) for a address from the Contact database
       
   186      * @int returns number of phone addresses for the specified address.
       
   187      */
       
   188     static int GetNameFromContacts(const QString& address, QString& alias);
       
   189 
       
   190 
   188 
   191 private:
   189 private:
   192     /**
   190     /**
   193      * Fetches message details from the store.
   191      * Fetches message details from the store.
   194      */
   192      */
   244     /**
   242     /**
   245      * CC address list
   243      * CC address list
   246      * owned.
   244      * owned.
   247      */
   245      */
   248     ConvergedMessageAddressList mCcAddressList;
   246     ConvergedMessageAddressList mCcAddressList;
   249 	
   247 
   250 	
   248     /**
       
   249      * CC address list
       
   250      * owned.
       
   251      */
       
   252     ConvergedMessageAddressList mBccAddressList;
       
   253 
   251     /**
   254     /**
   252      * Msv Session.
   255      * Msv Session.
   253      * not Owned.
   256      * not Owned.
   254      */
   257      */
   255     CMsvSession* mSession;
   258     CMsvSession* mSession;