From 44099c122d3da8dfb956a9cd4958e1a42250a778 Mon Sep 17 00:00:00 2001
From: Otmane Lahlou <otmane.lahlou@c-s.fr>
Date: Thu, 8 Dec 2011 17:38:09 +0100
Subject: [PATCH] ENH: declare the MapProjectionParameters class as a friend in
 WrapperApplication

---
 Code/ApplicationEngine/otbWrapperApplication.h | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/Code/ApplicationEngine/otbWrapperApplication.h b/Code/ApplicationEngine/otbWrapperApplication.h
index 99b1f2f395..59da079f84 100644
--- a/Code/ApplicationEngine/otbWrapperApplication.h
+++ b/Code/ApplicationEngine/otbWrapperApplication.h
@@ -727,6 +727,13 @@ private:
   /** Tags that define the applcation (ex : segmentation, OBIA).*/
   std::vector<std::string> m_DocTags;
 
+  /**
+    * Declare the class Wrapper::MapProjectionParametersHandler as friend
+    * to be able to access to the protected method of
+    * Wrapper::Application class.
+    **/
+  friend class MapProjectionParametersHandler;
+
 }; //end class
 
 } // end namespace Wrapper
-- 
GitLab