S60 5th Edition SDK
Example Applications Guide

cssyncapplication.h

00001 /*
00002 * ==============================================================================
00003 *  Name        : cssyncapplication.h
00004 *  Part of     : CSSync
00005 *  Interface   :
00006 *  Description :
00007 *  Version     :
00008 *
00009 *  Copyright (c) 2006 Nokia Corporation.
00010 *  This material, including documentation and any related
00011 *  computer programs, is protected by copyright controlled by
00012 *  Nokia Corporation.
00013 * ==============================================================================
00014 */
00015 
00016 
00017 #ifndef __CSSYNC_APPLICATION_H__
00018 #define __CSSYNC_APPLICATION_H__
00019 
00020 // INCLUDE FILES
00021 #include <aknapp.h>
00022 
00023 // CONSTANTS
00024 // Uid for this application, this should match the one in the mmp file
00025 const TUid KUidCSSyncApp = { 0xA00001FB };
00026 
00027 // CLASS DECLARATION
00028 /**
00029 * CCSSyncApplication
00030 *  An instance of CCSSyncApplication is the application part of the AVKON
00031 *  application framework for the CSSync example application.
00032 */
00033 class CCSSyncApplication : public CAknApplication
00034     {
00035     public: // Functions from base classes
00036 
00037         /**
00038         * From CAknApplication, AppDllUid.
00039         * Returns the application DLL UID value.
00040         * @return the UID of this Application/Dll.
00041         */
00042         TUid AppDllUid() const;
00043 
00044     protected: // Functions from base classes
00045 
00046         /**
00047         * From CAknApplication, CreateDocumentL.
00048         * Creates a CApaDocument object and return a pointer to it.
00049         * @return A pointer to the created document.
00050         */
00051         CApaDocument* CreateDocumentL();
00052     };
00053 
00054 #endif // __CSSYNC_APPLICATION_H__
00055 
00056 
00057 // End of File

© Nokia 2009

Back to top