mirror of
https://github.com/izzy2lost/vba10.git
synced 2026-03-26 18:15:30 -07:00
37 lines
1.3 KiB
C++
37 lines
1.3 KiB
C++
//
|
|
// FileBrowserPane.xaml.h
|
|
// Declaration of the FileBrowserPane class
|
|
//
|
|
|
|
#pragma once
|
|
|
|
#include "FileBrowserPane.g.h"
|
|
#include "Definitions.h"
|
|
#include "cpprest\json.h"
|
|
|
|
|
|
namespace VBA10
|
|
{
|
|
[Windows::Foundation::Metadata::WebHostHidden]
|
|
public ref class FileBrowserPane sealed
|
|
{
|
|
public:
|
|
FileBrowserPane();
|
|
protected:
|
|
virtual void OnNavigatingFrom(Windows::UI::Xaml::Navigation::NavigatingCancelEventArgs^ e) override;
|
|
|
|
private:
|
|
void fileList_SelectionChanged(Platform::Object^ sender, Windows::UI::Xaml::Controls::SelectionChangedEventArgs^ e);
|
|
void closeBtn_Click(Platform::Object^ sender, Windows::UI::Xaml::RoutedEventArgs^ e);
|
|
OneDriveItemType GetOneDriveItemType(std::wstring ext);
|
|
Platform::Collections::Vector<OneDriveFileItem^>^ fileVector;
|
|
Platform::Collections::Vector<Windows::Foundation::Collections::IVector<OneDriveFileItem^>^>^ onedriveStack;
|
|
|
|
void client_GetCompleted(web::json::value v);
|
|
bool loading;//keep track of when the app is loading new data
|
|
void backBtn_Click(Platform::Object^ sender, Windows::UI::Xaml::RoutedEventArgs^ e);
|
|
Concurrency::task<size_t> DownloadFile(OneDriveFileItem^ item, Windows::Storage::CreationCollisionOption collitionOption);
|
|
//Windows::Storage::StorageFile^ tmpfile;
|
|
};
|
|
}
|