phoneuis/BubbleManager/Inc/BMCallHeader.h
changeset 0 5f000ab63145
equal deleted inserted replaced
-1:000000000000 0:5f000ab63145
       
     1 /*
       
     2 * Copyright (c) 2002 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: 
       
    15 *     Concrete class which helds all the info about single call
       
    16 *
       
    17 */
       
    18 
       
    19 
       
    20 #ifndef CALLHEADER_H
       
    21 #define CALLHEADER_H
       
    22 
       
    23 // INCLUDES
       
    24 #include  "BMBubbleHeader.h"
       
    25 
       
    26 // CLASS DECLARATION
       
    27 
       
    28 /**
       
    29 *  CBubbleCallHeader class
       
    30 *
       
    31 *  Concrete class which helds all the info about single call.
       
    32 *
       
    33 *  @lib bubblemanager
       
    34 *  @since 1.0
       
    35 */
       
    36 
       
    37 class CBubbleCallHeader : public CBubbleHeader
       
    38     {
       
    39     
       
    40     public: // Constructors and destructor
       
    41         
       
    42         /**
       
    43         * two phase constructor
       
    44         * @param aBubbleId Id of the call header.
       
    45         * @return New instance.
       
    46         */
       
    47         static CBubbleCallHeader* NewL( 
       
    48             const CBubbleManager::TBubbleId& aBubbleId );
       
    49         
       
    50         /**
       
    51         * Destructor.
       
    52         */
       
    53         virtual ~CBubbleCallHeader();
       
    54         
       
    55     public: // Functions from base classes
       
    56 
       
    57         /**
       
    58         * From CBubbleHeader.
       
    59         */
       
    60         virtual TBool IsUsed() const;
       
    61 
       
    62         /**
       
    63         * From CBubbleHeader
       
    64         */
       
    65         virtual void SetIsUsed( const TBool& aIsUsed );
       
    66 
       
    67         /**
       
    68         * From CBubbleHeader
       
    69         */
       
    70         virtual TBool IsConference() const;
       
    71 
       
    72         /**
       
    73         * From CBubbleHeader
       
    74         */
       
    75         virtual void Reset();
       
    76         
       
    77     private: // private functions
       
    78 
       
    79         /**
       
    80         * Default constructor.
       
    81         */
       
    82         CBubbleCallHeader();
       
    83 
       
    84         /**
       
    85         * Symbian OS 2nd phase constructor.
       
    86         */
       
    87         void ConstructL( const CBubbleManager::TBubbleId& aBubbleId );
       
    88         
       
    89     private: //data
       
    90         // Is header in use?
       
    91         TBool iIsUsed;
       
    92 
       
    93     private:
       
    94         friend class CT_CBubbleCallHeader;
       
    95                
       
    96     };
       
    97 
       
    98 #endif //CALLHEADER_H
       
    99 
       
   100 // End of File