instantmessagesalert/tsrc/testinstantmsgalert/src/stubs/s_vimpststoragecontact.h
changeset 0 5e5d6b214f4f
equal deleted inserted replaced
-1:000000000000 0:5e5d6b214f4f
       
     1 /*
       
     2 * Copyright (c) 2008 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:  Contact data container implementation
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 
       
    20 #ifndef CVIMPSTSTORAGECONTACT_H
       
    21 #define CVIMPSTSTORAGECONTACT_H
       
    22 
       
    23 #include "TVIMPSTEnums.h"
       
    24 //  INCLUDES
       
    25 #include "MVIMPSTStorageContact.h"
       
    26 
       
    27 // FORWARD DECLARATIONS
       
    28 class MVPbkContactLink;
       
    29 class MVIMPSTStorageContact;
       
    30 
       
    31 // CLASS DECLARATION
       
    32 
       
    33 /**
       
    34  *  Contact data implementation
       
    35  * @lib vimpststorage.dll
       
    36  * @since 5.0
       
    37  */
       
    38 class MyVIMPSTStorageContactStub : public MVIMPSTStorageContact
       
    39     {
       
    40     public:  // Constructors and destructor
       
    41 
       
    42         MyVIMPSTStorageContactStub()
       
    43 	       {
       
    44 	       	
       
    45 	       }
       
    46         /**
       
    47          * C++ Destructor.
       
    48          */
       
    49         ~MyVIMPSTStorageContactStub()
       
    50 	        {
       
    51 	        	
       
    52 	        }
       
    53                
       
    54         
       
    55     public: // Functions from base classes MVIMPSTStorageContact
       
    56 
       
    57 		/**
       
    58          * @see MVIMPSTStorageContact
       
    59          */
       
    60         void SetUserIdL( const TDesC& aUserId );
       
    61         
       
    62         /**
       
    63          * @see MVIMPSTStorageContact
       
    64          */
       
    65 	    MVPbkContactLink* ContactLink() const;
       
    66 	    
       
    67 	    /**
       
    68          * @see MVIMPSTStorageContact
       
    69          */
       
    70 	    RPointerArray<HBufC>& ServiceDetails();
       
    71 
       
    72     
       
    73     	/**
       
    74          * @see MVIMPSTStorageContact
       
    75          */              
       
    76 	    void SetSeriveFields( 
       
    77 	        const CDesCArray& aArrayOfServiceNumbers );
       
    78         
       
    79 		
       
    80         /**
       
    81          * @see MVIMPSTStorageContact
       
    82          */
       
    83         const TDesC& UserId() const;
       
    84 
       
    85        
       
    86         /**
       
    87          * @see MVIMPSTStorageContact
       
    88          */
       
    89         TVIMPSTEnums::TOnlineStatus OnlineStatus() const;
       
    90 
       
    91         /**
       
    92          * @see MVIMPSTStorageContact
       
    93          */
       
    94         void SetOnlineStatus( 
       
    95                 TVIMPSTEnums::TOnlineStatus aOnlineStatus );
       
    96           
       
    97         /**
       
    98          * @see MVIMPSTStorageContact
       
    99          */
       
   100         void SignalChanges();
       
   101         
       
   102                
       
   103         /**
       
   104          * @see MVIMPSTStorageContact
       
   105          */
       
   106         const TDesC& StatusText() const;
       
   107         
       
   108         /**
       
   109          * @see MVIMPSTStorageContact
       
   110          */
       
   111         void SetStatusTextL( const TDesC& aStatusText );   
       
   112 
       
   113         
       
   114       
       
   115   private :
       
   116   
       
   117   			TVIMPSTEnums::TOnlineStatus iPresenceStatus;
       
   118   			
       
   119 
       
   120 
       
   121   		 };
       
   122 
       
   123 #endif      // CVIMPSTSTORAGECONTACT_H
       
   124 
       
   125 // End of File