AsDataProvider 3 APPSTREAM Library
AsDataProvider

## Functions

AsDataProvider * | as_data_provider_construct ()
void | as_data_provider_emit_component ()
gboolean | as_data_provider_execute ()
void | as_data_provider_log_error ()
void | as_data_provider_log_warning ()
const gchar * | as_data_provider_get_locale_short ()
const gchar * | as_data_provider_get_locale ()
void | as_data_provider_set_locale ()
gchar ** | as_data_provider_get_watch_files ()
void | as_data_provider_set_watch_files ()

## Properties

GStrv | watch-files | Read / Write

## Signals

void | component | Run Last

## Object Hierarchy

        GObject
        ╰── AsDataProvider
            ├── AsProviderDEP11
            ╰── AsProviderXML

## Description

## Functions

### as_data_provider_construct ()

    AsDataProvider *
    as_data_provider_construct (GType object_type);

#### Returns

as_data_provider_construct

### as_data_provider_emit_component ()

    void
    as_data_provider_emit_component (AsDataProvider *self,
                                     AsComponent *cpt);

as_data_provider_emit_component

### as_data_provider_execute ()

    gboolean
    as_data_provider_execute (AsDataProvider *self);

#### Returns

as_data_provider_execute

### as_data_provider_log_error ()

    void
    as_data_provider_log_error (AsDataProvider *self,
                                const gchar *msg);

as_data_provider_log_error

### as_data_provider_log_warning ()

    void
    as_data_provider_log_warning (AsDataProvider *self,
                                  const gchar *msg);

as_data_provider_log_warning

### as_data_provider_get_locale_short ()

    const gchar *
    as_data_provider_get_locale_short (AsDataProvider *dprov);

#### Returns

as_data_provider_get_locale_short

### as_data_provider_get_locale ()

    const gchar *
    as_data_provider_get_locale (AsDataProvider *dpool);

#### Returns

as_data_provider_get_locale

### as_data_provider_set_locale ()

    void
    as_data_provider_set_locale (AsDataProvider *dprov,
                                 const gchar *locale);

as_data_provider_set_locale

### as_data_provider_get_watch_files ()

    gchar **
    as_data_provider_get_watch_files (AsDataProvider *self);

#### Returns

as_data_provider_get_watch_files

### as_data_provider_set_watch_files ()

    void
    as_data_provider_set_watch_files (AsDataProvider *self,
                                      gchar **value);

as_data_provider_set_watch_files

## Types and Values

## Property Details

### The `“watch-files”` property

      “watch-files”              GStrv

watch-files.

Flags: Read / Write

AsDataProvider:watch-files

## Signal Details

### The `“component”` signal

    void
    user_function (AsDataProvider *asdataprovider,
                   AsComponent    *arg1,
                   gpointer        user_data)

Flags: Run Last

AsDataProvider::component