BamfControl

## BamfControl BamfControl — The base class for all controls |

## Synopsis

    struct              BamfControl;
    struct              BamfControlClass;
    BamfControl *       bamf_control_get_default            (void);
    void                bamf_control_insert_desktop_file    (BamfControl *control,
                                                             const gchar *desktop_file);
    void                bamf_control_register_application_for_pid
                                                            (BamfControl *control,
                                                             const gchar *application,
                                                             gint32 pid);
    void                bamf_control_register_tab_provider  (BamfControl *control,
                                                             const char *path);
    void                bamf_control_set_approver_behavior  (BamfControl *control,
                                                             gint32 behavior);

## Object Hierarchy

      GObject
       +----BamfControl

## Description

BamfControl is the base class that all controls need to derive from.

## Details

### struct BamfControl

    struct BamfControl;

### struct BamfControlClass

    struct BamfControlClass {
      GObjectClass parent_class;
    };

### bamf_control_get_default ()

    BamfControl *       bamf_control_get_default            (void);

### bamf_control_insert_desktop_file ()

    void                bamf_control_insert_desktop_file    (BamfControl *control,
                                                             const gchar *desktop_file);

### bamf_control_register_application_for_pid ()

    void                bamf_control_register_application_for_pid
                                                            (BamfControl *control,
                                                             const gchar *application,
                                                             gint32 pid);

### bamf_control_register_tab_provider ()

    void                bamf_control_register_tab_provider  (BamfControl *control,
                                                             const char *path);

### bamf_control_set_approver_behavior ()

    void                bamf_control_set_approver_behavior  (BamfControl *control,
                                                             gint32 behavior);