summaryrefslogtreecommitdiffstats
path: root/sca-cpp/tags/cpp-sca-20060405/samples/Calculator/CalculatorModule
diff options
context:
space:
mode:
authorjsdelfino <jsdelfino@13f79535-47bb-0310-9956-ffa450edef68>2009-11-16 06:37:38 +0000
committerjsdelfino <jsdelfino@13f79535-47bb-0310-9956-ffa450edef68>2009-11-16 06:37:38 +0000
commitd36c8e323a6f8df998edd185de8972dc5e6f87f0 (patch)
tree2a402b87f045e8066fcf7743e8654728977f6a8a /sca-cpp/tags/cpp-sca-20060405/samples/Calculator/CalculatorModule
parent034ecc7803559acdda5dd6c54ecc081665b19f61 (diff)
Cleaning up SVN structure, moving tag under sca-cpp/tags.
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@880619 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'sca-cpp/tags/cpp-sca-20060405/samples/Calculator/CalculatorModule')
-rw-r--r--sca-cpp/tags/cpp-sca-20060405/samples/Calculator/CalculatorModule/.cdtbuild42
-rw-r--r--sca-cpp/tags/cpp-sca-20060405/samples/Calculator/CalculatorModule/.cdtproject15
-rw-r--r--sca-cpp/tags/cpp-sca-20060405/samples/Calculator/CalculatorModule/.project19
-rw-r--r--sca-cpp/tags/cpp-sca-20060405/samples/Calculator/CalculatorModule/.settings/org.eclipse.cdt.managedbuilder.core.prefs6
-rw-r--r--sca-cpp/tags/cpp-sca-20060405/samples/Calculator/CalculatorModule/Calculator.h33
-rw-r--r--sca-cpp/tags/cpp-sca-20060405/samples/Calculator/CalculatorModule/CalculatorImpl.componentType10
-rw-r--r--sca-cpp/tags/cpp-sca-20060405/samples/Calculator/CalculatorModule/CalculatorImpl.cpp55
-rw-r--r--sca-cpp/tags/cpp-sca-20060405/samples/Calculator/CalculatorModule/CalculatorImpl.h39
-rw-r--r--sca-cpp/tags/cpp-sca-20060405/samples/Calculator/CalculatorModule/CalculatorModule.dsp138
-rw-r--r--sca-cpp/tags/cpp-sca-20060405/samples/Calculator/CalculatorModule/CalculatorModule.plg39
-rw-r--r--sca-cpp/tags/cpp-sca-20060405/samples/Calculator/CalculatorModule/Debug/makefile43
-rw-r--r--sca-cpp/tags/cpp-sca-20060405/samples/Calculator/CalculatorModule/Debug/objects.mk7
-rw-r--r--sca-cpp/tags/cpp-sca-20060405/samples/Calculator/CalculatorModule/Debug/sources.mk20
-rw-r--r--sca-cpp/tags/cpp-sca-20060405/samples/Calculator/CalculatorModule/Debug/subdir.mk35
-rw-r--r--sca-cpp/tags/cpp-sca-20060405/samples/Calculator/CalculatorModule/sca.module11
-rw-r--r--sca-cpp/tags/cpp-sca-20060405/samples/Calculator/CalculatorModule/sca.module.lin11
16 files changed, 523 insertions, 0 deletions
diff --git a/sca-cpp/tags/cpp-sca-20060405/samples/Calculator/CalculatorModule/.cdtbuild b/sca-cpp/tags/cpp-sca-20060405/samples/Calculator/CalculatorModule/.cdtbuild
new file mode 100644
index 0000000000..ca7fa895f1
--- /dev/null
+++ b/sca-cpp/tags/cpp-sca-20060405/samples/Calculator/CalculatorModule/.cdtbuild
@@ -0,0 +1,42 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<?fileVersion 3.0.0?>
+
+<ManagedProjectBuildInfo>
+<project id="CalculatorModule.cdt.managedbuild.target.gnu.so.2115154574" name="Shared Library (Gnu)" projectType="cdt.managedbuild.target.gnu.so">
+<configuration artifactExtension="so" artifactName="CalculatorModule" cleanCommand="rm -rf" description="" errorParsers="org.eclipse.cdt.core.MakeErrorParser;org.eclipse.cdt.core.GCCErrorParser;org.eclipse.cdt.core.GLDErrorParser;org.eclipse.cdt.core.GASErrorParser" id="cdt.managedbuild.config.gnu.so.debug.749943809" name="Debug" parent="cdt.managedbuild.config.gnu.so.debug">
+<toolChain id="cdt.managedbuild.toolchain.gnu.so.debug.747727954" name="GCC Tool Chain" superClass="cdt.managedbuild.toolchain.gnu.so.debug">
+<tool command="gcc" id="cdt.managedbuild.tool.gnu.c.compiler.so.debug.2096673794" name="GCC C Compiler" superClass="cdt.managedbuild.tool.gnu.c.compiler.so.debug"/>
+<tool command="g++" id="cdt.managedbuild.tool.gnu.cpp.compiler.so.debug.272459253" name="GCC C++ Compiler" superClass="cdt.managedbuild.tool.gnu.cpp.compiler.so.debug">
+<option id="gnu.cpp.compiler.option.preprocessor.def.1699183781" superClass="gnu.cpp.compiler.option.preprocessor.def" valueType="definedSymbols">
+<listOptionValue builtIn="false" value="_DEBUG"/>
+</option>
+<option id="gnu.cpp.compiler.option.include.paths.1309188567" superClass="gnu.cpp.compiler.option.include.paths" valueType="includePath">
+<listOptionValue builtIn="false" value="${SCA4CPP}/include"/>
+<listOptionValue builtIn="false" value="${SDO4CPP}/include"/>
+</option>
+</tool>
+<tool command="gcc" id="cdt.managedbuild.tool.gnu.c.linker.so.debug.309707091" name="GCC C Linker" superClass="cdt.managedbuild.tool.gnu.c.linker.so.debug"/>
+<tool command="g++" id="cdt.managedbuild.tool.gnu.cpp.linker.so.debug.1238966465" name="GCC C++ Linker" superClass="cdt.managedbuild.tool.gnu.cpp.linker.so.debug">
+<option id="gnu.cpp.link.option.libs.554536483" superClass="gnu.cpp.link.option.libs" valueType="libs">
+<listOptionValue builtIn="false" value="tuscany_sca"/>
+</option>
+<option id="gnu.cpp.link.option.paths.711270620" superClass="gnu.cpp.link.option.paths" valueType="stringList">
+<listOptionValue builtIn="false" value="${SCA4CPP}/lib"/>
+</option>
+</tool>
+<tool command="as" id="cdt.managedbuild.tool.gnu.assembler.so.debug.994221440" name="GCC Assembler" superClass="cdt.managedbuild.tool.gnu.assembler.so.debug"/>
+<macros/>
+</toolChain>
+</configuration>
+<configuration artifactExtension="so" artifactName="CalculatorModule" cleanCommand="rm -rf" description="" errorParsers="org.eclipse.cdt.core.MakeErrorParser;org.eclipse.cdt.core.GCCErrorParser;org.eclipse.cdt.core.GLDErrorParser;org.eclipse.cdt.core.GASErrorParser" id="cdt.managedbuild.config.gnu.so.release.1783471752" name="Release" parent="cdt.managedbuild.config.gnu.so.release">
+<toolChain id="cdt.managedbuild.toolchain.gnu.so.release.1347709342" name="GCC Tool Chain" superClass="cdt.managedbuild.toolchain.gnu.so.release">
+<tool id="cdt.managedbuild.tool.gnu.c.compiler.so.release.1942794586" name="GCC C Compiler" superClass="cdt.managedbuild.tool.gnu.c.compiler.so.release"/>
+<tool id="cdt.managedbuild.tool.gnu.cpp.compiler.so.release.206824555" name="GCC C++ Compiler" superClass="cdt.managedbuild.tool.gnu.cpp.compiler.so.release"/>
+<tool id="cdt.managedbuild.tool.gnu.c.linker.so.release.1131565167" name="GCC C Linker" superClass="cdt.managedbuild.tool.gnu.c.linker.so.release"/>
+<tool id="cdt.managedbuild.tool.gnu.cpp.linker.so.release.194271566" name="GCC C++ Linker" superClass="cdt.managedbuild.tool.gnu.cpp.linker.so.release"/>
+<tool id="cdt.managedbuild.tool.gnu.assembler.so.release.1863016598" name="GCC Assembler" superClass="cdt.managedbuild.tool.gnu.assembler.so.release"/>
+</toolChain>
+</configuration>
+<macros/>
+</project>
+</ManagedProjectBuildInfo>
diff --git a/sca-cpp/tags/cpp-sca-20060405/samples/Calculator/CalculatorModule/.cdtproject b/sca-cpp/tags/cpp-sca-20060405/samples/Calculator/CalculatorModule/.cdtproject
new file mode 100644
index 0000000000..48a12e6664
--- /dev/null
+++ b/sca-cpp/tags/cpp-sca-20060405/samples/Calculator/CalculatorModule/.cdtproject
@@ -0,0 +1,15 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<?eclipse-cdt version="2.0"?>
+
+<cdtproject id="org.eclipse.cdt.managedbuilder.core.managedMake">
+<extension id="org.eclipse.cdt.managedbuilder.core.ManagedBuildManager" point="org.eclipse.cdt.core.ScannerInfoProvider"/>
+<extension id="org.eclipse.cdt.core.ELF" point="org.eclipse.cdt.core.BinaryParser"/>
+<extension id="org.eclipse.cdt.core.domsourceindexer" point="org.eclipse.cdt.core.CIndexer"/>
+<data>
+<item id="org.eclipse.cdt.core.pathentry">
+<pathentry kind="src" path=""/>
+<pathentry kind="out" path=""/>
+<pathentry kind="con" path="org.eclipse.cdt.managedbuilder.MANAGED_CONTAINER"/>
+</item>
+</data>
+</cdtproject>
diff --git a/sca-cpp/tags/cpp-sca-20060405/samples/Calculator/CalculatorModule/.project b/sca-cpp/tags/cpp-sca-20060405/samples/Calculator/CalculatorModule/.project
new file mode 100644
index 0000000000..fa611e47c3
--- /dev/null
+++ b/sca-cpp/tags/cpp-sca-20060405/samples/Calculator/CalculatorModule/.project
@@ -0,0 +1,19 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<projectDescription>
+ <name>CalculatorModule</name>
+ <comment></comment>
+ <projects>
+ </projects>
+ <buildSpec>
+ <buildCommand>
+ <name>org.eclipse.cdt.managedbuilder.core.genmakebuilder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ </buildSpec>
+ <natures>
+ <nature>org.eclipse.cdt.core.cnature</nature>
+ <nature>org.eclipse.cdt.managedbuilder.core.managedBuildNature</nature>
+ <nature>org.eclipse.cdt.core.ccnature</nature>
+ </natures>
+</projectDescription>
diff --git a/sca-cpp/tags/cpp-sca-20060405/samples/Calculator/CalculatorModule/.settings/org.eclipse.cdt.managedbuilder.core.prefs b/sca-cpp/tags/cpp-sca-20060405/samples/Calculator/CalculatorModule/.settings/org.eclipse.cdt.managedbuilder.core.prefs
new file mode 100644
index 0000000000..415787c073
--- /dev/null
+++ b/sca-cpp/tags/cpp-sca-20060405/samples/Calculator/CalculatorModule/.settings/org.eclipse.cdt.managedbuilder.core.prefs
@@ -0,0 +1,6 @@
+#Tue Dec 13 10:02:34 GMT 2005
+eclipse.preferences.version=1
+environment/buildEnvironmentInclude/cdt.managedbuild.config.gnu.so.debug.749943809=<?xml version\="1.0" encoding\="UTF-8"?>\n<environment>\n<variable name\="CPATH" operation\="remove"/>\n<variable name\="CPLUS_INCLUDE_PATH" operation\="remove"/>\n</environment>\n
+environment/buildEnvironmentLibrary/cdt.managedbuild.config.gnu.so.debug.749943809=<?xml version\="1.0" encoding\="UTF-8"?>\n<environment>\n<variable name\="LIBRARY_PATH" operation\="remove"/>\n</environment>\n
+environment/project=<?xml version\="1.0" encoding\="UTF-8"?>\n<environment/>\n
+environment/project/cdt.managedbuild.config.gnu.so.debug.749943809=<?xml version\="1.0" encoding\="UTF-8"?>\n<environment/>\n
diff --git a/sca-cpp/tags/cpp-sca-20060405/samples/Calculator/CalculatorModule/Calculator.h b/sca-cpp/tags/cpp-sca-20060405/samples/Calculator/CalculatorModule/Calculator.h
new file mode 100644
index 0000000000..9284178d5f
--- /dev/null
+++ b/sca-cpp/tags/cpp-sca-20060405/samples/Calculator/CalculatorModule/Calculator.h
@@ -0,0 +1,33 @@
+/*
++----------------------------------------------------------------------+
+| (c) Copyright IBM Corporation 2005. |
+| All Rights Reserved. |
++----------------------------------------------------------------------+
+| |
+| Licensed 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. |
++----------------------------------------------------------------------+
+*/
+
+#ifndef CALCULATOR_H
+#define CALCULATOR_H
+class Calculator
+{
+public:
+ virtual float add(float arg1, float arg2) = 0;
+ virtual float sub(float arg1, float arg2) = 0;
+ virtual float mul(float arg1, float arg2) = 0;
+ virtual float div(float arg1, float arg2) = 0;
+};
+
+#endif
+
+
diff --git a/sca-cpp/tags/cpp-sca-20060405/samples/Calculator/CalculatorModule/CalculatorImpl.componentType b/sca-cpp/tags/cpp-sca-20060405/samples/Calculator/CalculatorModule/CalculatorImpl.componentType
new file mode 100644
index 0000000000..2033f431bb
--- /dev/null
+++ b/sca-cpp/tags/cpp-sca-20060405/samples/Calculator/CalculatorModule/CalculatorImpl.componentType
@@ -0,0 +1,10 @@
+<?xml version="1.0" encoding="ASCII"?>
+<componentType xmlns="http://www.osoa.org/xmlns/sca/0.9"
+ xmlns:xs="http://www.w3.org/2001/XMLSchema">
+
+ <service name="CalculatorService">
+ <interface.cpp header="Calculator.h">
+ </interface.cpp>
+ </service>
+
+</componentType> \ No newline at end of file
diff --git a/sca-cpp/tags/cpp-sca-20060405/samples/Calculator/CalculatorModule/CalculatorImpl.cpp b/sca-cpp/tags/cpp-sca-20060405/samples/Calculator/CalculatorModule/CalculatorImpl.cpp
new file mode 100644
index 0000000000..96bd363167
--- /dev/null
+++ b/sca-cpp/tags/cpp-sca-20060405/samples/Calculator/CalculatorModule/CalculatorImpl.cpp
@@ -0,0 +1,55 @@
+/*
++----------------------------------------------------------------------+
+| (c) Copyright IBM Corporation 2005. |
+| All Rights Reserved. |
++----------------------------------------------------------------------+
+| |
+| Licensed 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. |
++----------------------------------------------------------------------+
+*/
+
+#include "CalculatorImpl.h"
+
+CalculatorImpl::CalculatorImpl()
+{
+}
+
+CalculatorImpl::~CalculatorImpl()
+{
+}
+
+// Calculator interface
+float CalculatorImpl::add(float arg1, float arg2)
+{
+ float result = arg1 + arg2;
+ return result;
+}
+
+float CalculatorImpl::sub(float arg1, float arg2)
+{
+ float result = arg1 - arg2;
+ return result;
+}
+
+float CalculatorImpl::mul(float arg1, float arg2)
+{
+ float result = arg1 * arg2;
+ return result;
+}
+
+float CalculatorImpl::div(float arg1, float arg2)
+{
+ float result = arg1 / arg2;
+ return result;
+}
+
+
diff --git a/sca-cpp/tags/cpp-sca-20060405/samples/Calculator/CalculatorModule/CalculatorImpl.h b/sca-cpp/tags/cpp-sca-20060405/samples/Calculator/CalculatorModule/CalculatorImpl.h
new file mode 100644
index 0000000000..38570aae28
--- /dev/null
+++ b/sca-cpp/tags/cpp-sca-20060405/samples/Calculator/CalculatorModule/CalculatorImpl.h
@@ -0,0 +1,39 @@
+/*
++----------------------------------------------------------------------+
+| (c) Copyright IBM Corporation 2005. |
+| All Rights Reserved. |
++----------------------------------------------------------------------+
+| |
+| Licensed 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. |
++----------------------------------------------------------------------+
+*/
+
+#ifndef CALCULATORIMPL_H
+#define CALCULATORIMPL_H
+
+#include "Calculator.h"
+
+class CalculatorImpl : public Calculator
+{
+public:
+ CalculatorImpl();
+ virtual ~CalculatorImpl();
+
+ // Calculator interface
+ virtual float add(float arg1, float arg2);
+ virtual float sub(float arg1, float arg2);
+ virtual float mul(float arg1, float arg2);
+ virtual float div(float arg1, float arg2);
+};
+
+#endif
+
diff --git a/sca-cpp/tags/cpp-sca-20060405/samples/Calculator/CalculatorModule/CalculatorModule.dsp b/sca-cpp/tags/cpp-sca-20060405/samples/Calculator/CalculatorModule/CalculatorModule.dsp
new file mode 100644
index 0000000000..43c6bfc044
--- /dev/null
+++ b/sca-cpp/tags/cpp-sca-20060405/samples/Calculator/CalculatorModule/CalculatorModule.dsp
@@ -0,0 +1,138 @@
+# Microsoft Developer Studio Project File - Name="CalculatorModule" - Package Owner=<4>
+# Microsoft Developer Studio Generated Build File, Format Version 6.00
+# ** DO NOT EDIT **
+
+# TARGTYPE "Win32 (x86) Dynamic-Link Library" 0x0102
+
+CFG=CalculatorModule - Win32 Debug
+!MESSAGE This is not a valid makefile. To build this project using NMAKE,
+!MESSAGE use the Export Makefile command and run
+!MESSAGE
+!MESSAGE NMAKE /f "CalculatorModule.mak".
+!MESSAGE
+!MESSAGE You can specify a configuration when running NMAKE
+!MESSAGE by defining the macro CFG on the command line. For example:
+!MESSAGE
+!MESSAGE NMAKE /f "CalculatorModule.mak" CFG="CalculatorModule - Win32 Debug"
+!MESSAGE
+!MESSAGE Possible choices for configuration are:
+!MESSAGE
+!MESSAGE "CalculatorModule - Win32 Release" (based on "Win32 (x86) Dynamic-Link Library")
+!MESSAGE "CalculatorModule - Win32 Debug" (based on "Win32 (x86) Dynamic-Link Library")
+!MESSAGE
+
+# Begin Project
+# PROP AllowPerConfigDependencies 0
+# PROP Scc_ProjName ""
+# PROP Scc_LocalPath ""
+CPP=cl.exe
+MTL=midl.exe
+RSC=rc.exe
+
+!IF "$(CFG)" == "CalculatorModule - Win32 Release"
+
+# PROP BASE Use_MFC 0
+# PROP BASE Use_Debug_Libraries 0
+# PROP BASE Output_Dir "Release"
+# PROP BASE Intermediate_Dir "Release"
+# PROP BASE Target_Dir ""
+# PROP Use_MFC 0
+# PROP Use_Debug_Libraries 0
+# PROP Output_Dir "Release"
+# PROP Intermediate_Dir "Release"
+# PROP Target_Dir ""
+# ADD BASE CPP /nologo /MT /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /D "_MBCS" /D "_USRDLL" /D "CALCULATORMODULE_EXPORTS" /YX /FD /c
+# ADD CPP /nologo /MT /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /D "_MBCS" /D "_USRDLL" /D "CALCULATORMODULE_EXPORTS" /YX /FD /c
+# ADD BASE MTL /nologo /D "NDEBUG" /mktyplib203 /win32
+# ADD MTL /nologo /D "NDEBUG" /mktyplib203 /win32
+# ADD BASE RSC /l 0x809 /d "NDEBUG"
+# ADD RSC /l 0x809 /d "NDEBUG"
+BSC32=bscmake.exe
+# ADD BASE BSC32 /nologo
+# ADD BSC32 /nologo
+LINK32=link.exe
+# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /dll /machine:I386
+# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /dll /machine:I386
+
+!ELSEIF "$(CFG)" == "CalculatorModule - Win32 Debug"
+
+# PROP BASE Use_MFC 0
+# PROP BASE Use_Debug_Libraries 1
+# PROP BASE Output_Dir "Debug"
+# PROP BASE Intermediate_Dir "Debug"
+# PROP BASE Target_Dir ""
+# PROP Use_MFC 0
+# PROP Use_Debug_Libraries 1
+# PROP Output_Dir "Debug"
+# PROP Intermediate_Dir "Debug"
+# PROP Ignore_Export_Lib 0
+# PROP Target_Dir ""
+# ADD BASE CPP /nologo /MTd /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /D "_MBCS" /D "_USRDLL" /D "CALCULATORMODULE_EXPORTS" /YX /FD /GZ /c
+# ADD CPP /nologo /MDd /W3 /Gm /GX /ZI /I "$(SDO4CPP)/include" /I "$(SCA4CPP)/include" /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /D "_MBCS" /D "_USRDLL" /D "CALCULATORMODULE_EXPORTS" /YX /FD /GZ /c
+# ADD BASE MTL /nologo /D "_DEBUG" /mktyplib203 /win32
+# ADD MTL /nologo /D "_DEBUG" /mktyplib203 /win32
+# ADD BASE RSC /l 0x809 /d "_DEBUG"
+# ADD RSC /l 0x809 /d "_DEBUG"
+BSC32=bscmake.exe
+# ADD BASE BSC32 /nologo
+# ADD BSC32 /nologo
+LINK32=link.exe
+# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /dll /debug /machine:I386 /pdbtype:sept
+# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib tuscany_sca.lib tuscany_sdo.lib /nologo /dll /debug /machine:I386 /pdbtype:sept /libpath:"$(SDO4CPP)/lib" /libpath:"$(SCA4CPP)/lib"
+
+!ENDIF
+
+# Begin Target
+
+# Name "CalculatorModule - Win32 Release"
+# Name "CalculatorModule - Win32 Debug"
+# Begin Group "Source Files"
+
+# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat"
+# Begin Source File
+
+SOURCE=.\CalculatorImpl.cpp
+# End Source File
+# Begin Source File
+
+SOURCE=.\CalculatorImpl_CalculatorService_Proxy.cpp
+# End Source File
+# Begin Source File
+
+SOURCE=.\CalculatorImpl_CalculatorService_Wrapper.cpp
+# End Source File
+# End Group
+# Begin Group "Header Files"
+
+# PROP Default_Filter "h;hpp;hxx;hm;inl"
+# Begin Source File
+
+SOURCE=.\Calculator.h
+# End Source File
+# Begin Source File
+
+SOURCE=.\CalculatorImpl.h
+# End Source File
+# Begin Source File
+
+SOURCE=.\CalculatorImpl_CalculatorService_Proxy.h
+# End Source File
+# Begin Source File
+
+SOURCE=.\CalculatorImpl_CalculatorService_Wrapper.h
+# End Source File
+# End Group
+# Begin Group "Resource Files"
+
+# PROP Default_Filter "ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;module;componentType;fragment"
+# Begin Source File
+
+SOURCE=.\CalculatorImpl.componentType
+# End Source File
+# Begin Source File
+
+SOURCE=.\sca.module
+# End Source File
+# End Group
+# End Target
+# End Project
diff --git a/sca-cpp/tags/cpp-sca-20060405/samples/Calculator/CalculatorModule/CalculatorModule.plg b/sca-cpp/tags/cpp-sca-20060405/samples/Calculator/CalculatorModule/CalculatorModule.plg
new file mode 100644
index 0000000000..33016bffaf
--- /dev/null
+++ b/sca-cpp/tags/cpp-sca-20060405/samples/Calculator/CalculatorModule/CalculatorModule.plg
@@ -0,0 +1,39 @@
+<html>
+<body>
+<pre>
+<h1>Build Log</h1>
+<h3>
+--------------------Configuration: CalculatorModule - Win32 Debug--------------------
+</h3>
+<h3>Command Lines</h3>
+Creating temporary file "C:\DOCUME~1\winadmin\LOCALS~1\Temp\RSP7D.tmp" with contents
+[
+/nologo /MDd /W3 /Gm /GX /ZI /I "D:\Development\tuscany\cpp\sdo/include" /I "D:\Development\tuscany\cpp\sca/include" /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /D "_MBCS" /D "_USRDLL" /D "CALCULATORMODULE_EXPORTS" /Fp"Debug/CalculatorModule.pch" /YX /Fo"Debug/" /Fd"Debug/" /FD /GZ /c
+"D:\Development\tuscany\cpp\sca\samples\Calculator\CalculatorModule\CalculatorImpl.cpp"
+"D:\Development\tuscany\cpp\sca\samples\Calculator\CalculatorModule\CalculatorImpl_CalculatorService_Proxy.cpp"
+"D:\Development\tuscany\cpp\sca\samples\Calculator\CalculatorModule\CalculatorImpl_CalculatorService_Wrapper.cpp"
+]
+Creating command line "cl.exe @C:\DOCUME~1\winadmin\LOCALS~1\Temp\RSP7D.tmp"
+Creating temporary file "C:\DOCUME~1\winadmin\LOCALS~1\Temp\RSP7E.tmp" with contents
+[
+kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib tuscany_sca.lib tuscany_sdo.lib /nologo /dll /incremental:yes /pdb:"Debug/CalculatorModule.pdb" /debug /machine:I386 /out:"Debug/CalculatorModule.dll" /implib:"Debug/CalculatorModule.lib" /pdbtype:sept /libpath:"D:\Development\tuscany\cpp\sdo/lib" /libpath:"D:\Development\tuscany\cpp\sca/lib"
+.\Debug\CalculatorImpl.obj
+.\Debug\CalculatorImpl_CalculatorService_Proxy.obj
+.\Debug\CalculatorImpl_CalculatorService_Wrapper.obj
+]
+Creating command line "link.exe @C:\DOCUME~1\winadmin\LOCALS~1\Temp\RSP7E.tmp"
+<h3>Output Window</h3>
+Compiling...
+CalculatorImpl.cpp
+CalculatorImpl_CalculatorService_Proxy.cpp
+CalculatorImpl_CalculatorService_Wrapper.cpp
+Linking...
+ Creating library Debug/CalculatorModule.lib and object Debug/CalculatorModule.exp
+
+
+
+<h3>Results</h3>
+CalculatorModule.dll - 0 error(s), 0 warning(s)
+</pre>
+</body>
+</html>
diff --git a/sca-cpp/tags/cpp-sca-20060405/samples/Calculator/CalculatorModule/Debug/makefile b/sca-cpp/tags/cpp-sca-20060405/samples/Calculator/CalculatorModule/Debug/makefile
new file mode 100644
index 0000000000..1e7f19fce8
--- /dev/null
+++ b/sca-cpp/tags/cpp-sca-20060405/samples/Calculator/CalculatorModule/Debug/makefile
@@ -0,0 +1,43 @@
+################################################################################
+# Automatically-generated file. Do not edit!
+################################################################################
+
+ROOT := ..
+
+-include $(ROOT)/makefile.init
+
+RM := rm -rf
+
+# All of the sources participating in the build are defined here
+-include sources.mk
+-include $(SUBDIRS:%=%/subdir.mk)
+-include objects.mk
+ifneq ($(strip $(DEPS)),)
+-include $(DEPS)
+endif
+
+-include $(ROOT)/makefile.defs
+
+# Add inputs and outputs from these tool invocations to the build variables
+
+# All Target
+all: libCalculatorModule.so
+
+# Tool invocations
+libCalculatorModule.so: $(OBJS) $(USER_OBJS)
+ @echo 'Building target: $@'
+ @echo 'Invoking: GCC C++ Linker'
+ @echo g++ -L${SCA4CPP}/lib -shared -olibCalculatorModule.so $(OBJS) $(USER_OBJS) $(LIBS)
+ @g++ -L${SCA4CPP}/lib -shared -olibCalculatorModule.so $(OBJS) $(USER_OBJS) $(LIBS)
+ @echo 'Finished building target: $@'
+ @echo ' '
+
+# Other Targets
+clean:
+ -$(RM) $(OBJS)$(DEPS)$(LIBRARIES) libCalculatorModule.so
+ -@echo ' '
+
+.PHONY: all clean dependents
+.SECONDARY:
+
+-include $(ROOT)/makefile.targets
diff --git a/sca-cpp/tags/cpp-sca-20060405/samples/Calculator/CalculatorModule/Debug/objects.mk b/sca-cpp/tags/cpp-sca-20060405/samples/Calculator/CalculatorModule/Debug/objects.mk
new file mode 100644
index 0000000000..fbdb88403a
--- /dev/null
+++ b/sca-cpp/tags/cpp-sca-20060405/samples/Calculator/CalculatorModule/Debug/objects.mk
@@ -0,0 +1,7 @@
+################################################################################
+# Automatically-generated file. Do not edit!
+################################################################################
+
+LIBS := -ltuscany_sca
+
+USER_OBJS := \ No newline at end of file
diff --git a/sca-cpp/tags/cpp-sca-20060405/samples/Calculator/CalculatorModule/Debug/sources.mk b/sca-cpp/tags/cpp-sca-20060405/samples/Calculator/CalculatorModule/Debug/sources.mk
new file mode 100644
index 0000000000..8f0795952f
--- /dev/null
+++ b/sca-cpp/tags/cpp-sca-20060405/samples/Calculator/CalculatorModule/Debug/sources.mk
@@ -0,0 +1,20 @@
+################################################################################
+# Automatically-generated file. Do not edit!
+################################################################################
+
+C_UPPER_SRCS :=
+CPP_SRCS :=
+O_SRCS :=
+ASM_SRCS :=
+S_SRCS :=
+CXX_SRCS :=
+CC_SRCS :=
+OBJ_SRCS :=
+OBJS :=
+DEPS :=
+LIBRARIES :=
+
+# Every subdirectory with source files must be described here
+SUBDIRS := \
+. \
+
diff --git a/sca-cpp/tags/cpp-sca-20060405/samples/Calculator/CalculatorModule/Debug/subdir.mk b/sca-cpp/tags/cpp-sca-20060405/samples/Calculator/CalculatorModule/Debug/subdir.mk
new file mode 100644
index 0000000000..dd98e3ddc6
--- /dev/null
+++ b/sca-cpp/tags/cpp-sca-20060405/samples/Calculator/CalculatorModule/Debug/subdir.mk
@@ -0,0 +1,35 @@
+################################################################################
+# Automatically-generated file. Do not edit!
+################################################################################
+
+# Add inputs and outputs from these tool invocations to the build variables
+CPP_SRCS += \
+$(ROOT)/CalculatorImpl.cpp \
+$(ROOT)/CalculatorImpl_CalculatorService_Proxy.cpp \
+$(ROOT)/CalculatorImpl_CalculatorService_Wrapper.cpp
+
+OBJS += \
+./CalculatorImpl.o \
+./CalculatorImpl_CalculatorService_Proxy.o \
+./CalculatorImpl_CalculatorService_Wrapper.o
+
+DEPS += \
+${addprefix ./, \
+CalculatorImpl.d \
+CalculatorImpl_CalculatorService_Proxy.d \
+CalculatorImpl_CalculatorService_Wrapper.d \
+}
+
+
+# Each subdirectory must supply rules for building sources it contributes
+%.o: $(ROOT)/%.cpp
+ @echo 'Building file: $<'
+ @echo 'Invoking: GCC C++ Compiler'
+ @echo g++ -D_DEBUG -I${SCA4CPP}/include -I${SDO4CPP}/include -O0 -g3 -Wall -c -fmessage-length=0 -o$@ $<
+ @g++ -D_DEBUG -I${SCA4CPP}/include -I${SDO4CPP}/include -O0 -g3 -Wall -c -fmessage-length=0 -o$@ $< && \
+ echo -n $(@:%.o=%.d) $(dir $@) > $(@:%.o=%.d) && \
+ g++ -MM -MG -P -w -D_DEBUG -I${SCA4CPP}/include -I${SDO4CPP}/include -O0 -g3 -Wall -c -fmessage-length=0 $< >> $(@:%.o=%.d)
+ @echo 'Finished building: $<'
+ @echo ' '
+
+
diff --git a/sca-cpp/tags/cpp-sca-20060405/samples/Calculator/CalculatorModule/sca.module b/sca-cpp/tags/cpp-sca-20060405/samples/Calculator/CalculatorModule/sca.module
new file mode 100644
index 0000000000..c000e57411
--- /dev/null
+++ b/sca-cpp/tags/cpp-sca-20060405/samples/Calculator/CalculatorModule/sca.module
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="ASCII"?>
+<module xmlns="http://www.osoa.org/xmlns/sca/0.9"
+ xmlns:v="http://www.osoa.org/xmlns/sca/values/0.9"
+ name="CalculatorModule">
+
+ <component name="CalculatorServiceComponent">
+ <implementation.cpp dll="CalculatorModule.dll" header="CalculatorImpl.h"></implementation.cpp>
+ <properties> </properties>
+ <references> </references>
+ </component>
+</module> \ No newline at end of file
diff --git a/sca-cpp/tags/cpp-sca-20060405/samples/Calculator/CalculatorModule/sca.module.lin b/sca-cpp/tags/cpp-sca-20060405/samples/Calculator/CalculatorModule/sca.module.lin
new file mode 100644
index 0000000000..2298b5910f
--- /dev/null
+++ b/sca-cpp/tags/cpp-sca-20060405/samples/Calculator/CalculatorModule/sca.module.lin
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="ASCII"?>
+<module xmlns="http://www.osoa.org/xmlns/sca/0.9"
+ xmlns:v="http://www.osoa.org/xmlns/sca/values/0.9"
+ name="CalculatorModule">
+
+ <component name="CalculatorServiceComponent">
+ <implementation.cpp dll="libCalculatorModule.so" header="CalculatorImpl.h"></implementation.cpp>
+ <properties> </properties>
+ <references> </references>
+ </component>
+</module> \ No newline at end of file