epoc32/include/mw/aknpictographinterface.h
author William Roberts <williamr@symbian.org>
Tue, 16 Mar 2010 16:12:26 +0000
branchSymbian2
changeset 2 2fe1408b6811
parent 1 666f914201fb
child 4 837f303aceeb
permissions -rw-r--r--
Final list of Symbian^2 public API header files
     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 the License "Symbian Foundation License v1.0" to Symbian Foundation members and "Symbian Foundation End User License Agreement v1.0" to non-members
     6 * which accompanies this distribution, and is available
     7 * at the URL "http://www.symbianfoundation.org/legal/licencesv10.html".
     8 *
     9 * Initial Contributors:
    10 * Nokia Corporation - initial contribution.
    11 *
    12 * Contributors:
    13 *
    14 * Description:  Pictograph interface instance.
    15 *
    16 *
    17 */
    18 
    19 
    20 
    21 #ifndef AKN_PICTOGRAPH_INTERFACE_H
    22 #define AKN_PICTOGRAPH_INTERFACE_H
    23 
    24 // INCLUDES
    25 #include <e32base.h>
    26 
    27 // CONSTANTS
    28 
    29 // FORWARD DECLARATIONS
    30 
    31 class MAknPictographDrawer;
    32 class MAknPictographAnimatorCallBack;
    33 class CCoeControl;
    34 
    35 // CLASS DECLARATION
    36 
    37 /**
    38 * Pictograph interface.
    39 *
    40 *  @lib AknPictograph.lib
    41 *  @since 2.6
    42 */
    43 NONSHARABLE_CLASS(CAknPictographInterface) : public CBase
    44 	{
    45     public:  // Constructors and destructor
    46         
    47         /**
    48         * Returns a pictograph interface instance if pictograph feature is
    49         * supported.
    50         *
    51         * If pictograph feature is not supported, this method returns NULL.
    52         *
    53         * @since 2.6
    54         * @param aParent Not used at the moment. Reserved for future use.
    55         * @param aCallBack callback for drawing pictograph animations.
    56         */
    57 	    IMPORT_C static CAknPictographInterface* NewL(
    58             CCoeControl& aParent,
    59             MAknPictographAnimatorCallBack& aCallBack );
    60         
    61         /**
    62         * Destructor.
    63         */
    64         ~CAknPictographInterface();
    65 
    66     public: // New functions
    67 
    68         inline MAknPictographDrawer* Interface() const;
    69 
    70     private:
    71 
    72         /**
    73         * C++ default constructor.
    74         */
    75         CAknPictographInterface(); 
    76 
    77         /**
    78         * 2nd phase constructor.
    79         */
    80         void ConstructL( MAknPictographAnimatorCallBack& aCallBack );
    81 
    82     private:    // Data        
    83 
    84         /**
    85         * Handle to the polymorphic pictograph DLL.
    86         */
    87         RLibrary iLib;
    88 
    89         /**
    90         * Pictograph interface instance. Owned.
    91         */
    92         MAknPictographDrawer* iInterface;
    93 
    94     };
    95 
    96 #include "AknPictographInterface.inl"
    97 
    98 #endif      // AKN_PICTOGRAPH_INTERFACE_H
    99             
   100 // End of File