Nokia N97 SDK
Example Applications Guide

Slideshowdocument.h

00001 /*
00002  * ==============================================================================
00003  *  Name        : Slideshowdocument.h
00004  *  Part of     : OpenGLEx / Slideshow
00005  *
00006  *  Copyright (c) 2005-2006 Nokia Corporation.
00007  *  This material, including documentation and any related
00008  *  computer programs, is protected by copyright controlled by
00009  *  Nokia Corporation.
00010  * ==============================================================================
00011  */
00012 
00013 #ifndef SLIDESHOWDOCUMENT_H
00014 #define SLIDESHOWDOCUMENT_H
00015 
00016 // INCLUDES
00017 #include <akndoc.h>
00018 
00019 // FORWARD DECLARATIONS
00020 class  CEikAppUi;
00021 
00022 // CLASS DECLARATION
00023 
00024 /**
00025  * Document class that is just used as the container for the application
00026  * (as required by the Symbian UI application architecture).
00027  */
00028 class CSlideshowDocument : public CAknDocument
00029     {
00030     public: // Constructors and destructor
00031 
00032         /**
00033          * Factory method for creating a new CSlideshowDocument object.
00034                  * Calls the hidden constructors.
00035          */
00036         static CSlideshowDocument* NewL(CEikApplication& aApp);
00037 
00038         /**
00039          * Destructor. Does nothing.
00040          */
00041         virtual ~CSlideshowDocument();
00042 
00043         protected: // Hidden constructors
00044         /**
00045          * Second phase constructor that can call methods that may leave. Does nothing.
00046          */
00047         void ConstructL();
00048 
00049     public: // Hidden constructors
00050 
00051                 /**
00052          * C++ constructor. Just passes the given application reference to the baseclass.
00053          */
00054         CSlideshowDocument(CEikApplication& aApp);
00055 
00056     private: // Functions from base classes
00057 
00058         /**
00059          * From CEikDocument, creates and returns CSlideshowAppUi application UI object.
00060          */
00061         CEikAppUi* CreateAppUiL();
00062 };
00063 
00064 #endif
00065 
00066 // End of File
00067 

© Nokia 2009

Back to top