~ubuntu-branches/ubuntu/maverick/brasero/maverick

« back to all changes in this revision

Viewing changes to plugins/cdrdao/burn-cdrdao.c

  • Committer: Bazaar Package Importer
  • Author(s): Robert Ancell
  • Date: 2009-11-26 16:20:01 UTC
  • mto: This revision was merged to the branch mainline in revision 58.
  • Revision ID: james.westby@ubuntu.com-20091126162001-5iw2jzxdx8l31okz
Tags: upstream-2.29.2
ImportĀ upstreamĀ versionĀ 2.29.2

Show diffs side-by-side

added added

removed removed

Lines of Context:
606
606
        G_OBJECT_CLASS (parent_class)->finalize (object);
607
607
}
608
608
 
609
 
static BraseroBurnResult
610
 
brasero_cdrdao_export_caps (BraseroPlugin *plugin, gchar **error)
 
609
static void
 
610
brasero_cdrdao_export_caps (BraseroPlugin *plugin)
611
611
{
612
612
        GSList *input;
613
613
        GSList *output;
614
 
        BraseroBurnResult result;
615
614
        BraseroPluginConfOption *use_raw; 
616
615
        const BraseroMedia media_w = BRASERO_MEDIUM_CD|
617
616
                                     BRASERO_MEDIUM_WRITABLE|
626
625
                                      BRASERO_MEDIUM_BLANK;
627
626
 
628
627
        brasero_plugin_define (plugin,
629
 
                               "Cdrdao",
630
 
                               _("Use cdrdao to copy and burn CDs"),
 
628
                               "cdrdao",
 
629
                               _("Copies, burns and blanks CDs"),
631
630
                               "Philippe Rouquier",
632
631
                               20);
633
632
 
634
 
        /* First see if this plugin can be used */
635
 
        result = brasero_process_check_path ("cdrdao", error);
636
 
        if (result != BRASERO_BURN_OK)
637
 
                return result;
638
 
 
639
633
        /* that's for cdrdao images: CDs only as input */
640
634
        input = brasero_caps_disc_new (BRASERO_MEDIUM_CD|
641
635
                                       BRASERO_MEDIUM_ROM|
699
693
        brasero_plugin_add_conf_option (plugin, use_raw);
700
694
 
701
695
        brasero_plugin_register_group (plugin, _(CDRDAO_DESCRIPTION));
702
 
        return BRASERO_BURN_OK;
 
696
}
 
697
 
 
698
G_MODULE_EXPORT void
 
699
brasero_plugin_check_config (BraseroPlugin *plugin)
 
700
{
 
701
        gint version [3] = { 1, 2, 0};
 
702
        brasero_plugin_test_app (plugin,
 
703
                                 "cdrdao",
 
704
                                 "version",
 
705
                                 "Cdrdao version %d.%d.%d - (C) Andreas Mueller <andreas@daneb.de>",
 
706
                                 version);
703
707
}