diff -r 89d6a7a84779 -r 25a17d01db0c Symbian3/Examples/guid-6013a680-57f9-415b-8851-c4fa63356636/example_8h-source.html --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Symbian3/Examples/guid-6013a680-57f9-415b-8851-c4fa63356636/example_8h-source.html Fri Jan 22 18:26:19 2010 +0000 @@ -0,0 +1,76 @@ + +
+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 // +00015 +00016 #ifndef EXAMPLE_H +00017 #define EXAMPLE_H +00018 +00019 #define KMaxEntryCount 5 //Keeping message entry count. +00020 class CSearchsortExample; //Forward Declaration. +00021 +00027 class CKeyReader : public CActive +00028 { +00029 +00030 public: +00031 +00035 CKeyReader(CConsoleBase* aConsole,CSearchsortExample* aExample); +00036 +00040 ~CKeyReader(); +00041 +00045 void StartL(); +00046 +00047 void RunL(); +00048 void DoCancel(); +00049 +00053 TInt RunError(TInt aError); +00054 +00055 +00059 TBool SearchSortSettings(); +00060 +00064 void ResetSettings(); +00065 +00069 void CreateMessageEntriesL(); +00070 +00074 void DisplayMessageSummary(); +00075 public: +00076 +00080 TBuf<32> iFrominfo[KMaxEntryCount]; +00081 TBuf<32> iToinfo[KMaxEntryCount]; +00082 TBuf<32> iSubjectinfo[KMaxEntryCount]; +00083 +00087 TBuf<64> iSender; +00088 TBool iCaseSensitivityON,iWholeWordSearch,iCombinedSearch; +00089 private: +00094 CConsoleBase* iConsole; +00095 +00099 CSearchsortExample* iSearchSortExample; +00100 +00104 TInt iErrorCondition; +00108 TInt iResultCount; +00109 +00110 }; +00111 +00112 #endif//EXAMPLE_H +