Revision: 825 http://geany-plugins.svn.sourceforge.net/geany-plugins/?rev=825&view=rev Author: frlan Date: 2009-07-17 15:54:15 +0000 (Fri, 17 Jul 2009)
Log Message: ----------- Added a function to open dir
Modified Paths: -------------- trunk/geanylatex/src/latexutils.c trunk/geanylatex/src/latexutils.h
Modified: trunk/geanylatex/src/latexutils.c =================================================================== --- trunk/geanylatex/src/latexutils.c 2009-07-16 17:58:08 UTC (rev 824) +++ trunk/geanylatex/src/latexutils.c 2009-07-17 15:54:15 UTC (rev 825) @@ -22,6 +22,14 @@ #include "latexutils.h" #include "geanylatex.h"
+ +GDir *glatex_get_aux_files_from_dir(const gchar *dirname) +{ + GDir *dir; + dir = g_dir_open (dirname, 0, NULL); + return dir; +} + gchar **geanylatex_read_file_in_array(const gchar *filename) { gchar **result = NULL;
Modified: trunk/geanylatex/src/latexutils.h =================================================================== --- trunk/geanylatex/src/latexutils.h 2009-07-16 17:58:08 UTC (rev 824) +++ trunk/geanylatex/src/latexutils.h 2009-07-17 15:54:15 UTC (rev 825) @@ -23,6 +23,8 @@
#include "geanylatex.h"
+GDir *glatex_get_aux_files_from_dir(const gchar *dirname); + gchar **geanylatex_read_file_in_array(const gchar *filename);
const gchar *glatex_get_aux_file();
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.