javamanager/javacaptain/extensionplugins/settingslistener/inc/settingslistenerextension.h
branchRCL_3
changeset 60 6c158198356e
equal deleted inserted replaced
59:e5618cc85d74 60:6c158198356e
       
     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:  Extension plugin which is used for monitoring changes in various
       
    15 *                     system settings.
       
    16 *
       
    17 */
       
    18 
       
    19 #ifndef SETTINGSLISTENEREXTENSION_H
       
    20 #define SETTINGSLISTENEREXTENSION_H
       
    21 
       
    22 #include "javaosheaders.h"
       
    23 
       
    24 #include "extensionplugininterface.h"
       
    25 #include "settingslistenerinterface.h"
       
    26 
       
    27 namespace java
       
    28 {
       
    29 namespace captain
       
    30 {
       
    31 
       
    32 class CoreInterface;
       
    33 
       
    34 OS_NONSHARABLE_CLASS(SettingsListenerExtension) :  public ExtensionPluginInterface
       
    35 {
       
    36 public:
       
    37     SettingsListenerExtension();
       
    38     virtual ~SettingsListenerExtension();
       
    39 
       
    40     // ExtensionPluginInterface
       
    41     virtual void startPlugin(CoreInterface* aCore);
       
    42     virtual void stopPlugin();
       
    43 
       
    44 protected:
       
    45 
       
    46 private:
       
    47     CoreInterface* mCore; // resource not owned
       
    48     SettingsListenerInterface* mSettingsListenerImpl; // resource owned
       
    49 };
       
    50 
       
    51 } // namespace captain
       
    52 } // namespace java
       
    53 
       
    54 #endif // SETTINGSLISTENEREXTENSION_H
       
    55