mirror of
https://gitea.nishi.boats/pyrite-dev/milsko
synced 2025-12-31 06:30:52 +00:00
37 lines
650 B
C
37 lines
650 B
C
/*!
|
|
* @file Mw/Dialog/FileChooser.h
|
|
* @brief File chooser
|
|
*/
|
|
#ifndef __MW_FILECHOOSER_H__
|
|
#define __MW_FILECHOOSER_H__
|
|
|
|
#include <Mw/MachDep.h>
|
|
#include <Mw/TypeDefs.h>
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
/*!
|
|
* @brief Creates a file chooser
|
|
* @param handle Widget
|
|
* @param title Title text
|
|
* @return Widget
|
|
*/
|
|
MWDECL MwWidget MwFileChooser(MwWidget handle, const char* title);
|
|
|
|
/*!
|
|
* @brief Creates a file chooser
|
|
* @param handle Widget
|
|
* @param title Title text
|
|
* @param dir Show directory only or not
|
|
* @return Widget
|
|
*/
|
|
MwWidget MwFileChooserEx(MwWidget handle, const char* title, int dir);
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
|
|
#endif
|