epoc32/include/mw/aknpictographinterface.h
branchSymbian2
changeset 2 2fe1408b6811
parent 1 666f914201fb
child 4 837f303aceeb
     1.1 --- a/epoc32/include/mw/aknpictographinterface.h	Tue Nov 24 13:55:44 2009 +0000
     1.2 +++ b/epoc32/include/mw/aknpictographinterface.h	Tue Mar 16 16:12:26 2010 +0000
     1.3 @@ -1,1 +1,100 @@
     1.4 -aknpictographinterface.h
     1.5 +/*
     1.6 +* Copyright (c) 2002 Nokia Corporation and/or its subsidiary(-ies).
     1.7 +* All rights reserved.
     1.8 +* This component and the accompanying materials are made available
     1.9 +* 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
    1.10 +* which accompanies this distribution, and is available
    1.11 +* at the URL "http://www.symbianfoundation.org/legal/licencesv10.html".
    1.12 +*
    1.13 +* Initial Contributors:
    1.14 +* Nokia Corporation - initial contribution.
    1.15 +*
    1.16 +* Contributors:
    1.17 +*
    1.18 +* Description:  Pictograph interface instance.
    1.19 +*
    1.20 +*
    1.21 +*/
    1.22 +
    1.23 +
    1.24 +
    1.25 +#ifndef AKN_PICTOGRAPH_INTERFACE_H
    1.26 +#define AKN_PICTOGRAPH_INTERFACE_H
    1.27 +
    1.28 +// INCLUDES
    1.29 +#include <e32base.h>
    1.30 +
    1.31 +// CONSTANTS
    1.32 +
    1.33 +// FORWARD DECLARATIONS
    1.34 +
    1.35 +class MAknPictographDrawer;
    1.36 +class MAknPictographAnimatorCallBack;
    1.37 +class CCoeControl;
    1.38 +
    1.39 +// CLASS DECLARATION
    1.40 +
    1.41 +/**
    1.42 +* Pictograph interface.
    1.43 +*
    1.44 +*  @lib AknPictograph.lib
    1.45 +*  @since 2.6
    1.46 +*/
    1.47 +NONSHARABLE_CLASS(CAknPictographInterface) : public CBase
    1.48 +	{
    1.49 +    public:  // Constructors and destructor
    1.50 +        
    1.51 +        /**
    1.52 +        * Returns a pictograph interface instance if pictograph feature is
    1.53 +        * supported.
    1.54 +        *
    1.55 +        * If pictograph feature is not supported, this method returns NULL.
    1.56 +        *
    1.57 +        * @since 2.6
    1.58 +        * @param aParent Not used at the moment. Reserved for future use.
    1.59 +        * @param aCallBack callback for drawing pictograph animations.
    1.60 +        */
    1.61 +	    IMPORT_C static CAknPictographInterface* NewL(
    1.62 +            CCoeControl& aParent,
    1.63 +            MAknPictographAnimatorCallBack& aCallBack );
    1.64 +        
    1.65 +        /**
    1.66 +        * Destructor.
    1.67 +        */
    1.68 +        ~CAknPictographInterface();
    1.69 +
    1.70 +    public: // New functions
    1.71 +
    1.72 +        inline MAknPictographDrawer* Interface() const;
    1.73 +
    1.74 +    private:
    1.75 +
    1.76 +        /**
    1.77 +        * C++ default constructor.
    1.78 +        */
    1.79 +        CAknPictographInterface(); 
    1.80 +
    1.81 +        /**
    1.82 +        * 2nd phase constructor.
    1.83 +        */
    1.84 +        void ConstructL( MAknPictographAnimatorCallBack& aCallBack );
    1.85 +
    1.86 +    private:    // Data        
    1.87 +
    1.88 +        /**
    1.89 +        * Handle to the polymorphic pictograph DLL.
    1.90 +        */
    1.91 +        RLibrary iLib;
    1.92 +
    1.93 +        /**
    1.94 +        * Pictograph interface instance. Owned.
    1.95 +        */
    1.96 +        MAknPictographDrawer* iInterface;
    1.97 +
    1.98 +    };
    1.99 +
   1.100 +#include "AknPictographInterface.inl"
   1.101 +
   1.102 +#endif      // AKN_PICTOGRAPH_INTERFACE_H
   1.103 +            
   1.104 +// End of File