Author: jsdelfino
Date: Wed Nov 29 09:30:26 2006
New Revision: 480643

URL: http://svn.apache.org/viewvc?view=rev&rev=480643
Log:
Changed the REST interface qname public (like the other ones) to allow bindings 
to use that qname.

Added:
    
incubator/tuscany/cpp/sca/runtime/extensions/rest/interface/src/tuscany/sca/rest/exportinterface.h
   (with props)
Modified:
    
incubator/tuscany/cpp/sca/runtime/extensions/rest/interface/src/tuscany/sca/rest/model/RESTInterface.h

Added: 
incubator/tuscany/cpp/sca/runtime/extensions/rest/interface/src/tuscany/sca/rest/exportinterface.h
URL: 
http://svn.apache.org/viewvc/incubator/tuscany/cpp/sca/runtime/extensions/rest/interface/src/tuscany/sca/rest/exportinterface.h?view=auto&rev=480643
==============================================================================
--- 
incubator/tuscany/cpp/sca/runtime/extensions/rest/interface/src/tuscany/sca/rest/exportinterface.h
 (added)
+++ 
incubator/tuscany/cpp/sca/runtime/extensions/rest/interface/src/tuscany/sca/rest/exportinterface.h
 Wed Nov 29 09:30:26 2006
@@ -0,0 +1,38 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ * 
+ *   http://www.apache.org/licenses/LICENSE-2.0
+ *   
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+
+/* $Rev$ $Date$ */
+
+#ifndef tuscany_sca_rest_exportinterface_h
+#define tuscany_sca_rest_exportinterface_h
+
+#if defined(WIN32)  || defined (_WINDOWS)
+#pragma warning(disable: 4786)
+
+#ifdef TUSCANY_SCA_REST_INTERFACE_EXPORTS
+#define SCA_REST_INTERFACE_API __declspec(dllexport)
+#else
+#define SCA_REST_INTERFACE_API __declspec(dllimport)
+#endif
+
+#else
+#define SCA_REST_INTERFACE_API 
+#endif
+
+#endif // tuscany_sca_rest_exportinterface_h

Propchange: 
incubator/tuscany/cpp/sca/runtime/extensions/rest/interface/src/tuscany/sca/rest/exportinterface.h
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: 
incubator/tuscany/cpp/sca/runtime/extensions/rest/interface/src/tuscany/sca/rest/exportinterface.h
------------------------------------------------------------------------------
    svn:keywords = Rev Date

Modified: 
incubator/tuscany/cpp/sca/runtime/extensions/rest/interface/src/tuscany/sca/rest/model/RESTInterface.h
URL: 
http://svn.apache.org/viewvc/incubator/tuscany/cpp/sca/runtime/extensions/rest/interface/src/tuscany/sca/rest/model/RESTInterface.h?view=diff&rev=480643&r1=480642&r2=480643
==============================================================================
--- 
incubator/tuscany/cpp/sca/runtime/extensions/rest/interface/src/tuscany/sca/rest/model/RESTInterface.h
 (original)
+++ 
incubator/tuscany/cpp/sca/runtime/extensions/rest/interface/src/tuscany/sca/rest/model/RESTInterface.h
 Wed Nov 29 09:30:26 2006
@@ -23,6 +23,7 @@
 #define tuscany_sca_rest_model_restinterface_h
 
 #include "tuscany/sca/model/Interface.h"
+#include "tuscany/sca/rest/exportinterface.h"
 
 #include <map>
 using std::map;
@@ -66,12 +67,13 @@
                 */
                 virtual const string& getInterfaceTypeQName() { return 
typeQName; };
     
-           private:
-           
                 /**
                  * The QName of the schema type for this interface type.
                  */
-                static const string typeQName;
+                SCA_REST_INTERFACE_API static const string typeQName;
+                
+            private:
+            
             };
             
         } // End namespace rest



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to