<commit_before>/*
 * libngf - Non-graphical feedback library
 * This file is part of libngf.
 *
 * Copyright (C) 2010 Nokia Corporation. All rights reserved.
 *
 * Contact: <NAME> <<EMAIL>>
 *
 * This software, including documentation, is protected by copyright
 * controlled by Nokia Corporation. All rights are reserved.
 * Copying, including reproducing, storing, adapting or translating,
 * any or all of this material requires the prior written consent of
 * Nokia Corporation. This material also contains confidential
 * information which may not be disclosed to others without the prior
 * written consent of Nokia.
 */

#ifndef NGF_CLIENT_H
#define NGF_CLIENT_H

#include <stdint.h>
#include <libngf/proplist.h>

typedef enum _NgfTransport
{
    /** DBus transport is the only supported transport currently. */
    NGF_TRANSPORT_DBUS,

    /** Reserved for internal use. */
    NGF_TRANSPORT_INTERNAL
} NgfTransport;

typedef enum _NgfEventState
{
    /** Event is completed when the event has been played or cancelled by higher priority event. */
    NGF_EVENT_COMPLETED = 0,

    /** Event fails when we are unable to get resources for it or we just can't play it. */
    NGF_EVENT_FAILED
} NgfEventState;
<commit_msg>client: Event state enumerations for busy, long and short tone.<commit_after>/*
 * libngf - Non-graphical feedback library
 * This file is part of libngf.
 *
 * Copyright (C) 2010 Nokia Corporation. All rights reserved.
 *
 * Contact: <NAME> <<EMAIL>>
 *
 * This software, including documentation, is protected by copyright
 * controlled by Nokia Corporation. All rights are reserved.
 * Copying, including reproducing, storing, adapting or translating,
 * any or all of this material requires the prior written consent of
 * Nokia Corporation. This material also contains confidential
 * information which may not be disclosed to others without the prior
 * written consent of Nokia.
 */

#ifndef NGF_CLIENT_H
#define NGF_CLIENT_H

#include <stdint.h>
#include <libngf/proplist.h>

typedef enum _NgfTransport
{
    /** DBus transport is the only supported transport currently. */
    NGF_TRANSPORT_DBUS,

    /** Reserved for internal use. */
    NGF_TRANSPORT_INTERNAL
} NgfTransport;

typedef enum _NgfEventState
{
    /** Event is completed when the event has been played or cancelled by higher priority event. */
    NGF_EVENT_COMPLETED = 0,

    /** Event fails when we are unable to get resources for it or we just can't play it. */
    NGF_EVENT_FAILED    = 1,

    /** Event is busy, because there is a more higher priority event playing. */
    NGF_EVENT_BUSY      = (1 << 1),

    /** Event will be played using a long tone */
    NGF_EVENT_LONG      = (1 << 2),

    /** Event will be played using a short tone */
    NGF_EVENT_SHORT     = (1 << 3),
} NgfEventState;

{'fraction_non_alphanumeric': 0.07837548984681154, 'fraction_numerical': 0.006056287851799074, 'mean_word_length': 3.5510534846029174, 'pattern_counts': {'":': 0, '<': 19, '<?xml version=': 0, '>': 13, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '456466', 'n_tokens_mistral': 839, 'n_tokens_neox': 780, 'n_words': 335}