-
Notifications
You must be signed in to change notification settings - Fork 14
/
Copy pathFileBrowserPane.xaml.h
36 lines (30 loc) · 1.26 KB
/
FileBrowserPane.xaml.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
//
// 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;
};
}