multimediacommsengine/tsrc/MMCTestDriver/MCETester/inc/TTcProfileReceived.h
changeset 0 1bce908db942
equal deleted inserted replaced
-1:000000000000 0:1bce908db942
       
     1 /*
       
     2 * Copyright (c) 2004 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:    See class definition below.
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 
       
    20 #ifndef __TTCPROFILERECEIVED_H__
       
    21 #define __TTCPROFILERECEIVED_H__
       
    22 
       
    23 // INCLUDES
       
    24 #include <e32std.h>
       
    25 
       
    26 // ENUMERATIONS
       
    27 enum TTcProfileEvent
       
    28 	{
       
    29 	ETcUnknown,
       
    30 	ETcProfileCreated,
       
    31 	ETcProfileUpdated,
       
    32 	ETcProfileRegistrationStatusChanged,
       
    33 	ETcProfileDestroyed,
       
    34 	ETcProfileRegistryErrorOccurred
       
    35 	};
       
    36 
       
    37 // CLASS DEFINITION
       
    38 /**
       
    39  * TTcProfileReceived implements a container class for profile notification messages.
       
    40  */
       
    41 class TTcProfileReceived
       
    42 	{
       
    43 	public:	// Constructors and destructor
       
    44 
       
    45 		/// Default constructor
       
    46 		TTcProfileReceived();
       
    47 
       
    48 	public: // Data
       
    49 
       
    50 		/// Profile id in a profile registry
       
    51 		TUint32 iProfileId;
       
    52 
       
    53 		/// Profile agent event
       
    54 		TTcProfileEvent iEvent;
       
    55 
       
    56 		/// System-wide or Profile specific error code
       
    57 		TInt iError;
       
    58 
       
    59 	};
       
    60 
       
    61 #endif // __TTCPROFILERECEIVED_H__