CelestialSphereApplication.h 1.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  1. /*
  2. ============================================================================
  3. Name : CelestialSphereApplication.h
  4. Author : Den Grigorenko
  5. Copyright : Copyright (c) 2008 Den123
  6. Description : Declares main application class.
  7. ============================================================================
  8. */
  9. #ifndef __CELESTIALSPHEREAPPLICATION_H__
  10. #define __CELESTIALSPHEREAPPLICATION_H__
  11. // INCLUDES
  12. #include <aknapp.h>
  13. #include "CelestialSphere.hrh"
  14. // UID for the application;
  15. // this should correspond to the uid defined in the mmp file
  16. const TUid KUidCelestialSphereApp =
  17. { _UID3 };
  18. // CLASS DECLARATION
  19. /**
  20. * CCelestialSphereApplication application class.
  21. * Provides factory to create concrete document object.
  22. * An instance of CCelestialSphereApplication is the application part of the
  23. * AVKON application framework for the CelestialSphere example application.
  24. */
  25. class CCelestialSphereApplication : public CAknApplication
  26. {
  27. public:
  28. // Functions from base classes
  29. /**
  30. * From CApaApplication, AppDllUid.
  31. * @return Application's UID (KUidCelestialSphereApp).
  32. */
  33. TUid AppDllUid() const;
  34. protected:
  35. // Functions from base classes
  36. /**
  37. * From CApaApplication, CreateDocumentL.
  38. * Creates CCelestialSphereDocument document object. The returned
  39. * pointer in not owned by the CCelestialSphereApplication object.
  40. * @return A pointer to the created document object.
  41. */
  42. CApaDocument* CreateDocumentL();
  43. };
  44. #endif // __CELESTIALSPHEREAPPLICATION_H__
  45. // End of File