reference

This documentation is automatically generated from the openFrameworks source code using doxygen and refers to the most recent release, version 0.12.0.

ofSystemUtils.h
Go to the documentation of this file.
1#pragma once
2
3#include <string>
4
8public:
10
13 std::string getName();
14
16 std::string getPath();
17
18 std::string filePath;
19 std::string fileName;
20 bool bSuccess;
21};
22
24void ofSystemAlertDialog(std::string errorMessage);
25
31ofFileDialogResult ofSystemLoadDialog(std::string windowTitle="", bool bFolderSelection = false, std::string defaultPath="");
32
37ofFileDialogResult ofSystemSaveDialog(std::string defaultName, std::string messageName);
38
42std::string ofSystemTextBoxDialog(std::string question, std::string text="");
file dialog box selection or save result
Definition ofSystemUtils.h:7
ofFileDialogResult()
Definition ofSystemUtils.cpp:253
std::string filePath
full path to selected file or directory
Definition ofSystemUtils.h:18
bool bSuccess
true if the dialog action was successful, aka file select not cancel
Definition ofSystemUtils.h:20
std::string fileName
selected file or directory name
Definition ofSystemUtils.h:19
std::string getName()
Definition ofSystemUtils.cpp:260
std::string getPath()
Definition ofSystemUtils.cpp:265
ofFileDialogResult ofSystemSaveDialog(std::string defaultName, std::string messageName)
show a file save dialog box
Definition ofSystemUtils.cpp:501
std::string ofSystemTextBoxDialog(std::string question, std::string text="")
show a text entry dialog box
Definition ofSystemUtils.cpp:598
void ofSystemAlertDialog(std::string errorMessage)
show an error message in an alert dialog box
Definition ofSystemUtils.cpp:271
ofFileDialogResult ofSystemLoadDialog(std::string windowTitle="", bool bFolderSelection=false, std::string defaultPath="")
show a file load dialog box
Definition ofSystemUtils.cpp:334