mmsharing/inc/musavasettingsobserver.h
changeset 22 496ad160a278
equal deleted inserted replaced
15:ccd8e69b5392 22:496ad160a278
       
     1 /*
       
     2 * Copyright (c) 2005-2007 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:  This interface is used by
       
    15 *                clients to get and availability setting for Video Charging
       
    16 *
       
    17 */
       
    18 
       
    19 
       
    20 #ifndef __MUSAVASETTINGSOBSERVER_H__
       
    21 #define __MUSAVASETTINGSOBSERVER_H__
       
    22 
       
    23 //  INCLUDES
       
    24 #include <badesca.h>
       
    25 #include <e32base.h>
       
    26 
       
    27 #include "musmanagercommon.h"
       
    28 
       
    29 /**
       
    30  *  Defines setting interface for the MusAvailability Plug-in
       
    31  *
       
    32  *  ECOM clients set and get setting are used by MusAvailability Plug-in.
       
    33  *
       
    34  *  @lib musavailabilityplugin.lib
       
    35  *  @since S60 v3.2
       
    36  */
       
    37 
       
    38 class MMusAvaSettingsObserver
       
    39 	{
       
    40 public:
       
    41     enum TApplicationState
       
    42         {
       
    43         EApplicationStateNotDefined,
       
    44         EApplicationNotRunning,
       
    45         EApplicationIsRunning
       
    46         };
       
    47     
       
    48 public:
       
    49 
       
    50     virtual TApplicationState ApplicationState() = 0;
       
    51     
       
    52     virtual TBool OptionAllowed() = 0;
       
    53     
       
    54     virtual void StartApplicationL( MultimediaSharing::TMusUseCase aUseCase ) = 0;
       
    55 
       
    56     };
       
    57 
       
    58 
       
    59 #endif // __MUSAVASETTINGSOBSERVER_H__
       
    60