emailuis/nmailui/inc/nmaction.h
changeset 23 2dc6caa42ec3
parent 18 578830873419
child 47 f83bd4ae1fe3
equal deleted inserted replaced
20:ecc8def7944a 23:2dc6caa42ec3
    33      * \brief Defines conditions when action might not be available.
    33      * \brief Defines conditions when action might not be available.
    34      */
    34      */
    35     enum NmAvailabilityCondition
    35     enum NmAvailabilityCondition
    36     {
    36     {
    37         NmAlways = 0,   // Action is always available
    37         NmAlways = 0,   // Action is always available
    38         NmSendable      // Action is not available if the related message cannot be send
    38         NmSendable,     // Action is not available if the related message cannot be send
       
    39         NmAttachable    // Action is not available if attachment cannot be added        
    39     };
    40     };
    40     
    41     
    41     inline NmAction(int priorityIndex);
    42     inline NmAction(int priorityIndex);
    42     inline void setPriorityIndex(int priorityIndex);
    43     inline void setPriorityIndex(int priorityIndex);
    43     inline int priorityIndex() const;
    44     inline int priorityIndex() const;