examples/ForumNokia/ImageConverter/inc/ShowInfoDialog.h

00001 /*
00002  * Copyright © 2008 Nokia Corporation.
00003  */
00004 
00005 #ifndef __SHOWINFODIALOG_H__
00006 #define __SHOWINFODIALOG_H__
00007 
00008 // INCLUDES
00009 #include <aknquerydialog.h>
00010 
00011 // CLASS DECLARATION
00012 class CShowInfoDialog : public CAknQueryDialog
00013     {
00014     public: // Constructors and destructor
00015         CShowInfoDialog( CFrameInfoStrings* aInfoStrings );
00016         
00017         virtual ~CShowInfoDialog();
00018 
00019         void PreLayoutDynInitL();
00020 
00021         void PostLayoutDynInitL();
00022 
00023         TBool OkToExitL(TInt aButtonId);
00024 
00025     public:
00026         void SizeChanged();
00027         void CalculatePositionAndSize();
00028         
00029     private: // from base classes
00030         TInt CountComponentControls() const;
00031         
00032         CCoeControl* ComponentControl(TInt aIndex) const;
00033 
00034         void Draw( const TRect& /*aRect*/ ) const;
00035 
00036     private: // internal methods
00037        void HandleResourceChange(TInt aType);
00038        void SetSizeAndPosition(const TSize &aSize);
00039        
00040     private: // data
00041         CFrameInfoStrings*      iInfoStrings;
00042         CFont*                  iFont;
00043     };
00044 
00045 #endif //__SHOWINFODIALOG_H__

Generated by  doxygen 1.6.2