00001 /* 00002 * ============================================================================ 00003 * Name : MsgBioControlObserver.h 00004 * Part of : MsgEditorUtils 00005 * 00006 * Description: 00007 * Bio control observer. 00008 * Version: 00009 * 00010 * Copyright (C) 2002 Nokia Corporation. 00011 * This material, including documentation and any related 00012 * computer programs, is protected by copyright controlled by 00013 * Nokia Corporation. All rights are reserved. Copying, 00014 * including reproducing, storing, adapting or translating, any 00015 * or all of this material requires the prior written consent of 00016 * Nokia Corporation. This material also contains confidential 00017 * information which may not be disclosed to others without the 00018 * prior written consent of Nokia Corporation. 00019 * 00020 * ============================================================================ 00021 */ 00022 00023 #ifndef __MSGBIOCONTROLOBSERVER_H_ 00024 #define __MSGBIOCONTROLOBSERVER_H_ 00025 00026 // INCLUDES 00027 // CONSTANTS 00028 // MACROS 00029 // DATA TYPES 00030 // FUNCTION PROTOTYPES 00031 // FORWARD DECLARATIONS 00032 // FORWARD DECLARATIONS 00033 00034 // CLASS DECLARATION 00035 00040 class MMsgBioControlObserver 00041 { 00042 public: 00043 00048 enum TMsgCommands 00049 { 00050 EMsgNone = 0, 00051 EMsgSave, 00052 EMsgReply, 00053 EMsgForwad, 00054 EMsgSend, 00055 EMsgAddressBook, 00056 EMsgClose 00057 }; 00058 00059 public: 00060 00067 virtual TInt FirstFreeCommand() const = 0; 00068 00077 virtual TInt RequestHandleCommandL(TMsgCommands aCommand) = 0; 00078 00086 virtual TBool IsCommandSupported(TMsgCommands aCommand) const = 0; 00087 }; 00088 00089 00090 // __MSGBIOCONTROLOBSERVER_H_ 00091 #endif 00092 00093 //end of file