00001 /* 00002 * ============================================================================ 00003 * Name : MMsgBioControlExtension.h 00004 * Part of : Smart Messaging / MsgEditorUtils 00005 * Description : Interface to extend bio control functionality 00006 * Version : %version: 1 % 00007 * 00008 * Copyright © 2006-2007 Nokia. All rights reserved. 00009 * This material, including documentation and any related computer 00010 * programs, is protected by copyright controlled by Nokia. All 00011 * rights are reserved. Copying, including reproducing, storing, 00012 * adapting or translating, any or all of this material requires the 00013 * prior written consent of Nokia. This material also contains 00014 * confidential information which may not be disclosed to others 00015 * without the prior written consent of Nokia. 00016 * ============================================================================ 00017 */ 00018 00019 #ifndef MSGBIOCONTROLEXTENSION_H 00020 #define MSGBIOCONTROLEXTENSION_H 00021 00027 enum TMsgBioControlExtensions 00028 { 00029 // Add new enum tag for a new extension. To maintain BC always add new 00030 // tags only to the end of existing tags and do not touch existing tags, 00031 // even if extensions are deprecated. Link the enum tags to types using 00032 // Doxygen comments. 00033 00037 KMsgBioControlScrollExtension = 1 00038 }; 00039 00045 class MMsgBioControlExtension 00046 { 00047 public: 00048 00057 virtual TAny* BioControlExtension( TInt aExtensionId ) = 0; 00058 }; 00059 00065 class MMsgBioControlScrollExtension 00066 { 00067 public: 00068 00077 virtual TInt ExtScrollL( TInt aPixelsToScroll, TMsgScrollDirection aDirection ) = 0; 00078 00085 virtual void ExtNotifyViewEvent( TMsgViewEvent aEvent, TInt aParam ) = 0; 00086 }; 00087 00088 // MSGBIOCONTROLEXTENSION_H 00089 #endif