Initial commit
authorLukasz Stanislawski <l.stanislaws@samsung.com>
Tue, 25 Feb 2020 11:58:06 +0000 (12:58 +0100)
committerLukasz Stanislawski <l.stanislaws@samsung.com>
Tue, 25 Feb 2020 11:58:06 +0000 (12:58 +0100)
21 files changed:
.gitignore [new file with mode: 0644]
Oobe/Oobe.sln [new file with mode: 0644]
Oobe/Oobe/Oobe.cs [new file with mode: 0644]
Oobe/Oobe/Oobe.csproj [new file with mode: 0644]
Oobe/Oobe/shared/res/Oobe.png [new file with mode: 0644]
Oobe/Oobe/tizen-manifest.xml [new file with mode: 0644]
Oobe/OobeCommon/Interfaces/IProcessNavigation.cs [new file with mode: 0644]
Oobe/OobeCommon/Interfaces/ProcessInfo.cs [new file with mode: 0644]
Oobe/OobeCommon/Interfaces/ProcessStep.cs [new file with mode: 0644]
Oobe/OobeCommon/OobeCommon.csproj [new file with mode: 0644]
Oobe/OobeLanguage/LanguageStep.cs [new file with mode: 0644]
Oobe/OobeLanguage/OobeLanguage.csproj [new file with mode: 0644]
Oobe/OobeRegion/Class1.cs [new file with mode: 0644]
Oobe/OobeRegion/OobeRegion.csproj [new file with mode: 0644]
Oobe/OobeTerms/Class1.cs [new file with mode: 0644]
Oobe/OobeTerms/OobeTerms.csproj [new file with mode: 0644]
Oobe/OobeWelcome/Class1.cs [new file with mode: 0644]
Oobe/OobeWelcome/OobeWelcome.csproj [new file with mode: 0644]
Oobe/OobeWifi/Class1.cs [new file with mode: 0644]
Oobe/OobeWifi/OobeWifi.csproj [new file with mode: 0644]
README.md [new file with mode: 0644]

diff --git a/.gitignore b/.gitignore
new file mode 100644 (file)
index 0000000..3c4efe2
--- /dev/null
@@ -0,0 +1,261 @@
+## Ignore Visual Studio temporary files, build results, and
+## files generated by popular Visual Studio add-ons.
+
+# User-specific files
+*.suo
+*.user
+*.userosscache
+*.sln.docstates
+
+# User-specific files (MonoDevelop/Xamarin Studio)
+*.userprefs
+
+# Build results
+[Dd]ebug/
+[Dd]ebugPublic/
+[Rr]elease/
+[Rr]eleases/
+x64/
+x86/
+bld/
+[Bb]in/
+[Oo]bj/
+[Ll]og/
+
+# Visual Studio 2015 cache/options directory
+.vs/
+# Uncomment if you have tasks that create the project's static files in wwwroot
+#wwwroot/
+
+# MSTest test Results
+[Tt]est[Rr]esult*/
+[Bb]uild[Ll]og.*
+
+# NUNIT
+*.VisualState.xml
+TestResult.xml
+
+# Build Results of an ATL Project
+[Dd]ebugPS/
+[Rr]eleasePS/
+dlldata.c
+
+# DNX
+project.lock.json
+project.fragment.lock.json
+artifacts/
+
+*_i.c
+*_p.c
+*_i.h
+*.ilk
+*.meta
+*.obj
+*.pch
+*.pdb
+*.pgc
+*.pgd
+*.rsp
+*.sbr
+*.tlb
+*.tli
+*.tlh
+*.tmp
+*.tmp_proj
+*.log
+*.vspscc
+*.vssscc
+.builds
+*.pidb
+*.svclog
+*.scc
+
+# Chutzpah Test files
+_Chutzpah*
+
+# Visual C++ cache files
+ipch/
+*.aps
+*.ncb
+*.opendb
+*.opensdf
+*.sdf
+*.cachefile
+*.VC.db
+*.VC.VC.opendb
+
+# Visual Studio profiler
+*.psess
+*.vsp
+*.vspx
+*.sap
+
+# TFS 2012 Local Workspace
+$tf/
+
+# Guidance Automation Toolkit
+*.gpState
+
+# ReSharper is a .NET coding add-in
+_ReSharper*/
+*.[Rr]e[Ss]harper
+*.DotSettings.user
+
+# JustCode is a .NET coding add-in
+.JustCode
+
+# TeamCity is a build add-in
+_TeamCity*
+
+# DotCover is a Code Coverage Tool
+*.dotCover
+
+# NCrunch
+_NCrunch_*
+.*crunch*.local.xml
+nCrunchTemp_*
+
+# MightyMoose
+*.mm.*
+AutoTest.Net/
+
+# Web workbench (sass)
+.sass-cache/
+
+# Installshield output folder
+[Ee]xpress/
+
+# DocProject is a documentation generator add-in
+DocProject/buildhelp/
+DocProject/Help/*.HxT
+DocProject/Help/*.HxC
+DocProject/Help/*.hhc
+DocProject/Help/*.hhk
+DocProject/Help/*.hhp
+DocProject/Help/Html2
+DocProject/Help/html
+
+# Click-Once directory
+publish/
+
+# Publish Web Output
+*.[Pp]ublish.xml
+*.azurePubxml
+# TODO: Comment the next line if you want to checkin your web deploy settings
+# but database connection strings (with potential passwords) will be unencrypted
+#*.pubxml
+*.publishproj
+
+# Microsoft Azure Web App publish settings. Comment the next line if you want to
+# checkin your Azure Web App publish settings, but sensitive information contained
+# in these scripts will be unencrypted
+PublishScripts/
+
+# NuGet Packages
+*.nupkg
+# The packages folder can be ignored because of Package Restore
+**/packages/*
+# except build/, which is used as an MSBuild target.
+!**/packages/build/
+# Uncomment if necessary however generally it will be regenerated when needed
+#!**/packages/repositories.config
+# NuGet v3's project.json files produces more ignoreable files
+*.nuget.props
+*.nuget.targets
+
+# Microsoft Azure Build Output
+csx/
+*.build.csdef
+
+# Microsoft Azure Emulator
+ecf/
+rcf/
+
+# Windows Store app package directories and files
+AppPackages/
+BundleArtifacts/
+Package.StoreAssociation.xml
+_pkginfo.txt
+
+# Visual Studio cache files
+# files ending in .cache can be ignored
+*.[Cc]ache
+# but keep track of directories ending in .cache
+!*.[Cc]ache/
+
+# Others
+ClientBin/
+~$*
+*~
+*.dbmdl
+*.dbproj.schemaview
+*.jfm
+*.pfx
+*.publishsettings
+node_modules/
+orleans.codegen.cs
+
+# Since there are multiple workflows, uncomment next line to ignore bower_components
+# (https://github.com/github/gitignore/pull/1529#issuecomment-104372622)
+#bower_components/
+
+# RIA/Silverlight projects
+Generated_Code/
+
+# Backup & report files from converting an old project file
+# to a newer Visual Studio version. Backup files are not needed,
+# because we have git ;-)
+_UpgradeReport_Files/
+Backup*/
+UpgradeLog*.XML
+UpgradeLog*.htm
+
+# SQL Server files
+*.mdf
+*.ldf
+
+# Business Intelligence projects
+*.rdl.data
+*.bim.layout
+*.bim_*.settings
+
+# Microsoft Fakes
+FakesAssemblies/
+
+# GhostDoc plugin setting file
+*.GhostDoc.xml
+
+# Node.js Tools for Visual Studio
+.ntvs_analysis.dat
+
+# Visual Studio 6 build log
+*.plg
+
+# Visual Studio 6 workspace options file
+*.opt
+
+# Visual Studio LightSwitch build output
+**/*.HTMLClient/GeneratedArtifacts
+**/*.DesktopClient/GeneratedArtifacts
+**/*.DesktopClient/ModelManifest.xml
+**/*.Server/GeneratedArtifacts
+**/*.Server/ModelManifest.xml
+_Pvt_Extensions
+
+# Paket dependency manager
+.paket/paket.exe
+paket-files/
+
+# FAKE - F# Make
+.fake/
+
+# JetBrains Rider
+.idea/
+*.sln.iml
+
+# CodeRush
+.cr/
+
+# Python Tools for Visual Studio (PTVS)
+__pycache__/
+*.pyc
\ No newline at end of file
diff --git a/Oobe/Oobe.sln b/Oobe/Oobe.sln
new file mode 100644 (file)
index 0000000..9ba37d8
--- /dev/null
@@ -0,0 +1,21 @@
+Microsoft Visual Studio Solution File, Format Version 12.00
+# Visual Studio 14
+VisualStudioVersion = 14.0.25420.1
+MinimumVisualStudioVersion = 10.0.40219.1
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Oobe", "Oobe/Oobe.csproj", "{f80911b9-2aa9-418f-b07b-33c8ca0cff12}"
+EndProject
+Global
+       GlobalSection(SolutionConfigurationPlatforms) = preSolution
+               Debug|Any CPU = Debug|Any CPU
+               Release|Any CPU = Release|Any CPU
+       EndGlobalSection
+       GlobalSection(ProjectConfigurationPlatforms) = postSolution
+               {f80911b9-2aa9-418f-b07b-33c8ca0cff12}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+               {f80911b9-2aa9-418f-b07b-33c8ca0cff12}.Debug|Any CPU.Build.0 = Debug|Any CPU
+               {f80911b9-2aa9-418f-b07b-33c8ca0cff12}.Release|Any CPU.ActiveCfg = Release|Any CPU
+               {f80911b9-2aa9-418f-b07b-33c8ca0cff12}.Release|Any CPU.Build.0 = Release|Any CPU
+       EndGlobalSection
+       GlobalSection(SolutionProperties) = preSolution
+               HideSolutionNode = FALSE
+       EndGlobalSection
+EndGlobal
diff --git a/Oobe/Oobe/Oobe.cs b/Oobe/Oobe/Oobe.cs
new file mode 100644 (file)
index 0000000..54dbe10
--- /dev/null
@@ -0,0 +1,51 @@
+using System;
+using Tizen.NUI;
+using Tizen.NUI.BaseComponents;
+using Oobe.Language;
+
+namespace Oobe
+{
+    class Program : NUIApplication
+    {
+        protected override void OnCreate()
+        {
+            base.OnCreate();
+            Initialize();
+        }
+
+        void Initialize()
+        {
+            Window.Instance.KeyEvent += OnKeyEvent;
+            var test = new LanguageStep(null);
+
+            TextLabel text = new TextLabel("Hello Tizen NUI World");
+            text.HorizontalAlignment = HorizontalAlignment.Center;
+            text.VerticalAlignment = VerticalAlignment.Center;
+            text.TextColor = Color.Blue;
+            text.PointSize = 12.0f;
+            text.HeightResizePolicy = ResizePolicyType.FillToParent;
+            text.WidthResizePolicy = ResizePolicyType.FillToParent;
+            Window.Instance.GetDefaultLayer().Add(text);
+
+            Animation animation = new Animation(2000);
+            animation.AnimateTo(text, "Orientation", new Rotation(new Radian(new Degree(180.0f)), PositionAxis.X), 0, 500);
+            animation.AnimateTo(text, "Orientation", new Rotation(new Radian(new Degree(0.0f)), PositionAxis.X), 500, 1000);
+            animation.Looping = true;
+            animation.Play();
+        }
+
+        public void OnKeyEvent(object sender, Window.KeyEventArgs e)
+        {
+            if (e.Key.State == Key.StateType.Down && (e.Key.KeyPressedName == "XF86Back" || e.Key.KeyPressedName == "Escape"))
+            {
+                Exit();
+            }
+        }
+
+        static void Main(string[] args)
+        {
+            var app = new Program();
+            app.Run(args);
+        }
+    }
+}
diff --git a/Oobe/Oobe/Oobe.csproj b/Oobe/Oobe/Oobe.csproj
new file mode 100644 (file)
index 0000000..ca55803
--- /dev/null
@@ -0,0 +1,37 @@
+<Project Sdk="Microsoft.NET.Sdk">
+
+  <PropertyGroup>
+    <OutputType>Exe</OutputType>
+    <TargetFramework>tizen80</TargetFramework>
+    <TargetFrameworkIdentifier>Tizen</TargetFrameworkIdentifier>
+  </PropertyGroup>
+
+  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
+    <DebugType>portable</DebugType>
+  </PropertyGroup>
+  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
+    <DebugType>None</DebugType>
+  </PropertyGroup>
+
+  <ItemGroup>
+    <Folder Include="lib\" />
+    <Folder Include="res\" />
+  </ItemGroup>
+
+  <ItemGroup>
+    <PackageReference Include="Tizen.NET" Version="8.0.0.15106">
+      <ExcludeAssets>Runtime</ExcludeAssets>
+    </PackageReference>
+    <PackageReference Include="Tizen.NET.Sdk" Version="1.0.1" />
+  </ItemGroup>
+
+  <ItemGroup>
+    <ProjectReference Include="..\OobeLanguage\OobeLanguage.csproj" />
+    <ProjectReference Include="..\OobeRegion\OobeRegion.csproj" />
+    <ProjectReference Include="..\OobeTerms\OobeTerms.csproj" />
+    <ProjectReference Include="..\OobeWelcome\OobeWelcome.csproj" />
+    <ProjectReference Include="..\OobeWifi\OobeWifi.csproj" />
+  </ItemGroup>
+
+</Project>
+
diff --git a/Oobe/Oobe/shared/res/Oobe.png b/Oobe/Oobe/shared/res/Oobe.png
new file mode 100644 (file)
index 0000000..9f3cb98
Binary files /dev/null and b/Oobe/Oobe/shared/res/Oobe.png differ
diff --git a/Oobe/Oobe/tizen-manifest.xml b/Oobe/Oobe/tizen-manifest.xml
new file mode 100644 (file)
index 0000000..ae02f9b
--- /dev/null
@@ -0,0 +1,15 @@
+<?xml version="1.0" encoding="utf-8"?>
+<manifest xmlns="http://tizen.org/ns/packages" api-version="5" package="org.tizen.example.Oobe" version="1.0.0">
+  <profile name="common" />
+  <ui-application appid="org.tizen.example.Oobe"
+                                       exec="Oobe.dll"
+                                       type="dotnet"
+                                       multiple="false"
+                                       taskmanage="true"
+                                       nodisplay="false"
+                                       launch_mode="single">
+    <label>Oobe</label>
+    <icon>Oobe.png</icon>
+    <metadata key="http://tizen.org/metadata/prefer_dotnet_aot" value="true" />
+  </ui-application>
+</manifest>
diff --git a/Oobe/OobeCommon/Interfaces/IProcessNavigation.cs b/Oobe/OobeCommon/Interfaces/IProcessNavigation.cs
new file mode 100644 (file)
index 0000000..e37350b
--- /dev/null
@@ -0,0 +1,11 @@
+using System;
+
+namespace Oobe.Common.Interfaces
+{
+    public interface IProcessNavigation
+    {
+        void Next();
+        void Previous();
+        ProcessInfo CurrentStep();
+    }
+}
\ No newline at end of file
diff --git a/Oobe/OobeCommon/Interfaces/ProcessInfo.cs b/Oobe/OobeCommon/Interfaces/ProcessInfo.cs
new file mode 100644 (file)
index 0000000..8af119a
--- /dev/null
@@ -0,0 +1,11 @@
+using System;
+
+
+namespace Oobe.Common.Interfaces
+{
+    public struct ProcessInfo
+    {
+        int CurrentStep;
+        int StepsCount;
+    }
+}
\ No newline at end of file
diff --git a/Oobe/OobeCommon/Interfaces/ProcessStep.cs b/Oobe/OobeCommon/Interfaces/ProcessStep.cs
new file mode 100644 (file)
index 0000000..9d9b383
--- /dev/null
@@ -0,0 +1,25 @@
+using System;
+using Tizen.NUI.BaseComponents;
+
+namespace Oobe.Common.Interfaces
+{
+    public abstract class ProcessStep
+    {
+        protected IProcessNavigation Navigation { get; private set; }
+
+        protected ProcessStep(IProcessNavigation nav)
+        {
+            Navigation = nav;
+        }
+        public virtual void Initialize()
+        {
+        }
+        public virtual void Reset()
+        {
+        }
+        public virtual void Shutdown()
+        {       
+        }
+        public View View => null;
+    }
+}
\ No newline at end of file
diff --git a/Oobe/OobeCommon/OobeCommon.csproj b/Oobe/OobeCommon/OobeCommon.csproj
new file mode 100644 (file)
index 0000000..ed55487
--- /dev/null
@@ -0,0 +1,14 @@
+<Project Sdk="Microsoft.NET.Sdk">\r
+\r
+  <PropertyGroup>\r
+    <OutputType>Library</OutputType>\r
+    <TargetFramework>tizen80</TargetFramework>\r
+    <TargetFrameworkIndentifier>Tizen</TargetFrameworkIndentifier>\r
+  </PropertyGroup>\r
+\r
+  <ItemGroup>\r
+    <PackageReference Include="Tizen.NET" Version="8.0.0.15106">\r
+      <ExcludeAssets>Runtime</ExcludeAssets>\r
+    </PackageReference>\r
+  </ItemGroup>\r
+</Project>\r
diff --git a/Oobe/OobeLanguage/LanguageStep.cs b/Oobe/OobeLanguage/LanguageStep.cs
new file mode 100644 (file)
index 0000000..a5e8c1e
--- /dev/null
@@ -0,0 +1,12 @@
+using System;\r
+using Oobe.Common.Interfaces;\r
+\r
+namespace Oobe.Language\r
+{\r
+    public class LanguageStep : ProcessStep\r
+    {\r
+        public LanguageStep(IProcessNavigation navi) : base(navi)\r
+        {\r
+        }\r
+    }\r
+}
\ No newline at end of file
diff --git a/Oobe/OobeLanguage/OobeLanguage.csproj b/Oobe/OobeLanguage/OobeLanguage.csproj
new file mode 100644 (file)
index 0000000..2b5632b
--- /dev/null
@@ -0,0 +1,18 @@
+<Project Sdk="Microsoft.NET.Sdk">\r
+\r
+  <PropertyGroup>\r
+    <OutputType>Library</OutputType>\r
+    <TargetFramework>tizen80</TargetFramework>\r
+    <TargetFrameworkIndentifier>Tizen</TargetFrameworkIndentifier>\r
+  </PropertyGroup>\r
+\r
+  <ItemGroup>\r
+    <PackageReference Include="Tizen.NET" Version="8.0.0.15106">\r
+      <ExcludeAssets>Runtime</ExcludeAssets>\r
+    </PackageReference>\r
+  </ItemGroup>\r
+\r
+  <ItemGroup>
+    <ProjectReference Include="..\OobeCommon\OobeCommon.csproj" />
+  </ItemGroup>\r
+</Project>\r
diff --git a/Oobe/OobeRegion/Class1.cs b/Oobe/OobeRegion/Class1.cs
new file mode 100644 (file)
index 0000000..8eda6fe
--- /dev/null
@@ -0,0 +1,8 @@
+using System;\r
+\r
+namespace OobeRegion\r
+{\r
+    public class Class1\r
+    {\r
+    }\r
+}\r
diff --git a/Oobe/OobeRegion/OobeRegion.csproj b/Oobe/OobeRegion/OobeRegion.csproj
new file mode 100644 (file)
index 0000000..ed55487
--- /dev/null
@@ -0,0 +1,14 @@
+<Project Sdk="Microsoft.NET.Sdk">\r
+\r
+  <PropertyGroup>\r
+    <OutputType>Library</OutputType>\r
+    <TargetFramework>tizen80</TargetFramework>\r
+    <TargetFrameworkIndentifier>Tizen</TargetFrameworkIndentifier>\r
+  </PropertyGroup>\r
+\r
+  <ItemGroup>\r
+    <PackageReference Include="Tizen.NET" Version="8.0.0.15106">\r
+      <ExcludeAssets>Runtime</ExcludeAssets>\r
+    </PackageReference>\r
+  </ItemGroup>\r
+</Project>\r
diff --git a/Oobe/OobeTerms/Class1.cs b/Oobe/OobeTerms/Class1.cs
new file mode 100644 (file)
index 0000000..f339223
--- /dev/null
@@ -0,0 +1,8 @@
+using System;\r
+\r
+namespace OobeTerms\r
+{\r
+    public class Class1\r
+    {\r
+    }\r
+}\r
diff --git a/Oobe/OobeTerms/OobeTerms.csproj b/Oobe/OobeTerms/OobeTerms.csproj
new file mode 100644 (file)
index 0000000..ed55487
--- /dev/null
@@ -0,0 +1,14 @@
+<Project Sdk="Microsoft.NET.Sdk">\r
+\r
+  <PropertyGroup>\r
+    <OutputType>Library</OutputType>\r
+    <TargetFramework>tizen80</TargetFramework>\r
+    <TargetFrameworkIndentifier>Tizen</TargetFrameworkIndentifier>\r
+  </PropertyGroup>\r
+\r
+  <ItemGroup>\r
+    <PackageReference Include="Tizen.NET" Version="8.0.0.15106">\r
+      <ExcludeAssets>Runtime</ExcludeAssets>\r
+    </PackageReference>\r
+  </ItemGroup>\r
+</Project>\r
diff --git a/Oobe/OobeWelcome/Class1.cs b/Oobe/OobeWelcome/Class1.cs
new file mode 100644 (file)
index 0000000..e369e62
--- /dev/null
@@ -0,0 +1,8 @@
+using System;\r
+\r
+namespace OobeWelcome\r
+{\r
+    public class Class1\r
+    {\r
+    }\r
+}\r
diff --git a/Oobe/OobeWelcome/OobeWelcome.csproj b/Oobe/OobeWelcome/OobeWelcome.csproj
new file mode 100644 (file)
index 0000000..ed55487
--- /dev/null
@@ -0,0 +1,14 @@
+<Project Sdk="Microsoft.NET.Sdk">\r
+\r
+  <PropertyGroup>\r
+    <OutputType>Library</OutputType>\r
+    <TargetFramework>tizen80</TargetFramework>\r
+    <TargetFrameworkIndentifier>Tizen</TargetFrameworkIndentifier>\r
+  </PropertyGroup>\r
+\r
+  <ItemGroup>\r
+    <PackageReference Include="Tizen.NET" Version="8.0.0.15106">\r
+      <ExcludeAssets>Runtime</ExcludeAssets>\r
+    </PackageReference>\r
+  </ItemGroup>\r
+</Project>\r
diff --git a/Oobe/OobeWifi/Class1.cs b/Oobe/OobeWifi/Class1.cs
new file mode 100644 (file)
index 0000000..defc1d7
--- /dev/null
@@ -0,0 +1,8 @@
+using System;\r
+\r
+namespace OobeWifi\r
+{\r
+    public class Class1\r
+    {\r
+    }\r
+}\r
diff --git a/Oobe/OobeWifi/OobeWifi.csproj b/Oobe/OobeWifi/OobeWifi.csproj
new file mode 100644 (file)
index 0000000..ed55487
--- /dev/null
@@ -0,0 +1,14 @@
+<Project Sdk="Microsoft.NET.Sdk">\r
+\r
+  <PropertyGroup>\r
+    <OutputType>Library</OutputType>\r
+    <TargetFramework>tizen80</TargetFramework>\r
+    <TargetFrameworkIndentifier>Tizen</TargetFrameworkIndentifier>\r
+  </PropertyGroup>\r
+\r
+  <ItemGroup>\r
+    <PackageReference Include="Tizen.NET" Version="8.0.0.15106">\r
+      <ExcludeAssets>Runtime</ExcludeAssets>\r
+    </PackageReference>\r
+  </ItemGroup>\r
+</Project>\r
diff --git a/README.md b/README.md
new file mode 100644 (file)
index 0000000..c6beb0b
--- /dev/null
+++ b/README.md
@@ -0,0 +1 @@
+# OOBE