chore: import upstream snapshot with attribution
Spell checking / Check Spelling (push) Has been cancelled
Spell checking / Update PR (push) Has been cancelled
Publish Dev Docs Website / build (push) Failing after 1s
Publish Dev Docs Website / deploy (push) Has been skipped
Spell checking / Report (Push) (push) Has been cancelled
Spell checking / Report (PR) (push) Has been cancelled
Spell checking / Check Spelling (push) Has been cancelled
Spell checking / Update PR (push) Has been cancelled
Publish Dev Docs Website / build (push) Failing after 1s
Publish Dev Docs Website / deploy (push) Has been skipped
Spell checking / Report (Push) (push) Has been cancelled
Spell checking / Report (PR) (push) Has been cancelled
This commit is contained in:
@@ -0,0 +1,29 @@
|
||||
#include "pch.h"
|
||||
#include "ProcessResult.h"
|
||||
|
||||
namespace winrt::PowerToys::FileLocksmithLib::Interop::implementation
|
||||
{
|
||||
ProcessResult::ProcessResult(hstring const& name, uint32_t pid, hstring const& user, array_view<hstring const> files)
|
||||
{
|
||||
_name = name;
|
||||
_pid = pid;
|
||||
_user = user;
|
||||
_files = { files.begin(), files.end() };
|
||||
}
|
||||
hstring ProcessResult::name()
|
||||
{
|
||||
return _name;
|
||||
}
|
||||
uint32_t ProcessResult::pid()
|
||||
{
|
||||
return _pid;
|
||||
}
|
||||
hstring ProcessResult::user()
|
||||
{
|
||||
return _user;
|
||||
}
|
||||
com_array<hstring> ProcessResult::files()
|
||||
{
|
||||
return winrt::com_array<hstring>{ _files.begin(), _files.end() };
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user