Nui
Loading...
Searching...
No Matches
nui
include
nui
frontend
api
file.hpp
Go to the documentation of this file.
1
#pragma once
2
3
#include <
nui/frontend/val_wrapper.hpp
>
4
5
#include <chrono>
6
#include <string>
7
8
namespace
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
}
Nui::ValWrapper
Common base class for classes that are just wrapping around val into js world.
Definition
val_wrapper.hpp:11
Nui::WebApi::File
Definition
file.hpp:14
Nui::WebApi::File::lastModified
std::chrono::system_clock::time_point lastModified() const
Definition
file.cpp:8
Nui::WebApi::File::name
std::string name() const
Definition
file.cpp:13
Nui::WebApi::File::webkitRelativePath
std::string webkitRelativePath() const
Definition
file.cpp:17
Nui::WebApi
Definition
abort_controller.hpp:8
Nui::val
emscripten::val val
Definition
val.hpp:5
val_wrapper.hpp
Generated by
1.9.8