convert hex values to bitwise ops for readability
authordiscomfitor <discomfitor@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Thu, 3 Nov 2011 13:58:38 +0000 (13:58 +0000)
committerdiscomfitor <discomfitor@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Thu, 3 Nov 2011 13:58:38 +0000 (13:58 +0000)
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/e_dbus@64698 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

src/lib/notification/E_Notify.h

index b6544e1..ecff074 100644 (file)
@@ -50,10 +50,10 @@ enum E_Notification_Closed_Reason
 
 enum E_Notification_Hint_Type
 {
-  E_NOTIFICATION_HINT_URGENCY        = 0x1,
-  E_NOTIFICATION_HINT_CATEGORY       = 0x2,
-  E_NOTIFICATION_HINT_DESKTOP        = 0x4,
-  E_NOTIFICATION_HINT_SOUND_FILE     = 0x8,
+  E_NOTIFICATION_HINT_URGENCY        = (1 << 0),
+  E_NOTIFICATION_HINT_CATEGORY       = (1 << 1),
+  E_NOTIFICATION_HINT_DESKTOP        = (1 << 2),
+  E_NOTIFICATION_HINT_SOUND_FILE     = (1 << 3),
   E_NOTIFICATION_HINT_SUPPRESS_SOUND = 0x10,
   E_NOTIFICATION_HINT_XY             = 0x20,
   E_NOTIFICATION_HINT_IMAGE_DATA     = 0x40