examples/Base/IPC/pubsub/subscribe.h

Go to the documentation of this file.
00001 // Copyright (c) 2008-2009 Nokia Corporation and/or its subsidiary(-ies).
00002 // All rights reserved.
00003 // This component and the accompanying materials are made available
00004 // under the terms of "Eclipse Public License v1.0"
00005 // which accompanies this distribution, and is available
00006 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
00007 //
00008 // Initial Contributors:
00009 // Nokia Corporation - initial contribution.
00010 //
00011 // Contributors:
00012 //
00013 // Description:
00014 // Contains the CArrayPropertyWatch class
00015 //
00016 
00017 
00018 
00023 #ifndef __SUBSCRIBE_H__
00024 #define __SUBSCRIBE_H__
00025 
00026 #include "pubsub.h"
00027 
00031 class CArrayPropertyWatch : public CActive
00032 {
00033         enum {EPriority=0};
00034 public:
00035         static CArrayPropertyWatch* NewL(CConsoleBase* aConsole);
00036         void WatchL();
00037         void DefinePropertyL();
00038 private:
00039         CArrayPropertyWatch();
00040         void ConstructL(CConsoleBase* aConsole);
00041         ~CArrayPropertyWatch();
00042         void RunL();
00043         void DoCancel();
00044         void PrintProperty(TDes16& aBuf);
00045 private:
00046         // A handle to the subscribed property
00047         RProperty iProperty;
00048         // The user console
00049         CConsoleBase* iConsole;
00050 };
00051 #endif

Generated by  doxygen 1.6.2