[tepl] File loading: write comment with implementation notes



commit 28d47d13af839dcaaab68563b8c688adb0de150c
Author: Sébastien Wilmet <swilmet gnome org>
Date:   Thu Oct 26 15:04:36 2017 +0200

    File loading: write comment with implementation notes

 tepl/tepl-file-loader.c |   12 ++++++++++++
 1 files changed, 12 insertions(+), 0 deletions(-)
---
diff --git a/tepl/tepl-file-loader.c b/tepl/tepl-file-loader.c
index b1b3e5c..8f73104 100644
--- a/tepl/tepl-file-loader.c
+++ b/tepl/tepl-file-loader.c
@@ -53,6 +53,18 @@
  * gtk_text_buffer_set_modified() is called with %FALSE.
  */
 
+/* Implementation notes:
+ *
+ * TeplFileLoader tries to delegate as much work as possible to other internal
+ * classes:
+ * - TeplFileContentLoader
+ * - TeplFileContent
+ * - TeplEncodingConverter
+ *
+ * Those internal classes should be re-usable outside of GtkTextView, the
+ * GtkTextView-specific code should be in this class.
+ */
+
 typedef struct _TeplFileLoaderPrivate TeplFileLoaderPrivate;
 typedef struct _TaskData TaskData;
 


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