Nui
Loading...
Searching...
No Matches
file.hpp
Go to the documentation of this file.
1#pragma once
2
4
5#include <chrono>
6#include <string>
7
8namespace Nui::WebApi
9{
13 class File : public ValWrapper
14 {
15 public:
16 explicit File(Nui::val file);
17
18 std::chrono::system_clock::time_point lastModified() const;
19 std::string name() const;
20 std::string webkitRelativePath() const;
21 };
22}
Common base class for classes that are just wrapping around val into js world.
Definition val_wrapper.hpp:11
Definition file.hpp:14
std::chrono::system_clock::time_point lastModified() const
Definition file.cpp:8
std::string name() const
Definition file.cpp:13
std::string webkitRelativePath() const
Definition file.cpp:17
Definition abort_controller.hpp:8
emscripten::val val
Definition val.hpp:5