[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    kdenonbeta/krecipes/src
From:       Jason Kivlighn <confederacy2 () excite ! com>
Date:       2004-06-04 22:43:15
Message-ID: 20040604224315.9CC38126E6 () office ! kde ! org
[Download RAW message or body]

CVS commit by jkivlighn: 

New importer: Rezkonv file format

Support is not yet thoroughly tested, although most of the work is in place.  Thanks \
to those who helped translate the German specification for this format so that we \
could include support for it --  It wouldn't have been possible otherwise!


  A            importers/rezkonvimporter.cpp   1.1 [GPL (v2+)]
  A            importers/rezkonvimporter.h   1.1 [GPL (v2+)]
  M +5 -1      krecipes.cpp   1.62
  M +1 -1      importers/Makefile.am   1.8


--- kdenonbeta/krecipes/src/krecipes.cpp  #1.61:1.62
@@ -24,4 +24,5 @@
 #include "importers/nycgenericimporter.h"
 #include "importers/recipemlimporter.h"
+#include "importers/rezkonvimporter.h"
 
 #include "recipe.h"
@@ -218,5 +219,6 @@ void Krecipes::import()
           "*.mmf *.txt|Meal-Master Format (*.mmf, *.txt)\n"
           "*.txt|\"Now You're Cooking\" Generic Export (*.txt)\n"
-          "*.xml *.recipeml|RecipeML (*.xml, *.recipeml)",
+          "*.xml *.recipeml|RecipeML (*.xml, *.recipeml)\n"
+          "*.rk *.txt|Rezkonv Format (*.rk, *.txt)",
           this,
           "file_dialog",
@@ -244,4 +246,6 @@ void Krecipes::import()
                 else if ( selected_filter == "*.xml *.recipeml" )
                         importer = new RecipeMLImporter();
+                else if ( selected_filter == "*.rk *.txt" )
+                        importer = new RezkonvImporter();
                 else
                 {

--- kdenonbeta/krecipes/src/importers/Makefile.am  #1.7:1.8
@@ -8,5 +8,5 @@
 
 noinst_LTLIBRARIES=libkrecipesimporters.la
-libkrecipesimporters_la_SOURCES = mx2importer.cpp mmfimporter.cpp mxpimporter.cpp \
nycgenericimporter.cpp recipemlimporter.cpp baseimporter.cpp kreimporter.cpp \
+libkrecipesimporters_la_SOURCES = mx2importer.cpp mmfimporter.cpp mxpimporter.cpp \
nycgenericimporter.cpp recipemlimporter.cpp baseimporter.cpp kreimporter.cpp \
rezkonvimporter.cpp  libkrecipesimporters_la_METASOURCES=AUTO
 


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic