emailuis/nmailui/inc/nmactionobserver.h
branchRCL_3
changeset 63 d189ee25cf9d
equal deleted inserted replaced
61:dcf0eedfc1a3 63:d189ee25cf9d
       
     1 /*
       
     2 * Copyright (c) 2009 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:
       
    15 *
       
    16 */
       
    17 
       
    18 #ifndef NMACTIONROBSERVER_H_
       
    19 #define NMACTIONROBSERVER_H_
       
    20 
       
    21 class NmActionResponse;
       
    22 
       
    23 /*!
       
    24     \class NmActionObserver
       
    25     \brief Abstract base class for action observer. View needs
       
    26     \to derive from this class when requesting action (menu/toolbar) commands
       
    27     \from extensions. Action response object ownership is passed to the view
       
    28 */
       
    29 class NmActionObserver
       
    30 {
       
    31 public:
       
    32     virtual void handleActionCommand(NmActionResponse &actionResponse) = 0;
       
    33 };
       
    34 
       
    35 #endif  // NMACTIONROBSERVER_H_
       
    36 
       
    37 // End of File