[totem-pl-parser/wip/hadess/dont-recurse-videosite: 36/38] plparser: Export recursion property internally




commit 0f2a60ae99c602d0ebd830ab8d1d8f3414a2b3d9
Author: Bastien Nocera <hadess hadess net>
Date:   Thu Mar 4 16:47:00 2021 +0100

    plparser: Export recursion property internally

 plparse/totem-pl-parser-private.h | 1 +
 plparse/totem-pl-parser.c         | 6 ++++++
 2 files changed, 7 insertions(+)
---
diff --git a/plparse/totem-pl-parser-private.h b/plparse/totem-pl-parser-private.h
index b9fc53e..1ecab01 100644
--- a/plparse/totem-pl-parser-private.h
+++ b/plparse/totem-pl-parser-private.h
@@ -119,6 +119,7 @@ int   totem_pl_parser_read_ini_line_int             (char **lines, const char *key);
 char *totem_pl_parser_read_ini_line_string_with_sep (char **lines, const char *key,
                                                     const char *sep);
 gboolean totem_pl_parser_is_debugging_enabled  (TotemPlParser *parser);
+gboolean totem_pl_parser_get_recurse           (TotemPlParser *parser);
 char *totem_pl_parser_base_uri                 (GFile *file);
 void totem_pl_parser_playlist_end              (TotemPlParser *parser,
                                                 const char *playlist_title);
diff --git a/plparse/totem-pl-parser.c b/plparse/totem-pl-parser.c
index 4656f6e..8706eeb 100644
--- a/plparse/totem-pl-parser.c
+++ b/plparse/totem-pl-parser.c
@@ -811,6 +811,12 @@ totem_pl_parser_is_debugging_enabled (TotemPlParser *parser)
        return parser->priv->debug;
 }
 
+gboolean
+totem_pl_parser_get_recurse (TotemPlParser *parser)
+{
+       return parser->priv->recurse;
+}
+
 /**
  * totem_pl_parser_base_uri:
  * @uri: a URI


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]