dvrengine/CommonRecordingEngine/inc/CCRClientInformer.h
branchRCL_3
changeset 47 826cea16efd9
parent 45 798ee5f1972c
child 48 13a33d82ad98
equal deleted inserted replaced
45:798ee5f1972c 47:826cea16efd9
     1 /*
       
     2 * Copyright (c) 2007 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 the License "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:    Sends message to client with message queue.*
       
    15 */
       
    16 
       
    17 
       
    18 
       
    19 
       
    20 #ifndef CCRCLIENTINFORMER_H
       
    21 #define CCRCLIENTINFORMER_H
       
    22 
       
    23 // INCLUDES
       
    24 #include <e32base.h>
       
    25 #include <ipvideo/CRTypeDefs.h>
       
    26 
       
    27 // CONSTANTS
       
    28 // None
       
    29 
       
    30 // MACROS
       
    31 // None
       
    32 
       
    33 // DATA TYPES
       
    34 // None
       
    35 
       
    36 // FORWARD DECLARATIONS
       
    37 // None
       
    38 
       
    39 // CLASS DECLARATION
       
    40 
       
    41 /**
       
    42 *  Packet sink that does not forward packets. Good for testing. 
       
    43 *
       
    44 *  @lib CommonRecordingEngine.lib
       
    45 *  @since Series 60 3.0
       
    46 */
       
    47 class CCRClientInformer : public CBase
       
    48     {
       
    49 
       
    50 public: // Constructors and destructors
       
    51 
       
    52     /**
       
    53     * Two-phased constructor.
       
    54     * @return CCRClientInformer pointer. 
       
    55     */
       
    56     static CCRClientInformer* NewL( void );
       
    57     
       
    58     /**
       
    59     * Destructor 
       
    60     */
       
    61     virtual ~CCRClientInformer( );
       
    62     
       
    63 public: // New methods
       
    64 
       
    65     /**
       
    66     * Send a message thrue the message queue.
       
    67     * @since Series 60 3.0
       
    68     * @param aQueueName a name of queue.
       
    69     * @param aInfo a info of the message.
       
    70     * @return a system wide error code.
       
    71     */
       
    72     TInt SendMessage( const TDes& aQueueName,
       
    73                       SCRQueueEntry& aInfo );
       
    74     
       
    75 private: // Constructors and destructors
       
    76     
       
    77     /**
       
    78     * By default default constructor is private
       
    79     */
       
    80     CCRClientInformer();
       
    81     
       
    82     };
       
    83 
       
    84 #endif // CCRCLIENTINFORMER_H
       
    85 
       
    86 //  End of File