[glom] Box_Data_Portal: Make some member variables private.



commit 0758587cfacc9f1ac65291e15228ab44329733c2
Author: Murray Cumming <murrayc murrayc com>
Date:   Sat Mar 19 16:36:27 2016 +0100

    Box_Data_Portal: Make some member variables private.

 glom/mode_data/box_data_portal.h |    7 +++++++
 1 files changed, 7 insertions(+), 0 deletions(-)
---
diff --git a/glom/mode_data/box_data_portal.h b/glom/mode_data/box_data_portal.h
index c4bc673..890dbd3 100644
--- a/glom/mode_data/box_data_portal.h
+++ b/glom/mode_data/box_data_portal.h
@@ -122,6 +122,12 @@ protected:
   Gtk::Frame m_Frame;
   Gtk::Label m_Label;
 
+public:
+  const Glib::ustring &get_parent() const {
+    return m_parent_table;
+  }
+
+protected:
   Glib::ustring m_parent_table; //A duplicate of the from_table in the poral, but only when get_portal() is 
not null.
   
   // m_key_field and m_key_value are the field and its value in this table that 
@@ -129,6 +135,7 @@ protected:
   std::shared_ptr<Field> m_key_field;
   Gnome::Gda::Value m_key_value;
 
+private:
   bool m_find_mode;
     
   type_signal_portal_record_changed m_signal_portal_record_changed;


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