diff -r 89d6a7a84779 -r 25a17d01db0c Symbian3/Examples/guid-6013a680-57f9-415b-8851-c4fa63356636/subscribe_8h-source.html --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Symbian3/Examples/guid-6013a680-57f9-415b-8851-c4fa63356636/subscribe_8h-source.html Fri Jan 22 18:26:19 2010 +0000 @@ -0,0 +1,56 @@ + +
+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 +