cameralityinfocontainer.h 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  1. /*
  2. * Copyright (c) 2010-2011 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: Camerality info container.
  15. *
  16. */
  17. #ifndef CAMERALITYINFOCONTAINER_H_
  18. #define CAMERALITYINFOCONTAINER_H_
  19. // INCLUDES
  20. #include "cameralitybasecontainer.h"
  21. // FORWARD DECLARATIONS
  22. class CCameralityGLProfiler;
  23. // CLASS DECLARATION
  24. /*!
  25. * Info container class.
  26. * Used to show about application state.
  27. */
  28. class CCameralityInfoContainer : public CCameralityBaseContainer
  29. {
  30. public:
  31. static CCameralityInfoContainer* NewL();
  32. virtual ~CCameralityInfoContainer();
  33. public: // New functions
  34. void Show(const TRect& extent);
  35. void Hide();
  36. private:
  37. void Draw(const TRect& aRect) const;
  38. static TInt RedrawCallback(TAny* aInstance);
  39. private:
  40. CCameralityInfoContainer();
  41. void ConstructL();
  42. private:
  43. CCameralityGLProfiler* iProfiler;
  44. CFbsBitmap* iBitmap;
  45. CFbsBitmap* iMask;
  46. CPeriodic* iPeriodic;
  47. };
  48. #endif /* CAMERALITYINFOCONTAINER_H_ */