phonebookui/Phonebook2/ServerApplication/inc/TPbk2TitlePaneOperator.h
changeset 0 e686773b3f54
equal deleted inserted replaced
-1:000000000000 0:e686773b3f54
       
     1 /*
       
     2 * Copyright (c) 2005-2007 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:  Phonebook 2 server application title pane manager.
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 #ifndef TPBK2TITLEPANEOPERATOR_H
       
    20 #define TPBK2TITLEPANEOPERATOR_H
       
    21 
       
    22 // INCLUDES
       
    23 #include <e32base.h>
       
    24 
       
    25 // FORWARD DECLARATIONS
       
    26 
       
    27 // CLASS DECLARATION
       
    28 
       
    29 /**
       
    30  * Phonebook 2 server application title pane manager.
       
    31  */
       
    32 class TPbk2TitlePaneOperator
       
    33     {
       
    34     public: // Construction
       
    35 
       
    36         /**
       
    37          * Constructor.
       
    38          */
       
    39         TPbk2TitlePaneOperator();
       
    40 
       
    41     public: // Interface
       
    42 
       
    43         /**
       
    44          * Sets the title pane.
       
    45          *
       
    46          * @param aTitlePaneText        Title pane text to set. If NULL,
       
    47          *                              Phonebook title is used.
       
    48          *                              Ownership of the text is taken!
       
    49          */
       
    50         void SetTitlePaneL(
       
    51                 HBufC* aTitlePaneText );
       
    52 
       
    53     private: // Implementation
       
    54         void ChangeTitlePaneL(
       
    55                 HBufC* aTitle );
       
    56         void ChangeContextIconL();
       
    57     };
       
    58 
       
    59 #endif // TPBK2TITLEPANEOPERATOR_H
       
    60 
       
    61 // End of File