photosgallery/viewframework/commandhandlers/commandhandlerupnp/tsrc/Stub/upnpcommandobserver.h
changeset 0 4e91876724a2
equal deleted inserted replaced
-1:000000000000 0:4e91876724a2
       
     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:  UpnpCommand Observer
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 
       
    20 #ifndef UPNP_COMMAND_OBSERVER_H
       
    21 #define UPNP_COMMAND_OBSERVER_H
       
    22 
       
    23 // CONSTANTS
       
    24 const TInt KUpnpCommandStatusStartPlayVideo = 6; // video is ready to be played.
       
    25 /**
       
    26 * UpnpCommand Observer interface class definition.
       
    27 *
       
    28 * @since S60 3.2
       
    29 */
       
    30 class MUpnpCommandObserver
       
    31     {
       
    32 
       
    33     public:
       
    34 
       
    35         /**
       
    36         * Indicates that the command has been completed.
       
    37         *
       
    38         * If the WLAN connection or the target device is lost,
       
    39         * KErrDisconnected will be returned.
       
    40         *
       
    41         * @since S60 3.2
       
    42         * @param aStatusCode (TInt) status code
       
    43         */
       
    44         virtual void CommandComplete( TInt aStatusCode ) = 0;
       
    45 
       
    46     };
       
    47 
       
    48 #endif // UPNP_COMMAND_OBSERVER_H
       
    49 
       
    50 // End of File