26 lines
657 B
C#
26 lines
657 B
C#
using System;
|
|
using Oculus.Platform.Models;
|
|
|
|
namespace Oculus.Platform
|
|
{
|
|
public class MessageWithCalApplicationSuggestionList : Message<CalApplicationSuggestionList>
|
|
{
|
|
public MessageWithCalApplicationSuggestionList(IntPtr c_message)
|
|
: base(c_message)
|
|
{
|
|
}
|
|
|
|
public override CalApplicationSuggestionList GetCalApplicationSuggestionList()
|
|
{
|
|
return base.Data;
|
|
}
|
|
|
|
protected override CalApplicationSuggestionList GetDataFromMessage(IntPtr c_message)
|
|
{
|
|
IntPtr obj = CAPI.ovr_Message_GetNativeMessage(c_message);
|
|
IntPtr a = CAPI.ovr_Message_GetCalApplicationSuggestionArray(obj);
|
|
return new CalApplicationSuggestionList(a);
|
|
}
|
|
}
|
|
}
|