irda/irdastack/irtranp/ABSTRACT.H
changeset 0 29b1cd4cb562
equal deleted inserted replaced
-1:000000000000 0:29b1cd4cb562
       
     1 // Copyright (c) 1997-2009 Nokia Corporation and/or its subsidiary(-ies).
       
     2 // All rights reserved.
       
     3 // This component and the accompanying materials are made available
       
     4 // under the terms of "Eclipse Public License v1.0"
       
     5 // which accompanies this distribution, and is available
       
     6 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     7 //
       
     8 // Initial Contributors:
       
     9 // Nokia Corporation - initial contribution.
       
    10 //
       
    11 // Contributors:
       
    12 //
       
    13 // Description:
       
    14 //
       
    15  
       
    16 #ifndef ABSTRACTCOMMAND_H
       
    17 #define ABSTRACTCOMMAND_H
       
    18 
       
    19 class CComReadWrite;
       
    20 
       
    21 /*
       
    22  * Name:		AbstractCommand
       
    23  *
       
    24  * Description:	Virtual definition file for all commands
       
    25  *
       
    26  */
       
    27 
       
    28 NONSHARABLE_CLASS(AbstractCommand)
       
    29 	{
       
    30 public:
       
    31 	virtual ~AbstractCommand();
       
    32 	virtual void DoIt() = 0;
       
    33 	virtual void GetReply() = 0;
       
    34 
       
    35 	virtual TDesC8& GetData() = 0; // debugging purposes
       
    36 	
       
    37 	// Pointer to the CComReadWrite communications layer
       
    38 	CComReadWrite* iComReadWrite;
       
    39 	};
       
    40 
       
    41 #endif // ABSTRACTCOMMAND_H