-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
clean up code: move App.xaml.h out of pch.h
- Loading branch information
Showing
19 changed files
with
654 additions
and
66 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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 |
---|---|---|
@@ -1,3 +1,63 @@ | ||
#pragma once | ||
|
||
#define DEFAULT_SNAPSHOT L"Assets/no_snapshot.png" | ||
|
||
using namespace Windows::Storage; | ||
|
||
namespace VBA10 | ||
{ | ||
public delegate void ROMSelectedDelegate(StorageFile ^file, StorageFolder ^folder); | ||
|
||
[Windows::UI::Xaml::Data::BindableAttribute] | ||
public ref class StorageFolderModel sealed | ||
{ | ||
private: | ||
public: | ||
property StorageFolder ^Folder; | ||
|
||
property Platform::String ^Name | ||
{ | ||
Platform::String ^get() | ||
{ | ||
return this->Folder->DisplayName; | ||
} | ||
} | ||
|
||
property Platform::String ^Path | ||
{ | ||
Platform::String ^get() | ||
{ | ||
return this->Folder->Path; | ||
} | ||
} | ||
|
||
StorageFolderModel(StorageFolder ^folder); | ||
}; | ||
|
||
[Windows::UI::Xaml::Data::BindableAttribute] | ||
public ref class StorageFileModel sealed | ||
{ | ||
private: | ||
public: | ||
property StorageFile ^File; | ||
property StorageFolder ^Folder; | ||
|
||
property Platform::String ^Name | ||
{ | ||
Platform::String ^get() | ||
{ | ||
return this->File->Name; | ||
} | ||
} | ||
|
||
property Platform::String ^Path | ||
{ | ||
Platform::String ^get() | ||
{ | ||
return this->Folder->Path; | ||
} | ||
} | ||
|
||
StorageFileModel(StorageFile ^file, StorageFolder ^folder); | ||
}; | ||
} |
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
Oops, something went wrong.