homesync/contentmanager/mediaservant/inc/msapp.h
changeset 0 7f85d04be362
equal deleted inserted replaced
-1:000000000000 0:7f85d04be362
       
     1 /*
       
     2 * Copyright (c) 2008 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:  Definition for cmediaservant class
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 #ifndef C_CMSAPP_H
       
    20 #define C_CMSAPP_H
       
    21 
       
    22 
       
    23 // INCLUDES
       
    24 #include <aknapp.h>
       
    25 
       
    26 /**
       
    27  * CMediaServant application class.
       
    28  * Provides factory to create concrete document object.
       
    29  *
       
    30  * @since S60 5.1
       
    31  */
       
    32 class CMediaServantApp : public CAknApplication
       
    33     {
       
    34 
       
    35 private:
       
    36 
       
    37         /**
       
    38         * Creates CCDSDocument document object.
       
    39         * @return A pointer to the created document object.
       
    40         */
       
    41         CApaDocument* CreateDocumentL();
       
    42 
       
    43         /**
       
    44         * Returns application's UID (KMediaServantUID3).
       
    45         * @return The value of KMediaServantUID3.
       
    46         */
       
    47         TUid AppDllUid() const;
       
    48 
       
    49         /**
       
    50         * By default Symbian 2nd phase constructor is private.
       
    51         */
       
    52         void ConstructL();
       
    53     };
       
    54 
       
    55 #endif   // C_CMSAPP_H
       
    56 
       
    57