Skip to content
Snippets Groups Projects
Commit e0d29f2f authored by Julien Bonjean's avatar Julien Bonjean
Browse files

Added call type to call_t to differenciate call, history and contact entries

parent 162bd2e2
No related branches found
No related tags found
No related merge requests found
...@@ -64,11 +64,24 @@ typedef enum ...@@ -64,11 +64,24 @@ typedef enum
MISSED MISSED
} history_state_t; } history_state_t;
/**
* @enum call_type
* This enum have all types of call
*/
typedef enum
{
CALL,
HISTORY,
CONTACT
} call_type_t;
/** @struct call_t /** @struct call_t
* @brief Call information. * @brief Call information.
* This struct holds information about a call. * This struct holds information about a call.
*/ */
typedef struct { typedef struct {
/** Type of call entry */
call_type_t call_type;
/** Unique identifier of the call */ /** Unique identifier of the call */
gchar * callID; gchar * callID;
/** The account used to place/receive the call */ /** The account used to place/receive the call */
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment