X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=resource%2Fcsdk%2Fstack%2Finclude%2Focpresence.h;h=8213152639cde7a7ea5139600a8ba37134d8ab62;hb=f9124705e523adc3bcad7c29e7165769c1d02ffc;hp=688b7d9d66176acf7686ea461e85d0db1afedf41;hpb=632666ef557d61eee5ef438a2af51d760cace39f;p=platform%2Fupstream%2Fiotivity.git diff --git a/resource/csdk/stack/include/ocpresence.h b/resource/csdk/stack/include/ocpresence.h index 688b7d9..8213152 100644 --- a/resource/csdk/stack/include/ocpresence.h +++ b/resource/csdk/stack/include/ocpresence.h @@ -22,24 +22,22 @@ #define OCPRESENCE_H_ #ifdef WITH_PRESENCE + /** * The OCPresenceTrigger enum delineates the three spec-compliant modes for - * "Trigger." These enum values are then mapped to strings + * "Trigger." These enum values are then mapped to strings * "create", "change", "delete", respectively, before getting encoded into - * the payload payload. - * - * @enum OC_PRESENCE_TRIGGER_CREATE The creation of a resource is associated with - * this invocation of @ref SendPresenceNotification. - * @enum OC_PRESENCE_TRIGGER_CHANGE The change/update of a resource is associated - * this invocation of @ref SendPresenceNotification. - * @enum OC_PRESENCE_TRIGGER_DELETE The deletion of a resource is associated with - * this invocation of @ref SendPresenceNotification. - * + * the payload. */ typedef enum { + /** The creation of a resource is associated with this invocation. */ OC_PRESENCE_TRIGGER_CREATE = 0, + + /** The change/update of a resource is associated this invocation. */ OC_PRESENCE_TRIGGER_CHANGE = 1, + + /** The deletion of a resource is associated with this invocation.*/ OC_PRESENCE_TRIGGER_DELETE = 2 } OCPresenceTrigger; #endif