wvuing/wvuiprocess/Inc/MCAApplicationNGPC.h
changeset 0 094583676ce7
equal deleted inserted replaced
-1:000000000000 0:094583676ce7
       
     1 /*
       
     2 * Copyright (c) 2006 Nokia Corporation and/or its subsidiary(-ies). 
       
     3 * All rights reserved.
       
     4 * This component and the accompanying materials are made available
       
     5 * under the terms of "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 * Nokia Corporation - initial contribution.
       
    11 *
       
    12 * Contributors:
       
    13 *
       
    14 * Description:  PC Interface for app ui
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 #ifndef MCAAPPLICATIONNGPC_H
       
    20 #define MCAAPPLICATIONNGPC_H
       
    21 
       
    22 #include "TEnumsPC.h"
       
    23 
       
    24 //class declaration
       
    25 /**
       
    26  *  @lib wvuiprocessng.lib
       
    27  *  @since 3.2
       
    28  */
       
    29 class MCAApplicationNGPC
       
    30     {
       
    31 
       
    32 
       
    33     public:
       
    34 
       
    35         /**
       
    36         * Enable or disable WV hiding
       
    37         * @param aHiding ETrue if hidden
       
    38         */
       
    39         virtual void SetWVHiding( TInt aHide ) = 0;
       
    40         /**
       
    41         * Enable or disable WV prefix hiding
       
    42         * @param aHiding ETrue if hidden
       
    43         */
       
    44         virtual void SetWVHidingPrefixOnly( TInt aHide ) = 0; // UI CR : 101-39728
       
    45         /**
       
    46         * Enable or disable Capitalization of contactlists
       
    47         * @param aCapital ETrue if capitalizing is enabled.
       
    48         */
       
    49         virtual void SetCapitalizingEnabled( TInt aCapital ) = 0; // UI CR : 101-39727
       
    50 
       
    51         /**
       
    52         * Identification of contact. This is resolved from known
       
    53         * identifications.
       
    54         * Alias, nickname and contactId.
       
    55         * Nickname is shown if set.
       
    56         * @param aContactId Id of contact which identification needed.
       
    57         * @return Identification of contact.
       
    58         *      Alias if nickname is not set and alias is enabled.
       
    59         *      Wvid without domain and prefix if nickname does not
       
    60                exists and alias is not enabled or not exists.
       
    61         */
       
    62         virtual const TPtrC Identification( const TDesC& aContactId ) = 0;
       
    63 
       
    64         /**
       
    65          * Count of pending messages
       
    66          * @return count of messages.
       
    67          */
       
    68         virtual TInt MessagesPendingCount( TInt& aCountOfChats,
       
    69                                            TEnumsPC::TUnreadFilter aUnreadFilter = TEnumsPC::EUnreadAll ) = 0;
       
    70 
       
    71         /**
       
    72          * Count of unread chat group messages.
       
    73          * @since v3.2
       
    74          * Count of pending messages for groups
       
    75          * @return count of messages.
       
    76          */
       
    77         virtual TInt ChatGroupMessagesPendingCount( TInt &aCountOfChats ) const = 0;
       
    78 
       
    79     public:
       
    80         /**
       
    81         * virtual destructor
       
    82         */
       
    83         virtual ~MCAApplicationNGPC()
       
    84             {
       
    85 
       
    86             };
       
    87 
       
    88 
       
    89     };
       
    90 
       
    91 #endif      // MCAAPPLICATIONNGPC_H
       
    92 
       
    93 // End of File