internal static extern int CreateAlarmOnceAfterDelay(SafeAppControlHandle appControl, int delay, out int alarmId);
[DllImport(Libraries.Alarm, EntryPoint = "alarm_schedule_once_at_date")]
- internal static extern int CreateAlarmOnceAtDate(SafeAppControlHandle appControl, DateTime date, out int alarmId);
+ internal static extern int CreateAlarmOnceAtDate(SafeAppControlHandle appControl, ref DateTime date, out int alarmId);
[DllImport(Libraries.Alarm, EntryPoint = "alarm_schedule_with_recurrence_week_flag")]
- internal static extern int CreateAlarmRecurWeek(SafeAppControlHandle appControl, DateTime date, int week, out int alarmId);
+ internal static extern int CreateAlarmRecurWeek(SafeAppControlHandle appControl, ref DateTime date, int week, out int alarmId);
[DllImport(Libraries.Alarm, EntryPoint = "alarm_get_scheduled_recurrence_week_flag")]
internal static extern int GetAlarmWeekFlag(int alarmId, out int weekFlag);
{
"dependencies": {
- "Tizen": "1.0.1"
+ "Tizen": "1.0.2"
},
"frameworks": {
"net45": {}
<metadata>
<id>Tizen.Applications</id>
<version>$version$</version>
- <authors>tizen</authors>
+ <authors>Samsung Electronics</authors>
<requireLicenseAcceptance>false</requireLicenseAcceptance>
<licenseUrl>https://www.apache.org/licenses/LICENSE-2.0</licenseUrl>
<projectUrl>https://www.tizen.org/</projectUrl>
<copyright>© Samsung Electronics Co., Ltd All Rights Reserved</copyright>
<description>Provides the Application Frameworks API for Tizen.Net</description>
<dependencies>
- <dependency id="Tizen" version="1.0.1" />
+ <dependency id="Tizen" version="1.0.2" />
</dependencies>
</metadata>
<files>
{
"dependencies": {
"NETStandard.Library": "1.6.0",
- "Tizen": "1.0.1"
+ "Tizen": "1.0.2"
},
"frameworks": {
"netstandard1.3": {}
Alarm alarm = null;
int alarmId;
Interop.Alarm.DateTime time = ConvertDateTimeToStruct(value);
- AlarmError ret = (AlarmError)Interop.Alarm.CreateAlarmOnceAtDate(appControl.SafeAppControlHandle, time, out alarmId);
+ AlarmError ret = (AlarmError)Interop.Alarm.CreateAlarmOnceAtDate(appControl.SafeAppControlHandle, ref time, out alarmId);
alarm = new Alarm(alarmId);
if (ret != AlarmError.None)
{
Alarm alarm = null;
int alarmId;
Interop.Alarm.DateTime time = ConvertDateTimeToStruct(value);
- AlarmError ret = (AlarmError)Interop.Alarm.CreateAlarmRecurWeek(appControl.SafeAppControlHandle, time, (int)weekFlag, out alarmId);
+ AlarmError ret = (AlarmError)Interop.Alarm.CreateAlarmRecurWeek(appControl.SafeAppControlHandle, ref time, (int)weekFlag, out alarmId);
alarm = new Alarm(alarmId);
if (ret != AlarmError.None)
{
%{!?dotnet_assembly_path: %define dotnet_assembly_path /opt/usr/share/dotnet.tizen/framework}
+%{!?mono_assembly_path: %define mono_assembly_path /opt/usr/lib/assembly}
%if 0%{?tizen_build_devel_mode}
%define BUILDCONF Debug
Source1: %{name}.manifest
AutoReqProv: no
+ExcludeArch: %{ix86} aarch64
BuildRequires: mono-compiler
BuildRequires: mono-devel
%install
# Runtime Binary
mkdir -p %{buildroot}%{dotnet_assembly_path}
+mkdir -p %{buildroot}%{mono_assembly_path}
for ASM in %{Assemblies}; do
%if 0%{?_with_corefx}
install -p -m 644 $ASM/bin/%{BUILDCONF}/$ASM.dll %{buildroot}%{dotnet_assembly_path}
%else
install -p -m 644 $ASM/bin/%{BUILDCONF}/Net45/$ASM.dll %{buildroot}%{dotnet_assembly_path}
%endif
+install -p -m 644 $ASM/bin/%{BUILDCONF}/Net45/$ASM.dll %{buildroot}%{mono_assembly_path}
done
# NuGet
mkdir -p %{buildroot}/nuget
%files nuget
/nuget/*.nupkg
+
+%package mono
+Summary: %{name} for Mono Runtime
+Group: Development/Libraries
+
+%description mono
+%{name} for Mono Runtime
+
+%files mono
+%manifest %{name}.manifest
+%license LICENSE
+%attr(644,root,root) %{mono_assembly_path}/*.dll