aknsdatacontext.h

Go to the documentation of this file.
00001 /*
00002 * ==============================================================================
00003 *  Name        : AknsDataContext.h
00004 *  Part of     : Avkon Skins / Skin Library
00005 *  Interface   : ?Interface_category, ?Interface_name
00006 *  Description : Defines a public interface class MAknsDataContext.
00007 *  Version     : ?Version
00008 *
00009 *  Copyright © 2002 Nokia Corporation.
00010 *  This material, including documentation and any related 
00011 *  computer programs, is protected by copyright controlled by 
00012 *  Nokia Corporation. All rights are reserved. Copying, 
00013 *  including reproducing, storing, adapting or translating, any 
00014 *  or all of this material requires the prior written consent of 
00015 *  Nokia Corporation. This material also contains confidential 
00016 *  information which may not be disclosed to others without the 
00017 *  prior written consent of Nokia Corporation.
00018 * ==============================================================================
00019 */
00020 
00021 #ifndef AKNSDATACONTEXT_H
00022 #define AKNSDATACONTEXT_H
00023 
00024 //  INCLUDES
00025 #include <AknsConstants.h>
00026 #include <AknsItemID.h>
00027 #include <coemop.h>
00028 
00029 // CLASS DECLARATION
00030 
00046 class MAknsDataContext 
00047     {
00048     public: // Type UID
00054         DECLARE_TYPE_ID(0x10005a28)
00055 
00056     public:  // Constructors and destructor    
00057 
00064         inline virtual ~MAknsDataContext() {}
00065         
00066     public: // New functions
00067 
00084         virtual void ReserveItemL( const TAknsItemID& aID ) =0;
00085 
00099         virtual void ReleaseItem( const TAknsItemID& aID ) =0;
00100 
00101     protected: // Reserved virtual functions
00102 
00108         virtual TInt Reserved1();
00109 
00115         virtual TInt Reserved2();
00116 
00117     public: // New functions
00118 
00133         IMPORT_C static TTypeUid::Ptr SupplyMopObject( TTypeUid aId, 
00134             MAknsDataContext* aContext );
00135 
00136     };
00137 
00138 // AKNSDATACONTEXT_H
00139 #endif
00140             
00141 // End of File

Copyright © Nokia Corporation 2001-2008
Back to top