locationsystemui/locationsysui/possettings/inc/possettingsadvinterface.h
changeset 25 73f6c2762ffe
child 32 b12ea03c50a3
equal deleted inserted replaced
22:4c4ed41530db 25:73f6c2762ffe
       
     1 /*
       
     2 * Copyright (c) 2010 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: Positioning settings advanced interface class.
       
    15 *
       
    16 */
       
    17 
       
    18 #ifndef POSSETTINGSENGADVANCEDINTERFACE_H
       
    19 #define POSSETTINGSENGADVANCEDINTERFACE_H
       
    20 
       
    21 #include "possettingsadvop.h"
       
    22 #include <qtplugin>
       
    23 
       
    24 
       
    25 
       
    26 //Provider id and version
       
    27 static const char* KAdvancedInterfaceId = 
       
    28            "com.nokia.PosSettingsAdvInterface/1.0";
       
    29 
       
    30  
       
    31 /**
       
    32  * Settings UI ECom plug-in interface
       
    33  *
       
    34  * PosSettingsAdvInterface class tdefines interface for Advanced 
       
    35  * positioning settings UI. Any Settings UI component should derive from this 
       
    36  * class and implement the abstract functions.
       
    37  *
       
    38  */
       
    39 class PosSettingsAdvInterface 
       
    40     {
       
    41     
       
    42 public:
       
    43     /**
       
    44      * Destructor
       
    45      */
       
    46     virtual ~PosSettingsAdvInterface(){}
       
    47 	
       
    48   
       
    49     /**
       
    50      *	This method performs operations required to display advanced settings UI 
       
    51      *	The operations would involve the following :
       
    52      *	- add data model items
       
    53      *	- add connections for the data model items
       
    54      *	- add actions for menu items ( if any )
       
    55      *	- add connection to the view using the slot updateAdvancedView
       
    56      *	  to update the view when the form is updated.
       
    57      */
       
    58     virtual int initialise( PosSettingsAdvOp* operation ) = 0;
       
    59     
       
    60     };
       
    61 
       
    62 
       
    63 // MACROS
       
    64 Q_DECLARE_INTERFACE( PosSettingsAdvInterface,KAdvancedInterfaceId );
       
    65 
       
    66 #endif /* POSSETTINGSENGADVANCEDINTERFACE_H */