[mapguide-commits] r7206 - in sandbox/jng/expanded-web-api: Common/MapGuideCommon/Controller Common/PlatformBase/Services Web/src/DotNetUnmanagedApi/MapGuideCommon Web/src/MapGuideApi

svn_mapguide at osgeo.org svn_mapguide at osgeo.org
Wed Nov 14 02:51:24 PST 2012


Author: jng
Date: 2012-11-14 02:51:24 -0800 (Wed, 14 Nov 2012)
New Revision: 7206

Modified:
   sandbox/jng/expanded-web-api/Common/MapGuideCommon/Controller/HtmlController.h
   sandbox/jng/expanded-web-api/Common/PlatformBase/Services/ResourceService.h
   sandbox/jng/expanded-web-api/Web/src/DotNetUnmanagedApi/MapGuideCommon/MapGuideCommonApiGen.xml
   sandbox/jng/expanded-web-api/Web/src/MapGuideApi/MapGuideApiGen.xml
Log:
Expose the following classes and methods (moved to EXTERNAL_API, so technically un-published but accessible to .net/PHP/Java):
 - MgHtmlController class
    - Motivation: There is currently nothing in the Web API that allows us to manipulate display parameters of MgMap. The mapagent can do this because it uses this class to do it.
 - MgResourceService::EnumerateResourceDocuments
    - Motivation: There is currently nothing in the Web API that allows for repository-wide method of extracting resource metadata. This previously internal API does this.

Modified: sandbox/jng/expanded-web-api/Common/MapGuideCommon/Controller/HtmlController.h
===================================================================
--- sandbox/jng/expanded-web-api/Common/MapGuideCommon/Controller/HtmlController.h	2012-11-14 09:21:49 UTC (rev 7205)
+++ sandbox/jng/expanded-web-api/Common/MapGuideCommon/Controller/HtmlController.h	2012-11-14 10:51:24 UTC (rev 7206)
@@ -29,7 +29,7 @@
 {
     DECLARE_CLASSNAME(MgHtmlController)
 
-INTERNAL_API:
+EXTERNAL_API:
 
     //////////////////////////////////////////////////////////////////
     /// \brief
@@ -183,6 +183,8 @@
         INT32 width,
         INT32 height);
 
+INTERNAL_API:
+
     //////////////////////////////////////////////////////////////////
     /// \brief
     /// Generates JavaScript code that can be embedded in an HTML response

Modified: sandbox/jng/expanded-web-api/Common/PlatformBase/Services/ResourceService.h
===================================================================
--- sandbox/jng/expanded-web-api/Common/PlatformBase/Services/ResourceService.h	2012-11-14 09:21:49 UTC (rev 7205)
+++ sandbox/jng/expanded-web-api/Common/PlatformBase/Services/ResourceService.h	2012-11-14 10:51:24 UTC (rev 7206)
@@ -1769,6 +1769,8 @@
         INT32 depth, CREFSTRING type, INT32 properties,
         CREFSTRING fromDate, CREFSTRING toDate, bool computeChildren);
 
+EXTERNAL_API:
+
     ///////////////////////////////////////////////////////////////////////////
     /// \brief
     /// Enumerate the resource documents in the specified repository.
@@ -1798,6 +1800,8 @@
     virtual STRING EnumerateResourceDocuments(MgStringCollection* resources,
         CREFSTRING type, INT32 properties);
 
+INTERNAL_API:
+
     ///////////////////////////////////////////////////////////////////////////
     /// \brief
     /// Gets the content of the specified resource.

Modified: sandbox/jng/expanded-web-api/Web/src/DotNetUnmanagedApi/MapGuideCommon/MapGuideCommonApiGen.xml
===================================================================
--- sandbox/jng/expanded-web-api/Web/src/DotNetUnmanagedApi/MapGuideCommon/MapGuideCommonApiGen.xml	2012-11-14 09:21:49 UTC (rev 7205)
+++ sandbox/jng/expanded-web-api/Web/src/DotNetUnmanagedApi/MapGuideCommon/MapGuideCommonApiGen.xml	2012-11-14 10:51:24 UTC (rev 7206)
@@ -86,7 +86,7 @@
 <Headers>
 
     <!-- MapGuideCommon classes -->
-
+    <Header path="../../../../Common/MapGuideCommon/Controller/HtmlController.h" />
     <Header path="../../../../Common/MapGuideCommon/Exception/AuthenticationFailedException.h" />
     <Header path="../../../../Common/MapGuideCommon/Exception/ConnectionFailedException.h" />
     <Header path="../../../../Common/MapGuideCommon/Exception/ConnectionNotOpenException.h" />

Modified: sandbox/jng/expanded-web-api/Web/src/MapGuideApi/MapGuideApiGen.xml
===================================================================
--- sandbox/jng/expanded-web-api/Web/src/MapGuideApi/MapGuideApiGen.xml	2012-11-14 09:21:49 UTC (rev 7205)
+++ sandbox/jng/expanded-web-api/Web/src/MapGuideApi/MapGuideApiGen.xml	2012-11-14 10:51:24 UTC (rev 7206)
@@ -352,7 +352,7 @@
     <Header path="../../../Common/PlatformBase/MapLayer/SelectionBase.h" />
 
     <!-- MapGuideCommon classes -->
-
+    <Header path="../../../Common/MapGuideCommon/Controller/HtmlController.h" />
     <Header path="../../../Common/MapGuideCommon/Exception/AuthenticationFailedException.h" />
     <Header path="../../../Common/MapGuideCommon/Exception/ConnectionFailedException.h" />
     <Header path="../../../Common/MapGuideCommon/Exception/ConnectionNotOpenException.h" />



More information about the mapguide-commits mailing list