S60 5th Edition SDK
Example Applications Guide

cssyncapplication.cpp

00001 /*
00002 * ==============================================================================
00003 *  Name        : cssyncapplication.cpp
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 // INCLUDE FILES
00018 #include "CSSyncDocument.h"
00019 #include "CSSyncApplication.h"
00020 
00021 // ========================= MEMBER FUNCTIONS ==================================
00022 
00023 // -----------------------------------------------------------------------------
00024 // CCSSyncApplication::CreateDocumentL()
00025 // Creates a CSSync document, and return a pointer to it
00026 // -----------------------------------------------------------------------------
00027 //
00028 CApaDocument* CCSSyncApplication::CreateDocumentL()
00029     {
00030     return( static_cast<CApaDocument*>( CCSSyncDocument::NewL( *this ) ) );
00031     }
00032 
00033 // -----------------------------------------------------------------------------
00034 // CCSSyncApplication::AppDllUid()
00035 // Return the UID for the CSSync application
00036 // -----------------------------------------------------------------------------
00037 //
00038 TUid CCSSyncApplication::AppDllUid() const
00039     {
00040     return KUidCSSyncApp;
00041     }
00042 
00043 
00044 // End of File

© Nokia 2009

Back to top