|
S60 3rd Edition SDK for Symbian OS Example Applications Guide |
00001 /* 00002 * ============================================================================== 00003 * Name : MAddressBookEngineObserver.h 00004 * Part of : AddressBook 00005 * Interface : 00006 * Description : Interface of AddressBook 00007 * Version : 00008 * 00009 * Copyright (c) 2002-2006 Nokia Corporation. 00010 * This material, including documentation and any related 00011 * computer programs, is protected by copyright controlled by 00012 * Nokia Corporation. 00013 * ============================================================================== 00014 */ 00015 00016 #ifndef MADDRESSBOOKENGINEOBSERVER_H 00017 #define MADDRESSBOOKENGINEOBSERVER_H 00018 00019 // DATA TYPES 00020 enum TAddressbookErrorCode 00021 { 00022 EConnectionNotReady = 1, 00023 ETooManyMatches, 00024 ESearchFailed 00025 }; 00026 00027 // FORWARD DECLARATIONS 00028 class CAddressBookContact; 00029 00030 // CLASS DECLARATION 00031 class MAddressBookEngineObserver 00032 { 00033 public: 00034 00035 /** 00036 * checks errors that can happen 00037 * @param aCode Code of Error 00038 */ 00039 virtual void ErrorL(TInt aCode) = 0; 00040 00041 /** 00042 * sets conection's status as ready 00043 */ 00044 virtual void ConnectionReady() = 0; 00045 00046 /** 00047 * finishes searching of information 00048 * @param aContactArray - contact information that was found 00049 */ 00050 virtual void SearchFinishedL(RPointerArray<CAddressBookContact>& aContactArray) = 0; 00051 }; 00052 00053 #endif // MADDRESSBOOKENGINEOBSERVER_H 00054 00055 // End of File 00056
|
© Nokia 2006 |