<commit_before>/*
 Copyright (C) 2007 <NAME> <<EMAIL>>

 This library is free software; you can redistribute it and/or
 modify it under the terms of the GNU Lesser General Public
 License as published by the Free Software Foundation; either
 version 2.1 of the License, or (at your option) any later version.

 See the file COPYING for the full license text.
*/

#ifndef __KATZE_THROBBER_H__
#define __KATZE_THROBBER_H__

#include <gdk/gdk.h>
#include <gtk/gtkmisc.h>

#include "katze-utils.h"

G_BEGIN_DECLS

#define KATZE_TYPE_THROBBER \
    (katze_throbber_get_type ())
#define KATZE_THROBBER(obj) \
    (G_TYPE_CHECK_INSTANCE_CAST ((obj), KATZE_TYPE_THROBBER, KatzeThrobber))
#define KATZE_THROBBER_CLASS(klass) \
    (G_TYPE_CHECK_CLASS_CAST ((klass), KATZE_TYPE_THROBBER, KatzeThrobberClass))
#define KATZE_IS_THROBBER(obj) \
    (G_TYPE_CHECK_INSTANCE_TYPE ((obj), KATZE_TYPE_THROBBER))
#define KATZE_IS_THROBBER_CLASS(klass) \
    (G_TYPE_CHECK_CLASS_TYPE ((klass), KATZE_TYPE_THROBBER))
#define KATZE_THROBBER_GET_CLASS(obj) \
    (G_TYPE_INSTANCE_GET_CLASS ((obj), KATZE_TYPE_THROBBER, KatzeThrobberClass))

typedef struct _KatzeThrobber                KatzeThrobber;
typedef struct _KatzeThrobberPrivate         KatzeThrobberPrivate;
typedef struct _KatzeThrobberClass           KatzeThrobberClass;

struct _KatzeThrobber
{
    KatzeThrobberPrivate* priv;
    GtkWidget parent_object;

    /* Padding for future expansion */
    void (*_katze_reserved1) (void);
    void (*_katze_reserved2) (void);
    void (*_katze_reserved3) (void);
    void (*_katze_reserved4) (void);
};

struct _KatzeThrobberClass
{
    GtkMiscClass parent_class;

    /* Padding for future expansion */
    void (*_katze_reserved1) (void);
    void (*_katze_reserved2) (void);
    void (*_katze_reserved3) (void);
    void (*_katze_reserved4) (void);
};

GType
katze_throbber_get_type             (void) G_GNUC_CONST;

GtkWidget*
katze_throbber_new                  (void);

void
katze_throbber_set_icon_size        (KatzeThrobber*   throbber,
                                     GtkIconSize      icon_size);

void
katze_throbber_set_icon_name        (KatzeThrobber*   throbber,
                                     const gchar*     icon_size);

void
katze_throbber_set_pixbuf           (KatzeThrobber*   throbber,
                                     GdkPixbuf*       pixbuf);

void
katze_throbber_set_animated         (KatzeThrobber*   throbber,
                                     gboolean         animated);

void
katze_throbber_set_static_icon_name (KatzeThrobber*   throbber,
                                     const gchar*     icon_name);

void<commit_msg>Fixed the header of the KatzeThrobber<commit_after>/*
 Copyright (C) 2007 <NAME> <<EMAIL>>

 This library is free software; you can redistribute it and/or
 modify it under the terms of the GNU Lesser General Public
 License as published by the Free Software Foundation; either
 version 2.1 of the License, or (at your option) any later version.

 See the file COPYING for the full license text.
*/

#ifndef __KATZE_THROBBER_H__
#define __KATZE_THROBBER_H__

#include <gdk/gdk.h>
#include <gtk/gtkmisc.h>

#include "katze-utils.h"

G_BEGIN_DECLS

#define KATZE_TYPE_THROBBER \
    (katze_throbber_get_type ())
#define KATZE_THROBBER(obj) \
    (G_TYPE_CHECK_INSTANCE_CAST ((obj), KATZE_TYPE_THROBBER, KatzeThrobber))
#define KATZE_THROBBER_CLASS(klass) \
    (G_TYPE_CHECK_CLASS_CAST ((klass), KATZE_TYPE_THROBBER, KatzeThrobberClass))
#define KATZE_IS_THROBBER(obj) \
    (G_TYPE_CHECK_INSTANCE_TYPE ((obj), KATZE_TYPE_THROBBER))
#define KATZE_IS_THROBBER_CLASS(klass) \
    (G_TYPE_CHECK_CLASS_TYPE ((klass), KATZE_TYPE_THROBBER))
#define KATZE_THROBBER_GET_CLASS(obj) \
    (G_TYPE_INSTANCE_GET_CLASS ((obj), KATZE_TYPE_THROBBER, KatzeThrobberClass))

typedef struct _KatzeThrobber                KatzeThrobber;
typedef struct _KatzeThrobberPrivate         KatzeThrobberPrivate;
typedef struct _KatzeThrobberClass           KatzeThrobberClass;

struct _KatzeThrobber
{
    GtkMisc parent_object;
    KatzeThrobberPrivate* priv;
};

struct _KatzeThrobberClass
{
    GtkMiscClass parent_class;

    /* Padding for future expansion */
    void (*_katze_reserved1) (void);
    void (*_katze_reserved2) (void);
    void (*_katze_reserved3) (void);
    void (*_katze_reserved4) (void);
};

GType
katze_throbber_get_type             (void);

GtkWidget*
katze_throbber_new                  (void);

void
katze_throbber_set_icon_size        (KatzeThrobber*   throbber,
                                     GtkIconSize      icon_size);

void
katze_throbber_set_icon_name        (KatzeThrobber*   throbber,
                                     const gchar*     icon_size);

void
katze_throbber_set_pixbuf           (KatzeThrobber*   throbber,
                                     GdkPixbuf*       pixbuf);

void
katze_throbber_set_animated         (KatzeThrobber*   throbber,
                                     gboolean         animated);

void
katze_throbber_set_static_icon_name (KatzeThrobber*   throbber,
                                     const gchar*     icon_name);

void
{'fraction_non_alphanumeric': 0.07609756097560975, 'fraction_numerical': 0.0046829268292682925, 'mean_word_length': 3.0682539682539685, 'pattern_counts': {'":': 0, '<': 13, '<?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': 10, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5179605', 'n_tokens_mistral': 1871, 'n_tokens_neox': 1802, 'n_words': 373}