diff -r e5b3a2155e1a -r d2c4c66342f3 messagingfw/senduiservices/inc/propertyobserver.h --- a/messagingfw/senduiservices/inc/propertyobserver.h Thu Aug 19 10:24:00 2010 +0300 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,82 +0,0 @@ -/* -* Copyright (c) 2009 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: Observes sending service list and invokes an local sending service -* update. This is required to keep the sending service list up-to-date -* in a loaded sendui object. -* -*/ - - - -#ifndef C_PROPERTYOBSERVER_H -#define C_PROPERTYOBSERVER_H - -#include -#include - -class CSendUiImpl; - -/** - * Property observer for catching sending service list updates - * - * @lib sendui.lib - * @since S60 S60 v3.2 - */ - -NONSHARABLE_CLASS ( CPropertyObserver ): public CActive - { - -public: - - static CPropertyObserver* NewL( CSendUiImpl* aParent ); - - virtual ~CPropertyObserver(); - -// from base class CActive - - /** - * From CActive. - * - * @since S60 v3.2 - */ - void RunL(); - - /** - * From CActive. - * - * @since S60 v3.2 - */ - void DoCancel(); - -private: - - CPropertyObserver( CSendUiImpl* aParent ); - - void ConstructL(); - -private: // data - - - /** - * Used for accessing GetEcomServicesL from CSendUiImpl - * Not own. - */ - CSendUiImpl* iParent; - - RProperty iPropertyUpdateOperation; - - }; - - -#endif // C_PROPERTYOBSERVER_H