contextframework/cfw/inc/cfclient/cfscriptownerinterface.h
changeset 0 2e3d3ce01487
equal deleted inserted replaced
-1:000000000000 0:2e3d3ce01487
       
     1 /*
       
     2 * Copyright (c) 2008-2008 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:  Script owner interface declaration.
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 #ifndef CFSCRIPTOWNERINTERFACE_H
       
    20 #define CFSCRIPTOWNERINTERFACE_H
       
    21 
       
    22 // SYSTEM INCLUDE FILES
       
    23 #include <e32std.h>
       
    24 
       
    25 // DATA TYPES
       
    26 const TInt KCFScriptOwnerInterfaceUidValue = 0x200123EA;
       
    27 const TUid KCFScriptOwnerInterfaceUid = {KCFScriptOwnerInterfaceUidValue};
       
    28 
       
    29 // CLASS DECLARATION
       
    30 
       
    31 /**
       
    32  * Script owner interface.
       
    33  * Clients implementing this interface will get a notification if the scripts
       
    34  * registered by this client are removed by an update to the provider plug-in-
       
    35  * E.g. the operation plug-in which has dependency to the script is updated
       
    36  * or removed.
       
    37  *
       
    38  * @lib None.
       
    39  * @since S60 5.0
       
    40  */
       
    41 class MCFScriptOwnerInterface
       
    42     {
       
    43 public:
       
    44 
       
    45     /**
       
    46      * Notified when the scripts have been removed. CFServer will try to
       
    47      * re-activate the scripts but if the script cannot be found from the
       
    48      * file system, the client will get a notification.
       
    49      * @param aScriptIds Script ids which have been deregistered.
       
    50      */
       
    51     virtual void HandleScriptsRemovedL( const RArray<TInt>& aScriptIds ) = 0;
       
    52     };
       
    53 
       
    54 #endif // CFSCRIPTOWNERINTERFACE_H
       
    55