dlnasrv_plat/upnp_command_api/inc/upnpcommandobserver.h
author Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
Mon, 18 Jan 2010 20:30:01 +0200
changeset 1 499c41045f6d
parent 0 7f85d04be362
permissions -rw-r--r--
Revision: 201001 Kit: 201003

/** @file
* Copyright (c) 2007 Nokia Corporation and/or its subsidiary(-ies). 
* All rights reserved.
* This component and the accompanying materials are made available
* under the terms of "Eclipse Public License v1.0"
* which accompanies  this distribution, and is available 
* at the URL "http://www.eclipse.org/legal/epl-v10.html".
*
* Initial Contributors:
* Nokia Corporation - initial contribution.
*
* Contributors:
*
* Description:  Header file for the UpnpCommand ECom plugin. Defines the
*                Upnp Framework's UpnpCommand callback API.
*
*/


#ifndef UPNP_COMMAND_OBSERVER_H
#define UPNP_COMMAND_OBSERVER_H

// INCLUDES
#include <e32base.h>

// CONSTANTS
const TInt KUpnpCommandStatusStartPlayVideo = 6; // video is ready to be played.

/**
* UpnpCommand Observer interface class definition.
*
* @since S60 3.2
*/
class MUpnpCommandObserver
    {

    public:

        /**
        * Indicates that the command has been completed.
        *
        * If the WLAN connection or the target device is lost,
        * KErrDisconnected will be returned.
        * 
        * When video is ready to be played (launching 
        * videoplayerdialog), KUpnpCommandStatusStartPlayVideo 
        * will be returned.
        *
        * @since S60 3.2
        * @param aStatusCode (TInt) status code
        */
        virtual void CommandComplete( TInt aStatusCode ) = 0;

    };

#endif // UPNP_COMMAND_OBSERVER_H

// End of File