Skip to content

Commit

Permalink
Initial commit.
Browse files Browse the repository at this point in the history
  • Loading branch information
mntone committed Jan 20, 2023
0 parents commit bd0f7f3
Show file tree
Hide file tree
Showing 116 changed files with 5,372 additions and 0 deletions.
102 changes: 102 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,102 @@
root = true

[*]
end_of_line = lf

[*.{def,rc,idl}]
indent_style = tab
indent_size = 4
charset = utf-8
insert_final_newline = true
trim_trailing_whitespace = true

[*.{cpp,h,hpp,inl}]
indent_style = tab
indent_size = 4
charset = utf-8
insert_final_newline = true
trim_trailing_whitespace = true

cpp_indent_braces = false
cpp_indent_multi_line_relative_to = innermost_parenthesis
cpp_indent_within_parentheses = indent
cpp_indent_preserve_within_parentheses = true
cpp_indent_case_contents = true
cpp_indent_case_labels = false
cpp_indent_case_contents_when_block = false
cpp_indent_lambda_braces_when_parameter = false
cpp_indent_goto_labels = one_left
cpp_indent_preprocessor = leftmost_column
cpp_indent_access_specifiers = false
cpp_indent_namespace_contents = true
cpp_indent_preserve_comments = false
cpp_new_line_before_open_brace_namespace = same_line
cpp_new_line_before_open_brace_type = same_line
cpp_new_line_before_open_brace_function = same_line
cpp_new_line_before_open_brace_block = same_line
cpp_new_line_before_open_brace_lambda = same_line
cpp_new_line_scope_braces_on_separate_lines = true
cpp_new_line_close_brace_same_line_empty_type = true
cpp_new_line_close_brace_same_line_empty_function = true
cpp_new_line_before_catch = false
cpp_new_line_before_else = false
cpp_new_line_before_while_in_do_while = false
cpp_space_before_function_open_parenthesis = remove
cpp_space_within_parameter_list_parentheses = false
cpp_space_between_empty_parameter_list_parentheses = false
cpp_space_after_keywords_in_control_flow_statements = true
cpp_space_within_control_flow_statement_parentheses = false
cpp_space_before_lambda_open_parenthesis = false
cpp_space_within_cast_parentheses = false
cpp_space_after_cast_close_parenthesis = false
cpp_space_within_expression_parentheses = false
cpp_space_before_block_open_brace = true
cpp_space_between_empty_braces = true
cpp_space_before_initializer_list_open_brace = true
cpp_space_within_initializer_list_braces = true
cpp_space_preserve_in_initializer_list = true
cpp_space_before_open_square_bracket = false
cpp_space_within_square_brackets = false
cpp_space_before_empty_square_brackets = false
cpp_space_between_empty_square_brackets = false
cpp_space_group_square_brackets = true
cpp_space_within_lambda_brackets = false
cpp_space_between_empty_lambda_brackets = false
cpp_space_before_comma = false
cpp_space_after_comma = true
cpp_space_remove_around_member_operators = true
cpp_space_before_inheritance_colon = false
cpp_space_before_constructor_colon = false
cpp_space_remove_before_semicolon = true
cpp_space_after_semicolon = true
cpp_space_remove_around_unary_operator = true
cpp_space_around_binary_operator = insert
cpp_space_around_assignment_operator = insert
cpp_space_pointer_reference_alignment = left
cpp_space_around_ternary_operator = insert
cpp_wrap_preserve_blocks = one_liners

[*.{cs}]
indent_style = tab
indent_size = 4
charset = utf-8
insert_final_newline = true
trim_trailing_whitespace = true

[*.resw]
charset = utf-8-bom
end_of_line = crlf

[*.xaml]
charset = utf-8
end_of_line = crlf
insert_final_newline = true
trim_trailing_whitespace = true

[*.sln]
charset = utf-8-bom
end_of_line = crlf

[*.{vcxproj,vcxproj.filters,wapproj,wapproj.user}]
charset = utf-8
end_of_line = crlf
27 changes: 27 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
# Files which are explicitly binary
*.gif binary filter=lfs diff=lfs merge=lfs !eol
*.jpg binary filter=lfs diff=lfs merge=lfs !eol
*.png binary filter=lfs diff=lfs merge=lfs !eol

# Files normalized to always keep Unix line endings
.editorconfig text encoding=utf-8 eol=lf
.gitattributes text encoding=utf-8 eol=lf
.gitignore text encoding=utf-8 eol=lf
*.txt text encoding=utf-8 eol=lf
*.md text encoding=utf-8 eol=lf
*.def text encoding=utf-8 eol=lf
*.rc text encoding=utf-8 eol=lf
*.idl text encoding=utf-8 eol=lf
*.[ch] text encoding=utf-8 eol=lf
*.[ch]pp text encoding=utf-8 eol=lf
*.cs text encoding=utf-8 eol=lf
app.manifest text encoding=utf-8 eol=lf

# Files normalized to always keep Windows line endings
*.resw text encoding=utf-8-bom eol=crlf
*.xaml text encoding=utf-8 eol=crlf
*.sln text encoding=utf-8-bom eol=crlf
*.vcxproj text encoding=utf-8 eol=crlf
*.vcxproj.filters text encoding=utf-8-bom eol=crlf
packages.config text encoding=utf-8-bom eol=crlf
Package.appxmanifest text encoding=utf-8-bom eol=lf
151 changes: 151 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,151 @@
## Ignore Visual Studio temporary files, build results, and
## files generated by popular Visual Studio add-ons.
##
## Get latest from https://github.com/github/gitignore/blob/main/VisualStudio.gitignore

# User-specific files
*.rsuser
*.suo
*.user
*.userosscache
*.sln.docstates

# User-specific files (MonoDevelop/Xamarin Studio)
*.userprefs

# Build results
[Dd]ebug/
[Dd]ebugPublic/
[Rr]elease/
[Rr]eleases/
x64/
x86/
[Ww][Ii][Nn]32/
[Aa][Rr][Mm]/
[Aa][Rr][Mm]64/
bld/
[Bb]in/
[Oo]bj/
[Ll]og/
[Ll]ogs/

# Visual Studio 2015/2017 cache/options directory
.vs/

# Visual Studio 2017 auto generated files
Generated\ Files/

# Build Results of an ATL Project
[Dd]ebugPS/
[Rr]eleasePS/
dlldata.c

# StyleCop
StyleCopReport.xml

# Files built by Visual Studio
*_i.c
*_p.c
*_h.h
*.ilk
*.meta
*.obj
*.iobj
*.pch
*.pdb
*.ipdb
*.pgc
*.pgd
*.rsp
*.sbr
*.tlb
*.tli
*.tlh
*.tmp
*.tmp_proj
*_wpftmp.csproj
*.log
*.tlog
*.vspscc
*.vssscc
.builds
*.pidb
*.svclog
*.scc

# Visual C++ cache files
ipch/
*.aps
*.ncb
*.opendb
*.opensdf
*.sdf
*.cachefile
*.VC.db
*.VC.VC.opendb

# Visual Studio profiler
*.psess
*.vsp
*.vspx
*.sap

# Visual Studio Trace Files
*.e2e

# Visual Studio code coverage results
*.coverage
*.coveragexml

# NuGet Packages
*.nupkg
# NuGet Symbol Packages
*.snupkg
# The packages folder can be ignored because of Package Restore
**/[Pp]ackages/*
# except build/, which is used as an MSBuild target.
!**/[Pp]ackages/build/
# Uncomment if necessary however generally it will be regenerated when needed
#!**/[Pp]ackages/repositories.config
# NuGet v3's project.json files produces more ignorable files
*.nuget.props
*.nuget.targets

# Windows Store app package directories and files
AppPackages/
BundleArtifacts/
Package.StoreAssociation.xml
_pkginfo.txt
*.appx
*.appxbundle
*.appxupload

# 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
orleans.codegen.cs

# Cake - Uncomment if you are using it
# tools/**
# !tools/packages.config

# MSBuild Binary and Structured Log
*.binlog

# Local History for Visual Studio
.localhistory/

# Visual Studio History (VSHistory) files
.vshistory/
22 changes: 22 additions & 0 deletions LICENSE.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
The MIT License (MIT)

Copyright © 2023 mntone


Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the “Software”), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
41 changes: 41 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
# R/WinRT

"R/WinRT" is ease-to-use resources access for MRTCore.

![R/WinRT](https://user-images.githubusercontent.com/901816/213721626-0c74d357-0166-48a3-8f58-99b4e7adbdd3.png)

## Requirements

R/WinRT have the following system requirements:

- .NET Framework 4.5 or later

## Usages

- Install the package from the NuGet:<br>
https://www.nuget.org/packages/Mntone.RWinRT

## Development

You'll need the following software:

- Visual Studio 2022 Version 17.4 or later (no test in earlier version)
- Desktop development with C++
- .NET Desktop development
- Windows 10 SDK, version 1809 (10.0.17763.0)<br>
https://developer.microsoft.com/en-us/windows/downloads/sdk-archive/

1. Clone the repository:

```sh
git clone https://github.com/mntone/RWinRT.git
```
2. Open the `RWinRT.sln` file.

## Authors

- mntone - Initial work.

## License

R/WinRT is licensed under the MIT license - see the [LICENSE.txt](https://github.com/mntone/RWinRT/blob/main/LICENSE.txt) file for details.
Loading

0 comments on commit bd0f7f3

Please sign in to comment.