diff -r 3eb824b18d67 -r 375929f879c2 videoplayback/videohelix/inc/mpxcalldetector.h --- a/videoplayback/videohelix/inc/mpxcalldetector.h Wed Sep 15 12:15:24 2010 +0300 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,88 +0,0 @@ -/* -* Copyright (c) 2010 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: Class for call detaction -* -*/ - -// Version : %version: 1 % - -#ifndef MPXCALLDETECTOR_H -#define MPXCALLDETECTOR_H - -#include -#include - -class MMPXCallDetectorObserver -{ - public: - virtual void CallDetectedL() = 0; -}; - -/** - * Detector for incoming call - */ -NONSHARABLE_CLASS( CMPXCallDetector ) : public CActive -{ - public: // Constructors and destructor - - /** - * Two-phased constructor. - */ - static CMPXCallDetector* NewL( MMPXCallDetectorObserver* aObserver ); - - /** - * Destructor. - */ - ~CMPXCallDetector(); - - public: // New functions - - /** - * Request call notifications - * - */ - void RequestNotification(); - - private: - - /** - * C++ default constructor. - */ - CMPXCallDetector( MMPXCallDetectorObserver* aObserver ); - - /** - * Symbian OS 2nd phase constructor. - */ - void ConstructL(); - - /** - * From CActive - * @see CActive for more information - */ - void RunL(); - - /** - * From CActive - * @see CActive for more information - */ - void DoCancel(); - - private: - - // Call observer - MMPXCallDetectorObserver* iObserver; - RProperty iTsyProperty; -}; - -#endif // CALLDETECTOR_H