Classes | |
| class | FormIt::Files::FileOptionsList |
| FormIt::Files::FileOptionsList class. More... | |
Functions | |
| FORMIT_CORE_EXPORT FormIt::Files::FileOptionsList | FormIt::Files::GetSupportedFilesList (const FormIt::Files::Action &action, const FormIt::Files::ContentType &type, bool useDevFormat=false, const FormIt::UI::FormItDialogBox &dialog=FormIt::UI::FormItDialogBox::Local) |
| Get Platform's supported files. | |
| FORMIT_CORE_EXPORT bool | FormIt::Files::IsFileSupported (const 1::string &extension, const FormIt::Files::Action &action, const FormIt::Files::ContentType &type, const FormIt::UI::FormItDialogBox &dialog=FormIt::UI::FormItDialogBox::Local) |
| Check if a file extension is supported. | |
| FormIt::Files::DECL (Json, Types::JSON, "Solid-def file (*.json)", "json") | |
| xBaseOption class declaration These string are duplicated in the cpp with a TR() for localization. | |
| FormIt::Files::DECL (Atfx, Types::ATFX, "ATF XML file (*.atfx)", "atfx") | |
| FormIt::Files::DECL (Wmv, Types::WMV, "WMV Video file (*.wmv)", "wmv") | |
| FormIt::Files::DECL (Mp4, Types::MP4, "MP4 Video file (*.mp4)", "mp4") | |
Variables | |
| int | FormIt::Files::m_width |
| xImportsOptions classes declaration | |
| int | FormIt::Files::m_height |
| bool | FormIt::Files::m_doubleSided = false |
| bool | FormIt::Files::m_isAscii = false |
| ::string | FormIt::Files::m_version = "" |
| blank indicates latest version | |
| bool | FormIt::Files::m_withHistory = false |
| FormIt::Files::DECL | ( | Atfx | , |
| Types::ATFX | , | ||
| "ATF XML file (*.atfx)" | , | ||
| "atfx" | |||
| ) |
| FormIt::Files::DECL | ( | Json | , |
| Types::JSON | , | ||
| "Solid-def file (*.json)" | , | ||
| "json" | |||
| ) |
xBaseOption class declaration These string are duplicated in the cpp with a TR() for localization.
If you add a new file type you need to add it to the cpp file as well. < PngBaseOption
| FormIt::Files::DECL | ( | Mp4 | , |
| Types::MP4 | , | ||
| "MP4 Video file (*.mp4)" | , | ||
| "mp4" | |||
| ) |
| FormIt::Files::DECL | ( | Wmv | , |
| Types::WMV | , | ||
| "WMV Video file (*.wmv)" | , | ||
| "wmv" | |||
| ) |
| FORMIT_CORE_EXPORT FormIt::Files::FileOptionsList FormIt::Files::GetSupportedFilesList | ( | const FormIt::Files::Action & | action, |
| const FormIt::Files::ContentType & | type, | ||
| bool | useDevFormat = false, |
||
| const FormIt::UI::FormItDialogBox & | dialog = FormIt::UI::FormItDialogBox::Local |
||
| ) |
Get Platform's supported files.
| action | File action (eg: Load or Save file) | |
| type | File's content type (eg: 3D Model or Image) | |
| type | dev format or not | |
| type | Dialogbox in which we have to show the supported file formats | |
| [in] | useDevFormat | |
| [in] | dialog |
| FORMIT_CORE_EXPORT bool FormIt::Files::IsFileSupported | ( | const 1::string & | extension, |
| const FormIt::Files::Action & | action, | ||
| const FormIt::Files::ContentType & | type, | ||
| const FormIt::UI::FormItDialogBox & | dialog = FormIt::UI::FormItDialogBox::Local |
||
| ) |
Check if a file extension is supported.
| extension | File extension to check if is supported | |
| action | File action (eg: Load or Save file) | |
| type | File's content type (eg: 3D Model or Image) | |
| [in] | dialog |
| bool FormIt::Files::m_doubleSided = false |
| int FormIt::Files::m_height |
| bool FormIt::Files::m_isAscii = false |
| ::string FormIt::Files::m_version = "" |
blank indicates latest version
| int FormIt::Files::m_width |
xImportsOptions classes declaration
< PngImportOptions xExportOptions classes declaration < PngExportOptions
| bool FormIt::Files::m_withHistory = false |