API Documentation
Loading...
Searching...
No Matches
FileResourceModel.h
Go to the documentation of this file.
1#pragma once
2#include <NDEVR/Model.h>
3#if NDEVR_FILE_RESOURCE_MODEL
4namespace NDEVR
5{
6 class NDEVR_DESIGN_API FileResourceModel : public Model
7 {
8 public:
9 enum DataMode
10 {
11 e_embed_data
12 , e_project_folder
13 , e_do_not_move
14 };
15 FileResourceModel();
16 FileResourceModel(const Model& model);
17 void setFile(const File& file);
18 File getFile() const;
19 DataMode dataMode() const;
20 static constexpr const char* TypeName() { return "file_resource"; }
21 };
22}
23#endif
#define NDEVR_DESIGN_API
Definition DLLInfo.h:77
Definition ACIColor.h:37