pax_global_header 0000666 0000000 0000000 00000000064 13037113607 0014513 g ustar 00root root 0000000 0000000 52 comment=2ec5ab325e4f612ed4f65e7983e1b7f0ad2ad915
ufr-examples-windows-iot-cpp-2ec5ab325e4f612ed4f65e7983e1b7f0ad2ad915/ 0000775 0000000 0000000 00000000000 13037113607 0024327 5 ustar 00root root 0000000 0000000 ufr-examples-windows-iot-cpp-2ec5ab325e4f612ed4f65e7983e1b7f0ad2ad915/.gitattributes 0000664 0000000 0000000 00000004726 13037113607 0027233 0 ustar 00root root 0000000 0000000 ###############################################################################
# Set default behavior to automatically normalize line endings.
###############################################################################
* text=auto
###############################################################################
# Set default behavior for command prompt diff.
#
# This is need for earlier builds of msysgit that does not have it on by
# default for csharp files.
# Note: This is only used by command line
###############################################################################
#*.cs diff=csharp
###############################################################################
# Set the merge driver for project and solution files
#
# Merging from the command prompt will add diff markers to the files if there
# are conflicts (Merging from VS is not affected by the settings below, in VS
# the diff markers are never inserted). Diff markers may cause the following
# file extensions to fail to load in VS. An alternative would be to treat
# these files as binary and thus will always conflict and require user
# intervention with every merge. To do so, just uncomment the entries below
###############################################################################
#*.sln merge=binary
#*.csproj merge=binary
#*.vbproj merge=binary
#*.vcxproj merge=binary
#*.vcproj merge=binary
#*.dbproj merge=binary
#*.fsproj merge=binary
#*.lsproj merge=binary
#*.wixproj merge=binary
#*.modelproj merge=binary
#*.sqlproj merge=binary
#*.wwaproj merge=binary
###############################################################################
# behavior for image files
#
# image files are treated as binary by default.
###############################################################################
#*.jpg binary
#*.png binary
#*.gif binary
###############################################################################
# diff behavior for common document formats
#
# Convert binary document formats to text before diffing them. This feature
# is only available from the command line. Turn it on by uncommenting the
# entries below.
###############################################################################
#*.doc diff=astextplain
#*.DOC diff=astextplain
#*.docx diff=astextplain
#*.DOCX diff=astextplain
#*.dot diff=astextplain
#*.DOT diff=astextplain
#*.pdf diff=astextplain
#*.PDF diff=astextplain
#*.rtf diff=astextplain
#*.RTF diff=astextplain
ufr-examples-windows-iot-cpp-2ec5ab325e4f612ed4f65e7983e1b7f0ad2ad915/.gitignore 0000664 0000000 0000000 00000007371 13037113607 0026327 0 ustar 00root root 0000000 0000000 ## 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/
[Xx]64/
[Xx]86/
[Bb]uild/
bld/
[Bb]in/
[Oo]bj/
# 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
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
# 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: Un-comment the next line if you do not want to checkin
# your web deploy settings because they may include unencrypted
# passwords
#*.pubxml
*.publishproj
# 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/
# Microsoft Azure ApplicationInsights config file
ApplicationInsights.config
# Windows Store app package directory
AppPackages/
BundleArtifacts/
# 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/
[Ss]tyle[Cc]op.*
~$*
*~
*.dbmdl
*.dbproj.schemaview
*.pfx
*.publishsettings
node_modules/
orleans.codegen.cs
# 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
# LightSwitch generated files
GeneratedArtifacts/
ModelManifest.xml
# Paket dependency manager
.paket/paket.exe
# FAKE - F# Make
.fake/ ufr-examples-windows-iot-cpp-2ec5ab325e4f612ed4f65e7983e1b7f0ad2ad915/.gitmodules 0000664 0000000 0000000 00000000131 13037113607 0026477 0 ustar 00root root 0000000 0000000 [submodule "lib"]
path = lib
url = git@git.d-logic.net:nfc-rfid-reader-sdk/ufr-lib.git
ufr-examples-windows-iot-cpp-2ec5ab325e4f612ed4f65e7983e1b7f0ad2ad915/App.xaml 0000664 0000000 0000000 00000000403 13037113607 0025727 0 ustar 00root root 0000000 0000000
ufr-examples-windows-iot-cpp-2ec5ab325e4f612ed4f65e7983e1b7f0ad2ad915/App.xaml.cpp 0000664 0000000 0000000 00000010720 13037113607 0026513 0 ustar 00root root 0000000 0000000 //
// App.xaml.cpp
// Implementation of the App class.
//
#include "pch.h"
#include "MainPage.xaml.h"
using namespace AppTestUFRlib;
using namespace Platform;
using namespace Windows::ApplicationModel;
using namespace Windows::ApplicationModel::Activation;
using namespace Windows::Foundation;
using namespace Windows::Foundation::Collections;
using namespace Windows::UI::Xaml;
using namespace Windows::UI::Xaml::Controls;
using namespace Windows::UI::Xaml::Controls::Primitives;
using namespace Windows::UI::Xaml::Data;
using namespace Windows::UI::Xaml::Input;
using namespace Windows::UI::Xaml::Interop;
using namespace Windows::UI::Xaml::Media;
using namespace Windows::UI::Xaml::Navigation;
///
/// Initializes the singleton application object. This is the first line of authored code
/// executed, and as such is the logical equivalent of main() or WinMain().
///
App::App()
{
InitializeComponent();
Suspending += ref new SuspendingEventHandler(this, &App::OnSuspending);
}
///
/// Invoked when the application is launched normally by the end user. Other entry points
/// will be used such as when the application is launched to open a specific file.
///
/// Details about the launch request and process.
void App::OnLaunched(Windows::ApplicationModel::Activation::LaunchActivatedEventArgs^ e)
{
#if _DEBUG
// Show graphics profiling information while debugging.
if (IsDebuggerPresent())
{
// Display the current frame rate counters
DebugSettings->EnableFrameRateCounter = true;
}
#endif
auto rootFrame = dynamic_cast(Window::Current->Content);
// Do not repeat app initialization when the Window already has content,
// just ensure that the window is active
if (rootFrame == nullptr)
{
// Create a Frame to act as the navigation context and associate it with
// a SuspensionManager key
rootFrame = ref new Frame();
rootFrame->NavigationFailed += ref new Windows::UI::Xaml::Navigation::NavigationFailedEventHandler(this, &App::OnNavigationFailed);
if (e->PreviousExecutionState == ApplicationExecutionState::Terminated)
{
// TODO: Restore the saved session state only when appropriate, scheduling the
// final launch steps after the restore is complete
}
if (e->PrelaunchActivated == false)
{
if (rootFrame->Content == nullptr)
{
// When the navigation stack isn't restored navigate to the first page,
// configuring the new page by passing required information as a navigation
// parameter
rootFrame->Navigate(TypeName(MainPage::typeid), e->Arguments);
}
// Place the frame in the current Window
Window::Current->Content = rootFrame;
// Ensure the current window is active
Window::Current->Activate();
}
}
else
{
if (e->PrelaunchActivated == false)
{
if (rootFrame->Content == nullptr)
{
// When the navigation stack isn't restored navigate to the first page,
// configuring the new page by passing required information as a navigation
// parameter
rootFrame->Navigate(TypeName(MainPage::typeid), e->Arguments);
}
// Ensure the current window is active
Window::Current->Activate();
}
}
}
///
/// Invoked when application execution is being suspended. Application state is saved
/// without knowing whether the application will be terminated or resumed with the contents
/// of memory still intact.
///
/// The source of the suspend request.
/// Details about the suspend request.
void App::OnSuspending(Object^ sender, SuspendingEventArgs^ e)
{
(void) sender; // Unused parameter
(void) e; // Unused parameter
//TODO: Save application state and stop any background activity
}
///
/// Invoked when Navigation to a certain page fails
///
/// The Frame which failed navigation
/// Details about the navigation failure
void App::OnNavigationFailed(Platform::Object ^sender, Windows::UI::Xaml::Navigation::NavigationFailedEventArgs ^e)
{
throw ref new FailureException("Failed to load Page " + e->SourcePageType.Name);
} ufr-examples-windows-iot-cpp-2ec5ab325e4f612ed4f65e7983e1b7f0ad2ad915/App.xaml.h 0000664 0000000 0000000 00000001164 13037113607 0026162 0 ustar 00root root 0000000 0000000 //
// App.xaml.h
// Declaration of the App class.
//
#pragma once
#include "App.g.h"
namespace AppTestUFRlib
{
///
/// Provides application-specific behavior to supplement the default Application class.
///
ref class App sealed
{
protected:
virtual void OnLaunched(Windows::ApplicationModel::Activation::LaunchActivatedEventArgs^ e) override;
internal:
App();
private:
void OnSuspending(Platform::Object^ sender, Windows::ApplicationModel::SuspendingEventArgs^ e);
void OnNavigationFailed(Platform::Object ^sender, Windows::UI::Xaml::Navigation::NavigationFailedEventArgs ^e);
};
}
ufr-examples-windows-iot-cpp-2ec5ab325e4f612ed4f65e7983e1b7f0ad2ad915/AppTestUFRlib.sln 0000664 0000000 0000000 00000004033 13037113607 0027471 0 ustar 00root root 0000000 0000000
Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio 14
VisualStudioVersion = 14.0.25123.0
MinimumVisualStudioVersion = 10.0.40219.1
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "AppTestUFRlib", "AppTestUFRlib.vcxproj", "{FE17BC57-13E6-4DFD-A90E-B18170B7B3E3}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|ARM = Debug|ARM
Debug|x64 = Debug|x64
Debug|x86 = Debug|x86
Release|ARM = Release|ARM
Release|x64 = Release|x64
Release|x86 = Release|x86
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{FE17BC57-13E6-4DFD-A90E-B18170B7B3E3}.Debug|ARM.ActiveCfg = Debug|ARM
{FE17BC57-13E6-4DFD-A90E-B18170B7B3E3}.Debug|ARM.Build.0 = Debug|ARM
{FE17BC57-13E6-4DFD-A90E-B18170B7B3E3}.Debug|ARM.Deploy.0 = Debug|ARM
{FE17BC57-13E6-4DFD-A90E-B18170B7B3E3}.Debug|x64.ActiveCfg = Debug|x64
{FE17BC57-13E6-4DFD-A90E-B18170B7B3E3}.Debug|x64.Build.0 = Debug|x64
{FE17BC57-13E6-4DFD-A90E-B18170B7B3E3}.Debug|x64.Deploy.0 = Debug|x64
{FE17BC57-13E6-4DFD-A90E-B18170B7B3E3}.Debug|x86.ActiveCfg = Debug|Win32
{FE17BC57-13E6-4DFD-A90E-B18170B7B3E3}.Debug|x86.Build.0 = Debug|Win32
{FE17BC57-13E6-4DFD-A90E-B18170B7B3E3}.Debug|x86.Deploy.0 = Debug|Win32
{FE17BC57-13E6-4DFD-A90E-B18170B7B3E3}.Release|ARM.ActiveCfg = Release|ARM
{FE17BC57-13E6-4DFD-A90E-B18170B7B3E3}.Release|ARM.Build.0 = Release|ARM
{FE17BC57-13E6-4DFD-A90E-B18170B7B3E3}.Release|ARM.Deploy.0 = Release|ARM
{FE17BC57-13E6-4DFD-A90E-B18170B7B3E3}.Release|x64.ActiveCfg = Release|x64
{FE17BC57-13E6-4DFD-A90E-B18170B7B3E3}.Release|x64.Build.0 = Release|x64
{FE17BC57-13E6-4DFD-A90E-B18170B7B3E3}.Release|x64.Deploy.0 = Release|x64
{FE17BC57-13E6-4DFD-A90E-B18170B7B3E3}.Release|x86.ActiveCfg = Release|Win32
{FE17BC57-13E6-4DFD-A90E-B18170B7B3E3}.Release|x86.Build.0 = Release|Win32
{FE17BC57-13E6-4DFD-A90E-B18170B7B3E3}.Release|x86.Deploy.0 = Release|Win32
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
EndGlobal
ufr-examples-windows-iot-cpp-2ec5ab325e4f612ed4f65e7983e1b7f0ad2ad915/AppTestUFRlib.vcxproj 0000664 0000000 0000000 00000026523 13037113607 0030400 0 ustar 00root root 0000000 0000000
{fe17bc57-13e6-4dfd-a90e-b18170b7b3e3}AppTestUFRliben-US14.0trueWindows Store10.0.10586.010.0.10240.010.0DebugARMDebugWin32Debugx64ReleaseARMReleaseWin32Releasex64Applicationtruev140Applicationtruev140Applicationtruev140Applicationfalsetruev140trueApplicationfalsetruev140trueApplicationfalsetruev140trueAppTestUFRlib_TemporaryKey.pfx60040267603C0B9B02AF7DF418EABDBEF0BFE7C4lib\include;$(VC_IncludePath);$(WindowsSDK_IncludePath);lib\include;$(VC_IncludePath);$(WindowsSDK_IncludePath);/bigobj %(AdditionalOptions)4453;28204falsefalse/bigobj %(AdditionalOptions)4453;28204/bigobj %(AdditionalOptions)4453;28204/bigobj %(AdditionalOptions)4453;28204/bigobj %(AdditionalOptions)4453;28204/bigobj %(AdditionalOptions)4453;28204App.xamlMainPage.xamlDesignerDesignerDesignertruetrueApp.xamlMainPage.xamlCreateCreateCreateCreateCreateCreate