00001 // Copyright (c) 2006-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 // CentRepExample .h 00015 // Contains the CCentRepExample class. 00016 // 00017 00018 00019 00023 #ifndef __CENTREPEXAMPLE_H__ 00024 #define __CENTREPEXAMPLE_H__ 00025 00026 // Symbian platform includes 00027 #include <centralrepository.h> 00028 00039 class CCentRepExample :public CBase 00040 { 00041 public: 00042 static CCentRepExample* NewLC(); 00043 00044 ~CCentRepExample(); 00045 void ResetL(); 00046 void OpenRepositoryL(); 00047 void RdChgSetL(); 00048 void ReadSettingsL(); 00049 void ChangeSettingsL(); 00050 void MoveSettingsL(); 00051 void ResetAndNotifyL(); 00052 void FindSettingsL(); 00053 void TransactionFuncL(); 00054 void DeleteL(); 00055 00056 private: 00057 CCentRepExample(); 00058 void ConstructL(); 00059 private: 00061 CConsoleBase* iConsole; 00063 CRepository* iRepository; 00064 }; 00065 00066 #endif //__CENTREPEXAMPLE_H__