htiui/HtiServicePlugins/HtiMessagesServicePlugin/inc/HtiMessagesServicePlugin.h
changeset 1 753e33780645
parent 0 39ab869ed429
equal deleted inserted replaced
0:39ab869ed429 1:753e33780645
    20 #ifndef CHTIMESSAGESSERVICEPLUGIN_H
    20 #ifndef CHTIMESSAGESSERVICEPLUGIN_H
    21 #define CHTIMESSAGESSERVICEPLUGIN_H
    21 #define CHTIMESSAGESSERVICEPLUGIN_H
    22 
    22 
    23 // INCLUDES
    23 // INCLUDES
    24 #include <HtiServicePluginInterface.h>
    24 #include <HtiServicePluginInterface.h>
       
    25 #include "../../../symbian_version.hrh"
    25 
    26 
    26 // CONSTANTS
    27 // CONSTANTS
    27 const TInt KHtiMessagesServiceUidValue = 0x10210CCF; // ECOM Implementation UID
    28 const TInt KHtiMessagesServiceUidValue = 0x10210CCF; // ECOM Implementation UID
    28 const TUid KHtiMessagesServiceUid = {KHtiMessagesServiceUidValue};
    29 const TUid KHtiMessagesServiceUid = {KHtiMessagesServiceUidValue};
    29 
    30 
    30 // FORWARD DECLARATIONS
    31 // FORWARD DECLARATIONS
    31 class CMessageMgmntHandler;
    32 class CMessageMgmntHandler;
    32 class CHtiIAPHandler;
    33 class CHtiIAPHandler;
    33 class CHtiMailboxHandler;
    34 class CHtiMailboxHandler;
    34 class CHtiMsgSettingsHandler;
    35 class CHtiMsgSettingsHandler;
       
    36 #if ( SYMBIAN_VERSION_SUPPORT < SYMBIAN_4 )
       
    37 class CHtiNotificationHandler;
       
    38 #endif
    35 
    39 
    36 // CLASS DECLARATION
    40 // CLASS DECLARATION
    37 
    41 
    38 /**
    42 /**
    39 * Implementation of ECOM plug-in service interface.
    43 * Implementation of ECOM plug-in service interface.
    72         ESetDefaultSmsCenter = 0x40,
    76         ESetDefaultSmsCenter = 0x40,
    73         EDeleteSmsCenter     = 0x41,
    77         EDeleteSmsCenter     = 0x41,
    74         ESetSmsSettings      = 0x42,
    78         ESetSmsSettings      = 0x42,
    75         ESetMmsSettings      = 0x45,
    79         ESetMmsSettings      = 0x45,
    76 
    80 
       
    81 #if ( SYMBIAN_VERSION_SUPPORT < SYMBIAN_4 )
       
    82         // NotificationHandler
       
    83         ECreateVoiceMessageNotification = 0x50,
       
    84         EClearAllNotifications          = 0x51,
       
    85 #endif
       
    86         
    77         // only for response message
    87         // only for response message
    78         EResultOk            = 0xFF,
    88         EResultOk            = 0xFF,
    79         };
    89         };
    80 
    90 
    81     static CHtiMessagesServicePlugin* NewL();
    91     static CHtiMessagesServicePlugin* NewL();
    95 
   105 
    96     CMessageMgmntHandler*   iMessageHandler;
   106     CMessageMgmntHandler*   iMessageHandler;
    97     CHtiIAPHandler*         iIAPHandler;
   107     CHtiIAPHandler*         iIAPHandler;
    98     CHtiMailboxHandler*     iMailboxHandler;
   108     CHtiMailboxHandler*     iMailboxHandler;
    99     CHtiMsgSettingsHandler* iMsgSettingsHandler;
   109     CHtiMsgSettingsHandler* iMsgSettingsHandler;
       
   110 #if ( SYMBIAN_VERSION_SUPPORT < SYMBIAN_4 )
       
   111     CHtiNotificationHandler* iNotificationHandler;
       
   112 #endif
   100     };
   113     };
   101 
   114 
   102 #endif // CHTIMESSAGESSERVICEPLUGIN_H
   115 #endif // CHTIMESSAGESSERVICEPLUGIN_H
   103 
   116