170 lines
2.9 KiB
C
170 lines
2.9 KiB
C
#ifndef _EOLIAN_DOCS_EO_H_
|
|
#define _EOLIAN_DOCS_EO_H_
|
|
|
|
#ifndef _EO_DOCS_EO_CLASS_TYPE
|
|
#define _EO_DOCS_EO_CLASS_TYPE
|
|
|
|
typedef Eo Eo_Docs;
|
|
|
|
#endif
|
|
|
|
#ifndef _EO_DOCS_EO_TYPES
|
|
#define _EO_DOCS_EO_TYPES
|
|
|
|
/**
|
|
* @brief This is struct Foo. It does stuff.
|
|
*
|
|
* @note This is a note.
|
|
*
|
|
* This is a longer description for struct Foo.
|
|
*
|
|
* @warning This is a warning. You can only use Warning: and Note: at the
|
|
* beginning of a paragraph.
|
|
*
|
|
* This is another paragraph.
|
|
*
|
|
* @since 1.66
|
|
*
|
|
* @ingroup Foo
|
|
*/
|
|
typedef struct _Foo
|
|
{
|
|
int field1; /**< Field documentation.
|
|
*
|
|
* @since 1.66 */
|
|
float field2;
|
|
short field3; /**< Another field documentation.
|
|
*
|
|
* @since 1.66 */
|
|
} Foo;
|
|
|
|
/** Docs for enum Bar.
|
|
*
|
|
* @since 1.55
|
|
*
|
|
* @ingroup Bar
|
|
*/
|
|
typedef enum
|
|
{
|
|
BAR_BLAH = 0,
|
|
BAR_FOO = 1, /**< Docs for foo.
|
|
*
|
|
* @since 1.55 */
|
|
BAR_BAR = 2 /**< Docs for bar.
|
|
*
|
|
* @since 1.55 */
|
|
} Bar;
|
|
|
|
/**
|
|
* @brief Docs for typedef.
|
|
*
|
|
* More docs for typedef. See @ref Bar.
|
|
*
|
|
* @since 1.1337
|
|
*
|
|
* @ingroup Alias
|
|
*/
|
|
typedef Bar Alias;
|
|
|
|
#ifndef PANTS
|
|
/** Docs for var.
|
|
*
|
|
* @since 1.66
|
|
*
|
|
* @ingroup pants
|
|
*/
|
|
#define PANTS 150
|
|
#endif
|
|
|
|
/** Opaque struct docs. See @ref Foo for another struct.
|
|
*
|
|
* @since 1.66
|
|
*
|
|
* @ingroup Opaque
|
|
*/
|
|
typedef struct _Opaque Opaque;
|
|
|
|
|
|
#endif
|
|
/**
|
|
* @brief Docs for class.
|
|
*
|
|
* More docs for class. Testing references now. @ref Foo @ref Bar @ref Alias
|
|
* @ref PANTS @ref eo_docs_meth @ref eo_docs_prop_get @ref eo_docs_prop_get
|
|
* @ref eo_docs_prop_set @ref Foo.field1 @ref BAR_FOO @ref Eo_Docs
|
|
*
|
|
* @since 1.66
|
|
*
|
|
* @ingroup Eo_Docs
|
|
*/
|
|
#define EO_DOCS_CLASS eo_docs_class_get()
|
|
|
|
EAPI EAPI_WEAK const Efl_Class *eo_docs_class_get(void) EINA_CONST;
|
|
|
|
/**
|
|
* @brief Method documentation.
|
|
*
|
|
* @param[in] obj The object.
|
|
* @param[in] a Param documentation.
|
|
* @param[out] b
|
|
* @param[out] c Another param documentation.
|
|
*
|
|
* @return Return documentation.
|
|
*
|
|
* @since 1.66
|
|
*
|
|
* @ingroup Eo_Docs
|
|
*/
|
|
EAPI EAPI_WEAK int eo_docs_meth(Eo *obj, int a, float *b, long *c);
|
|
|
|
/**
|
|
* @brief Property common documentation.
|
|
*
|
|
* Set documentation.
|
|
*
|
|
* @param[in] obj The object.
|
|
* @param[in] val Value documentation.
|
|
*
|
|
* @since 1.66
|
|
*
|
|
* @ingroup Eo_Docs
|
|
*/
|
|
EAPI EAPI_WEAK void eo_docs_prop_set(Eo *obj, int val);
|
|
|
|
/**
|
|
* @brief Property common documentation.
|
|
*
|
|
* Get documentation.
|
|
*
|
|
* @param[in] obj The object.
|
|
*
|
|
* @return Value documentation.
|
|
*
|
|
* @since 1.66
|
|
*
|
|
* @ingroup Eo_Docs
|
|
*/
|
|
EAPI EAPI_WEAK int eo_docs_prop_get(const Eo *obj);
|
|
|
|
EAPI EAPI_WEAK void eo_docs_no_doc_meth(Eo *obj);
|
|
|
|
/** No description supplied.
|
|
*
|
|
* @since 1.66
|
|
*
|
|
* @ingroup Eo_Docs
|
|
*/
|
|
EAPI EAPI_WEAK void eo_docs_doc_with_empty_doc(Eo *obj);
|
|
|
|
EAPI EAPI_WEAK extern const Efl_Event_Description _EO_DOCS_EVENT_CLICKED;
|
|
|
|
/** Event docs.
|
|
*
|
|
* @since 1.66
|
|
*
|
|
* @ingroup Eo_Docs
|
|
*/
|
|
#define EO_DOCS_EVENT_CLICKED (&(_EO_DOCS_EVENT_CLICKED))
|
|
|
|
#endif
|