organizer_plat/clock_settingsview_plugin_api/inc/clocksettingsviewinterface.h
changeset 49 5de72ea7a065
equal deleted inserted replaced
37:360d55486d7f 49:5de72ea7a065
       
     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: Header file for clock settings view Interface
       
    15 *
       
    16 */
       
    17 
       
    18 #ifndef CLOCKSETTINGSVIEWINTERFACE_H
       
    19 #define CLOCKSETTINGSVIEWINTERFACE_H
       
    20 
       
    21 // System includes
       
    22 #include <qglobal.h>
       
    23 
       
    24 /*!
       
    25 	\class ClockSettingsViewInterface
       
    26 
       
    27 	\brief The class ClockSettingsViewInterface is an interface for the plugin to show clock settings view
       
    28  */
       
    29 
       
    30 
       
    31 #define CLOCK_SETTINGSVIEW_PLUGIN_PATH QString("z:/resource/qt/plugins/clock")
       
    32 #define CLOCK_SETTINGSVIEW_PLUGIN_NAME QString("clocksettingsviewplugin.qtplugin")
       
    33 
       
    34 class ClockSettingsViewInterface
       
    35 {
       
    36 	
       
    37 public:
       
    38 
       
    39 	/*!
       
    40 	Destructor
       
    41 	*/
       
    42 	virtual ~ClockSettingsViewInterface() {}
       
    43 	
       
    44 	/*!
       
    45 	To launch the Clock Regional Settings View
       
    46 	*/
       
    47 	virtual void launchRegionalSettingsView() = 0;
       
    48 
       
    49 };
       
    50 
       
    51 Q_DECLARE_INTERFACE(ClockSettingsViewInterface, 
       
    52         "org.nokia.clock.ClockSettingsViewInterface/1.0")
       
    53 
       
    54 #endif // CLOCKSETTINGSVIEWINTERFACE_H
       
    55 
       
    56 // End of file