-
Notifications
You must be signed in to change notification settings - Fork 225
Add Downloader, LeScanner and Network NUI based application #399
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
r-bhalotia
wants to merge
3
commits into
Samsung:master
Choose a base branch
from
r-bhalotia:master
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from 1 commit
Commits
Show all changes
3 commits
Select commit
Hold shift + click to select a range
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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 |
|---|---|---|
| @@ -0,0 +1,26 @@ | ||
| { | ||
| // Use IntelliSense to learn about possible attributes. | ||
| // Hover to view descriptions of existing attributes. | ||
| // For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387 | ||
| "version": "0.2.0", | ||
| "configurations": [ | ||
| { | ||
| "name": "Tizen .NET Debug (netcoredbg)", | ||
| "type": "tizen-netcoredbg", | ||
| "request": "launch", | ||
| "projectInfo": "${command:getProjectInfo}", | ||
| "port": 4711, | ||
| "debugServer": 4711 | ||
| }, | ||
| { | ||
| "name": "Tizen Native Debug: Launch (gdb)", | ||
| "type": "cppdbg", | ||
| "request": "launch", | ||
| "program": "${command:tizen-get-native-exec}", | ||
| "MIMode": "gdb", | ||
| "cwd": "${workspaceRoot}", | ||
| "miDebuggerPath": "${command:tizen-get-gdb-path}", | ||
| "miDebuggerServerAddress": ":1234" | ||
| } | ||
| ] | ||
| } | ||
This file contains hidden or 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 |
|---|---|---|
| @@ -0,0 +1,22 @@ | ||
| Microsoft Visual Studio Solution File, Format Version 12.00 | ||
| # Visual Studio Version 16 | ||
| VisualStudioVersion = 16.0.31005.135 | ||
| MinimumVisualStudioVersion = 10.0.40219.1 | ||
| Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Downloader", "Downloader/Downloader.csproj", "{d42f4c90-c837-4704-8563-194d9392b9c7}" | ||
| EndProject | ||
| Global | ||
| GlobalSection(SolutionConfigurationPlatforms) = preSolution | ||
| Debug|Any CPU = Debug|Any CPU | ||
| Release|Any CPU = Release|Any CPU | ||
| EndGlobalSection | ||
| GlobalSection(ProjectConfigurationPlatforms) = postSolution | ||
| {d42f4c90-c837-4704-8563-194d9392b9c7}.Debug|Any CPU.ActiveCfg = Debug|Any CPU | ||
| {d42f4c90-c837-4704-8563-194d9392b9c7}.Debug|Any CPU.Build.0 = Debug|Any CPU | ||
| {d42f4c90-c837-4704-8563-194d9392b9c7}.Release|Any CPU.ActiveCfg = Release|Any CPU | ||
| {d42f4c90-c837-4704-8563-194d9392b9c7}.Release|Any CPU.Build.0 = Release|Any CPU | ||
|
|
||
| EndGlobalSection | ||
| GlobalSection(SolutionProperties) = preSolution | ||
| HideSolutionNode = FALSE | ||
| EndGlobalSection | ||
| EndGlobal |
This file contains hidden or 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 |
|---|---|---|
| @@ -0,0 +1,21 @@ | ||
| <!-- | ||
| *********************************************************************************************** | ||
| <Build.Directory.targets> | ||
| WARNING: DO NOT MODIFY this file. Incorrect changes to this file will make it | ||
| impossible to load or build your projects from the IDE. | ||
|
|
||
| *********************************************************************************************** | ||
| --> | ||
|
|
||
| <Project> | ||
| <Target Name="BuildDotnet" AfterTargets="TizenPackage" > | ||
| <Message Text="Tizen Build starts here ------------" Importance="high"/> | ||
| <Message Text="$(MSBuildProjectDirectory)" Importance="high"/> | ||
| <PropertyGroup> | ||
| <WorkspaceFolder>$([System.IO.Path]::GetDirectoryName($(MSBuildProjectDirectory)))</WorkspaceFolder> | ||
| </PropertyGroup> | ||
| <Message Text="Workspace: '$(WorkspaceFolder)'" Importance="high" /> | ||
|
|
||
| <Exec Command="C:\tizen-studio\tools\tizen-core\tz.exe pack-chain -w $(ProjectDir) -S $(ProjectDir)"> </Exec> | ||
| </Target> | ||
| </Project> |
This file contains hidden or 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 |
|---|---|---|
| @@ -0,0 +1,80 @@ | ||
| /* | ||
| * Copyright (c) 2017 Samsung Electronics Co., Ltd All Rights Reserved | ||
| * | ||
| * Licensed under the Apache License, Version 2.0 (the "License"); | ||
| * you may not use this file except in compliance with the License. | ||
| * You may obtain a copy of the License at | ||
| * | ||
| * http://www.apache.org/licenses/LICENSE-2.0 | ||
| * | ||
| * Unless required by applicable law or agreed to in writing, software | ||
| * distributed under the License is distributed on an "AS IS" BASIS, | ||
| * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
| * See the License for the specific language governing permissions and | ||
| * limitations under the License. | ||
| */ | ||
|
|
||
| using System.ComponentModel; | ||
|
|
||
| namespace Downloader | ||
| { | ||
| /// <summary> | ||
| /// An internal class to show download information list | ||
| /// </summary> | ||
| internal class DownloadInfo : INotifyPropertyChanged | ||
| { | ||
| private string name; | ||
| private string value; | ||
|
|
||
| /// <summary> | ||
| /// Constructor | ||
| /// </summary> | ||
| /// <param name="name">field name</param> | ||
| /// <param name="value">field value</param> | ||
| public DownloadInfo(string name, string value) | ||
| { | ||
| this.Name = name; | ||
| this.Value = value; | ||
| } | ||
|
|
||
| /// <summary> | ||
| /// The field name of download information list | ||
| /// </summary> | ||
| public string Name | ||
| { | ||
| get => name; | ||
| set | ||
| { | ||
| if (name != value) | ||
| { | ||
| name = value; | ||
| OnPropertyChanged(nameof(Name)); | ||
| } | ||
| } | ||
| } | ||
|
|
||
| /// <summary> | ||
| /// The field value of download information list | ||
| /// </summary> | ||
| public string Value | ||
| { | ||
| get => this.value; | ||
| set | ||
| { | ||
| if (this.value != value) | ||
| { | ||
| this.value = value; | ||
| OnPropertyChanged(nameof(Value)); | ||
| } | ||
| } | ||
| } | ||
|
|
||
| // INotifyPropertyChanged implementation | ||
| public event PropertyChangedEventHandler PropertyChanged; | ||
|
|
||
| protected virtual void OnPropertyChanged(string propertyName) | ||
| { | ||
| PropertyChanged?.Invoke(this, new PropertyChangedEventArgs(propertyName)); | ||
| } | ||
| } | ||
| } |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
newline before EOF needed.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
.vscode directory not required. Removed it.