mmsharing/inc/musavasettingsobserver.h
changeset 0 f0cf47e981f9
child 32 73a1feb507fb
equal deleted inserted replaced
-1:000000000000 0:f0cf47e981f9
       
     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 /**
       
    28  *  Defines setting interface for the MusAvailability Plug-in
       
    29  *
       
    30  *  ECOM clients set and get setting are used by MusAvailability Plug-in.
       
    31  *
       
    32  *  @lib musavailabilityplugin.lib
       
    33  *  @since S60 v3.2
       
    34  */
       
    35 
       
    36 class MMusAvaSettingsObserver
       
    37 	{
       
    38 public:
       
    39     enum TApplicationState
       
    40         {
       
    41         EApplicationStateNotDefined,
       
    42         EApplicationNotRunning,
       
    43         EApplicationIsRunning
       
    44         };
       
    45     
       
    46 public:
       
    47 
       
    48     virtual TApplicationState ApplicationState() = 0;
       
    49     
       
    50     virtual TBool OptionAllowed() = 0;
       
    51 
       
    52     };
       
    53 
       
    54 
       
    55 #endif // __MUSAVASETTINGSOBSERVER_H__
       
    56