# HG changeset patch # User sl # Date 1408000379 -7200 # Node ID f442150ff735b3b58fd76ada5d42a0f2aefea806 # Parent bb8b0b9fa21b0413905387a5a9d9624ed332d4cb Adding interface project. diff -r bb8b0b9fa21b -r f442150ff735 Interface/Interface.cs --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Interface/Interface.cs Thu Aug 14 09:12:59 2014 +0200 @@ -0,0 +1,38 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using System.ServiceModel; +using System.Collections; + + +namespace SharpDisplayInterface +{ + + [ServiceContract(CallbackContract = typeof(IDisplayServiceCallback))] + public interface IDisplayService + { + [OperationContract(IsOneWay = true)] + void Connect(string aClientName); + + [OperationContract(IsOneWay = true)] + void SetText(int aLineIndex, string aText); + + [OperationContract(IsOneWay = true)] + void SetTexts(System.Collections.Generic.IList aTexts); + } + + + public interface IDisplayServiceCallback + { + [OperationContract(IsOneWay = true)] + void OnConnected(); + + [OperationContract(IsOneWay = true)] + void OnServerClosing(); + } + + + +} diff -r bb8b0b9fa21b -r f442150ff735 Interface/Properties/AssemblyInfo.cs --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Interface/Properties/AssemblyInfo.cs Thu Aug 14 09:12:59 2014 +0200 @@ -0,0 +1,36 @@ +using System.Reflection; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +// General Information about an assembly is controlled through the following +// set of attributes. Change these attribute values to modify the information +// associated with an assembly. +[assembly: AssemblyTitle("SharpDisplayInterface")] +[assembly: AssemblyDescription("")] +[assembly: AssemblyConfiguration("")] +[assembly: AssemblyCompany("")] +[assembly: AssemblyProduct("SharpDisplayInterface")] +[assembly: AssemblyCopyright("Copyright © 2014")] +[assembly: AssemblyTrademark("")] +[assembly: AssemblyCulture("")] + +// Setting ComVisible to false makes the types in this assembly not visible +// to COM components. If you need to access a type in this assembly from +// COM, set the ComVisible attribute to true on that type. +[assembly: ComVisible(false)] + +// The following GUID is for the ID of the typelib if this project is exposed to COM +[assembly: Guid("53136116-6621-4ac0-8a01-bf746674b192")] + +// Version information for an assembly consists of the following four values: +// +// Major Version +// Minor Version +// Build Number +// Revision +// +// You can specify all the values or you can default the Build and Revision Numbers +// by using the '*' as shown below: +// [assembly: AssemblyVersion("1.0.*")] +[assembly: AssemblyVersion("1.0.0.0")] +[assembly: AssemblyFileVersion("1.0.0.0")] diff -r bb8b0b9fa21b -r f442150ff735 Interface/SharpDisplayInterface.csproj --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Interface/SharpDisplayInterface.csproj Thu Aug 14 09:12:59 2014 +0200 @@ -0,0 +1,54 @@ + + + + + Debug + AnyCPU + {88EEE0DC-ABBC-4738-BAD6-7E08CF7F50F9} + Library + Properties + SharpDisplayInterface + SharpDisplayInterface + v4.5 + 512 + + + true + full + false + bin\Debug\ + DEBUG;TRACE + prompt + 4 + + + pdbonly + true + bin\Release\ + TRACE + prompt + 4 + + + + + + + + + + + + + + + + + + \ No newline at end of file