hti/HtiServicePlugins/HtiEchoServicePlugin/inc/HtiEchoServicePlugin.h
changeset 36 813b186005b6
parent 30 86a2e675b80a
child 41 838cdffd57ce
equal deleted inserted replaced
30:86a2e675b80a 36:813b186005b6
     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:  Implementation of ECOM plug-in service interface providing
       
    15 *                the echo service.
       
    16 *
       
    17 */
       
    18 
       
    19 
       
    20 #ifndef CHTIECHOSERVICEPLUGIN_H__
       
    21 #define CHTIECHOSERVICEPLUGIN_H__
       
    22 
       
    23 // INCLUDES
       
    24 #include <HtiServicePluginInterface.h>
       
    25 
       
    26 // CONSTANTS
       
    27 
       
    28 // MACROS
       
    29 
       
    30 // DATA TYPES
       
    31 
       
    32 // FUNCTION PROTOTYPES
       
    33 
       
    34 // FORWARD DECLARATIONS
       
    35 
       
    36 // CLASS DECLARATION
       
    37 /**
       
    38 *  Implementation of ECOM plug-in service interface.
       
    39 *  Provides the echo service.
       
    40 *
       
    41 */
       
    42 class CHtiEchoServicePlugin : public CHTIServicePluginInterface
       
    43     {
       
    44 public:
       
    45 
       
    46     static CHtiEchoServicePlugin* NewL();
       
    47 
       
    48     // Interface implementation
       
    49     void ProcessMessageL(const TDesC8& aMessage,
       
    50                         THtiMessagePriority aPriority);
       
    51 
       
    52     void NotifyMemoryChange(TInt aAvailableMemory);
       
    53 
       
    54 protected:
       
    55 
       
    56     CHtiEchoServicePlugin();
       
    57     void ConstructL();
       
    58 
       
    59     virtual ~CHtiEchoServicePlugin();
       
    60 
       
    61 protected:
       
    62     HBufC8* iReply;
       
    63     };
       
    64 
       
    65 #endif // CHTIECHOSERVICEPLUGIN_H__
       
    66 
       
    67 
       
    68 // End of File