glom r2018 - in trunk: . glom/libglom/document



Author: murrayc
Date: Mon Mar 23 18:07:58 2009
New Revision: 2018
URL: http://svn.gnome.org/viewvc/glom?rev=2018&view=rev

Log:
2009-03-23  Murray Cumming  <murrayc murrayc com>

* glom/libglom/document/document_glom.[h|cc]: Added a load() that just calls 
the base class, just to make life easier for SWIG, so it can ignore the base 
class for client-only API.

Modified:
   trunk/ChangeLog
   trunk/glom/libglom/document/document_glom.cc
   trunk/glom/libglom/document/document_glom.h

Modified: trunk/glom/libglom/document/document_glom.cc
==============================================================================
--- trunk/glom/libglom/document/document_glom.cc	(original)
+++ trunk/glom/libglom/document/document_glom.cc	Mon Mar 23 18:07:58 2009
@@ -4083,6 +4083,11 @@
   return m_opened_from_browse;
 }
 
+bool Document_Glom::load()
+{
+  return GlomBakery::Document_XML::load();
+}
+
 
 } //namespace Glom
 

Modified: trunk/glom/libglom/document/document_glom.h
==============================================================================
--- trunk/glom/libglom/document/document_glom.h	(original)
+++ trunk/glom/libglom/document/document_glom.h	Mon Mar 23 18:07:58 2009
@@ -78,6 +78,13 @@
 
   virtual void set_file_uri(const Glib::ustring& file_uri, bool bEnforceFileExtension = false);
 
+  /* Loads data from disk, using the URI (set with set_file_uri()) then asks the View to update itself.
+   * bool indicates success.
+   * This is just here so the SWIG Java API generator does not need to wrap methods from the base classes.
+   */
+  bool load();
+  
+  
   /** Whether the document was opened from another networked glom instance, 
    * instead of via a URI.
    */



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