BamfFactory

## BamfFactory BamfFactory — The base class for all factorys |

## Synopsis

    struct              BamfFactory;
    struct              BamfFactoryClass;
    enum                BamfFactoryViewType;
    BamfApplication *   bamf_factory_app_for_file           (BamfFactory *factory,
                                                             const char *path,
                                                             gboolean create);
    BamfFactory *       bamf_factory_get_default            (void);
    BamfView *          bamf_factory_view_for_path          (BamfFactory *factory,
                                                             const char *path);
    BamfView *          bamf_factory_view_for_path_type     (BamfFactory *factory,
                                                             const char *path,
                                                             BamfFactoryViewType type);
    BamfView *          bamf_factory_view_for_path_type_str (BamfFactory *factory,
                                                             const char *path,
                                                             const char *type);

## Object Hierarchy

      GObject
       +----BamfFactory

## Description

BamfFactory is the base class that all factorys need to derive from.

## Details

### struct BamfFactory

    struct BamfFactory;

### struct BamfFactoryClass

    struct BamfFactoryClass {
      GObjectClass parent_class;
    };

### enum BamfFactoryViewType

    typedef enum {
      BAMF_FACTORY_VIEW,
      BAMF_FACTORY_WINDOW,
      BAMF_FACTORY_APPLICATION,
      BAMF_FACTORY_INDICATOR,
      BAMF_FACTORY_NONE
    } BamfFactoryViewType;

### bamf_factory_app_for_file ()

    BamfApplication *   bamf_factory_app_for_file           (BamfFactory *factory,
                                                             const char *path,
                                                             gboolean create);

### bamf_factory_get_default ()

    BamfFactory *       bamf_factory_get_default            (void);

### bamf_factory_view_for_path ()

    BamfView *          bamf_factory_view_for_path          (BamfFactory *factory,
                                                             const char *path);

### bamf_factory_view_for_path_type ()

    BamfView *          bamf_factory_view_for_path_type     (BamfFactory *factory,
                                                             const char *path,
                                                             BamfFactoryViewType type);

### bamf_factory_view_for_path_type_str ()

    BamfView *          bamf_factory_view_for_path_type_str (BamfFactory *factory,
                                                             const char *path,
                                                             const char *type);