telutils/xqtelephonyservice/tsrc/unit/ut_xqcallinfo/stubs/ccallinformation.h
branchRCL_3
changeset 20 987c9837762f
parent 19 7d48bed6ce0c
child 21 0a6dd2dc9970
--- a/telutils/xqtelephonyservice/tsrc/unit/ut_xqcallinfo/stubs/ccallinformation.h	Tue Aug 31 15:45:17 2010 +0300
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,111 +0,0 @@
-/*
-* Copyright (c) 2007-2008 Nokia Corporation and/or its subsidiary(-ies). 
-* All rights reserved.
-* This component and the accompanying materials are made available
-* under the terms of "Eclipse Public License v1.0"
-* which accompanies this distribution, and is available
-* at the URL "http://www.eclipse.org/legal/epl-v10.html".
-*
-* Initial Contributors:
-* Nokia Corporation - initial contribution.
-*
-* Contributors:
-*
-* Description:  Provides information about ongoing calls.
-*
-*/
-
-
-#ifndef MOCK_C_CALLINFORMATION_H
-#define MOCK_C_CALLINFORMATION_H
-
-#include <e32base.h>
-
-#include "mcall.h"
-
-
-// forward declarations 
-class MCallInformationObserver;
-class CCallInformationImpl;
-class CCallInfoIter;
-
-
-/**
- *  Class to be used for receiving information about ongoing calls. 
- *
- *  @code
- *  // create the CCallInformation instance e.g. when the client component is created
- *  iCallInfo = CCallInformation::NewL(); 
- *  iCallInfo->NotifyCallInformationChanges(*iObserver);
- *  
- *  // and use it when needed
- *  CCallInfoIter& iter = iCallInfo->GetCallsL();    
- *  @endcode
- *
- *  @lib telephonyservice.lib
- *  @since S60 v5.1 
- */
-NONSHARABLE_CLASS( CCallInformation ) : public CBase
-    {
-
-public:
-
-    /**
-     * Two-phased constructor.          
-     */
-     static CCallInformation* NewL();
-    
-
-    /**
-    * Destructor.
-    */
-    virtual ~CCallInformation();
-
-    /**
-     * Allows a client to be notified when there are changes in current calls.
-     * There can be only one observer per CCallInformation instance.
-     *
-     * @since S60 v5.1 
-     * @param aObserver Observer for notifications.
-     */
-      void NotifyCallInformationChanges( MCallInformationObserver& aObserver );
-    
-    /**
-     * Used to cancel previously placed NotifyCallInformationChanges call.
-     *
-     * @since S60 v5.1      
-     */
-      void CancelNotification();
-     
-     /**
-     * Gets the snapshot of ongoing calls.
-     *
-     * @since S60 v5.1      
-     * @return Ongoing calls.
-     */
-      CCallInfoIter& GetCallsL( );      
-      
-      /**
-       * Returns information whether call in given state exist.
-       * 
-       * @since S60 v5.2
-       * @param aState Specifies a call state that is used as a search key.
-       * @return ETrue if call in given state exist.
-       */
-      TBool IsCallInState( CCPCall::TCallState aState ) const;
- 
-     
-private:
-
-    CCallInformation();
-
-    void ConstructL();
-
-
-private: // data    
-    
-	CCallInformationImpl* iImpl;	
-    };
-
-
-#endif // MOCK_C_CALLINFORMATION_H