-
-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
15 changed files
with
56 additions
and
133 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
28 changes: 0 additions & 28 deletions
28
tests/Shmuelie.WinRTServer.Sample.Interfaces/IRemoteThing.cs
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
14 changes: 0 additions & 14 deletions
14
tests/Shmuelie.WinRTServer.Sample.Interfaces/Shmuelie.WinRTServer.Sample.Interfaces.csproj
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,64 @@ | ||
namespace Shmuelie.WinRTServer.Sample | ||
{ | ||
runtimeclass RemoteThing : [default] Shmuelie.WinRTServer.Sample.Interfaces.IRemoteThing | ||
struct LoopProgress | ||
{ | ||
RemoteThing(); | ||
} | ||
Int32 Count; | ||
Int32 Total; | ||
}; | ||
|
||
struct ListProgress | ||
{ | ||
Int32 Count; | ||
Int32 Total; | ||
Int32 Last; | ||
}; | ||
|
||
struct ListOptions | ||
{ | ||
Int32 Count; | ||
Int32 DelayTicks; | ||
}; | ||
|
||
[uuid(2474f7c0-9db1-4f4f-b614-dc5a89050b65)] | ||
interface IInput | ||
{ | ||
String Name { get; set; }; | ||
String Description { get; set; }; | ||
}; | ||
|
||
runtimeclass Input : [default] Shmuelie.WinRTServer.Sample.Interfaces.IInput | ||
[uuid(2474f7c0-9db1-4f4f-b614-dc5a89050b66)] | ||
interface ITimes | ||
{ | ||
String NameAndDescription { get; }; | ||
Windows.Foundation.DateTime UtcNow { get; }; | ||
Windows.Foundation.DateTime LocalNow { get; }; | ||
}; | ||
|
||
[uuid(2474f7c0-9db1-4f4f-b614-dc5a89050b64)] | ||
interface IRemoteThing | ||
{ | ||
Int32 Rem(Int32 a, Int32 b); | ||
Windows.Foundation.IAsyncAction DelayAsync(Int32 ticks); | ||
Windows.Foundation.IAsyncActionWithProgress<LoopProgress> LoopAsync(Int32 total); | ||
Windows.Foundation.IAsyncOperationWithProgress<Windows.Foundation.Collections.IVectorView<Int32>, ListProgress> GenerateListAsync(ListOptions options); | ||
event Windows.Foundation.TypedEventHandler<IRemoteThing, Object> LoopCompleted; | ||
Windows.Foundation.DateTime NowUtc { get; }; | ||
Windows.Storage.Streams.IInputStream OpenFile(String path); | ||
ITimes GetTimes(IInput input); | ||
}; | ||
|
||
runtimeclass Input : [default]IInput | ||
{ | ||
Input(); | ||
} | ||
}; | ||
|
||
runtimeclass Times : [default] Shmuelie.WinRTServer.Sample.Interfaces.ITimes | ||
runtimeclass Times : [default]ITimes | ||
{ | ||
Times(); | ||
} | ||
}; | ||
|
||
runtimeclass RemoteThing : [default]IRemoteThing | ||
{ | ||
RemoteThing(); | ||
}; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters