gtranslator r3731 - in trunk: . doc/reference src



Author: icq
Date: Mon Sep 22 09:45:29 2008
New Revision: 3731
URL: http://svn.gnome.org/viewvc/gtranslator?rev=3731&view=rev

Log:
2008-08-25  Ignacio Casal Quinteiro  <nacho resa gmail com>

	* doc/reference/Makefile.am:
	* doc/reference/gtranslator-docs.sgml:
	* doc/reference/gtranslator.types:
	Added missing files to doc.

	* src/debug.h:
	Added documentation.

Modified:
   trunk/ChangeLog
   trunk/doc/reference/Makefile.am
   trunk/doc/reference/gtranslator-docs.sgml
   trunk/doc/reference/gtranslator.types
   trunk/src/ChangeLog
   trunk/src/debug.h

Modified: trunk/doc/reference/Makefile.am
==============================================================================
--- trunk/doc/reference/Makefile.am	(original)
+++ trunk/doc/reference/Makefile.am	Mon Sep 22 09:45:29 2008
@@ -37,11 +37,13 @@
 # Used for dependencies. The docs will be rebuilt if any of these change.
 HFILE_GLOB= 					\
 	$(top_srcdir)/src/*.h			\
-	$(top_srcdir)/src/plugin-system/*.h	
+	$(top_srcdir)/src/plugin-system/*.h	\
+	$(top_srcdir)/src/translation-memory/*.h
 	
 CFILE_GLOB=					\
 	$(top_srcdir)/src/*.c			\
-	$(top_srcdir)/src/plugin-system/*.c	
+	$(top_srcdir)/src/plugin-system/*.c	\
+	$(top_srcdir)/src/translation-memory/*.c
 
 # Header files to ignore when scanning (These are internal to gedit).
 IGNORE_HFILES=			\
@@ -75,6 +77,7 @@
 	-I$(top_srcdir)/src			\
 	-I$(top_srcdir)/src/plugin-system	\
 	-I$(top_srcdir)/src/toolbareditor	\
+	-I$(top_srcdir)/src/translation-memory	\
 	-I$(top_builddir)/src			\
 	-I$(top_srcdir)				\
 	-I$(top_builddir)			\

Modified: trunk/doc/reference/gtranslator-docs.sgml
==============================================================================
--- trunk/doc/reference/gtranslator-docs.sgml	(original)
+++ trunk/doc/reference/gtranslator-docs.sgml	Mon Sep 22 09:45:29 2008
@@ -13,6 +13,7 @@
     <title>API reference</title>
     <xi:include href="xml/application.xml"/>
     <xi:include href="xml/context.xml"/>
+    <xi:include href="xml/debug.xml"/>
     <xi:include href="xml/header.xml"/>
     <xi:include href="xml/history-entry.xml"/>
     <xi:include href="xml/io-error-message-area.xml"/>
@@ -24,6 +25,8 @@
     <xi:include href="xml/po.xml"/>
     <xi:include href="xml/statusbar.xml"/>
     <xi:include href="xml/tab.xml"/>
+    <xi:include href="xml/translation-memory.xml"/>
+    <xi:include href="xml/translation-memory-ui.xml"/>
     <xi:include href="xml/utils.xml"/>
     <xi:include href="xml/view.xml"/>
     <xi:include href="xml/window.xml"/>

Modified: trunk/doc/reference/gtranslator.types
==============================================================================
--- trunk/doc/reference/gtranslator.types	(original)
+++ trunk/doc/reference/gtranslator.types	Mon Sep 22 09:45:29 2008
@@ -1,6 +1,7 @@
 
 #include "application.h"
 #include "context.h"
+#include "debug.h"
 #include "header.h"
 #include "history-entry.h"
 #include "io-error-message-area.h"
@@ -12,6 +13,8 @@
 #include "po.h"
 #include "statusbar.h"
 #include "tab.h"
+#include "translation-memory.h"
+#include "translation-memory-ui.h"
 #include "utils.h"
 #include "view.h"
 #include "window.h"

Modified: trunk/src/debug.h
==============================================================================
--- trunk/src/debug.h	(original)
+++ trunk/src/debug.h	Mon Sep 22 09:45:29 2008
@@ -15,6 +15,13 @@
  *     along with this program.  If not, see <http://www.gnu.org/licenses/>.
  */
 
+/**
+ * SECTION:debug
+ * @title: Debugging
+ * @short_description: Debug functions
+ * @include: gtranslator/debug.h
+ */
+ 
 #ifndef __DEBUG_H__
 #define __DEBUG_H__
 
@@ -22,6 +29,13 @@
 
 G_BEGIN_DECLS
 
+/**
+ * DEBUG_PRINT:
+ *
+ * Equivalent to g_message(), except it has only effect when DEBUG is
+ * defined. Used for printing debug messages.
+ */
+ 
 #ifdef DEBUG
 #  define DEBUG_PRINT g_message
 #else



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