engines/vmbxengine/inc/vmbshandler.h
branchRCL_3
changeset 20 987c9837762f
parent 0 ff3b6d0fd310
equal deleted inserted replaced
19:7d48bed6ce0c 20:987c9837762f
       
     1 /*
       
     2 * Copyright (c) 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:  Branding for voice mailbox
       
    15  *
       
    16 */
       
    17 
       
    18 #ifndef C_VMBSHANDLER_H
       
    19 #define C_VMBSHANDLER_H
       
    20 
       
    21 // INCLUDES
       
    22 #include <e32std.h>
       
    23 #include <e32base.h>
       
    24 
       
    25 // CONSTANTS
       
    26 // None
       
    27 
       
    28 // MACROS
       
    29 // None
       
    30 
       
    31 // DATA TYPES
       
    32 // None
       
    33 
       
    34 // FUNCTION PROTOTYPES
       
    35 // None
       
    36 
       
    37 // FORWARD DECLARATIONS
       
    38 
       
    39 
       
    40 // CLASS DECLARATION
       
    41 
       
    42 /**
       
    43  *  CVmBSHandler declaration.
       
    44  *
       
    45  *  @since S60 3.2
       
    46  */
       
    47 NONSHARABLE_CLASS( CVmBSHandler ) : public CBase
       
    48     {
       
    49 
       
    50 public: // Constructors and destructor
       
    51 
       
    52     /**
       
    53     * Two-phased constructor.
       
    54     */
       
    55     static CVmBSHandler* NewL();
       
    56 
       
    57     /**
       
    58      * Two-phased constructor.
       
    59      */
       
    60     static CVmBSHandler* NewLC();
       
    61 
       
    62     /**
       
    63      * Destructor.
       
    64      */
       
    65     virtual ~CVmBSHandler();
       
    66 
       
    67 public: // New functions
       
    68 
       
    69     /**
       
    70      * Get branded icon
       
    71      * @since S60 3.2
       
    72      * @param aBrandingId Brandind Id
       
    73      * @param aBrandedBitmap Bitmap for branded icon
       
    74      * @param aBrandedBitmapMask Mask to branded icon
       
    75      */
       
    76     void GetBrandedIconL( const TDesC8& aBrandingId,
       
    77                           CFbsBitmap*& aBrandedBitmap,
       
    78                           CFbsBitmap*& aBrandedBitmapMask ) const;
       
    79 
       
    80 private:
       
    81 
       
    82     /**
       
    83      * C++ default constructor.
       
    84      */
       
    85     CVmBSHandler();
       
    86 
       
    87     /**
       
    88      * By default Symbian 2nd phase constructor is private.
       
    89      */
       
    90     void ConstructL();
       
    91 
       
    92     };
       
    93 
       
    94 #endif // C_VMBSHANDLER_H
       
    95 
       
    96 // End of file