javamanager/javacaptain/inc/applicationmanagementeventsinterface.h
branchRCL_3
changeset 19 04becd199f91
equal deleted inserted replaced
16:f5050f1da672 19:04becd199f91
       
     1 /*
       
     2 * Copyright (c) 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:  ApplicationManagementEventsInterface
       
    15 *
       
    16 */
       
    17 
       
    18 #ifndef APPLICATIONMANAGEMENTEVENTSINTERFACE_H
       
    19 #define APPLICATIONMANAGEMENTEVENTSINTERFACE_H
       
    20 
       
    21 #include <set>
       
    22 #include "javauid.h"
       
    23 
       
    24 using java::util::Uid;
       
    25 
       
    26 namespace java
       
    27 {
       
    28 namespace captain
       
    29 {
       
    30 
       
    31 typedef std::set<Uid> uids_t;
       
    32 
       
    33 class ApplicationManagementEventsInterface
       
    34 {
       
    35 public:
       
    36     virtual ~ApplicationManagementEventsInterface() {};
       
    37 
       
    38     virtual void amAdded(const uids_t& uids)   = 0;
       
    39     virtual void amUpdated(const uids_t& uids) = 0;
       
    40     virtual void amDeleted(const uids_t& uids) = 0;
       
    41 };
       
    42 
       
    43 } // namespace captain
       
    44 } // namespace java
       
    45 
       
    46 #endif // APPLICATIONMANAGEMENTEVENTSINTERFACE_H
       
    47