43 lines
956 B
C
43 lines
956 B
C
/*
|
|
Native File Dialog
|
|
|
|
http://www.frogtoss.com/labs
|
|
*/
|
|
|
|
#include <stdio.h>
|
|
#include <assert.h>
|
|
#include <string.h>
|
|
#include "nfd.h"
|
|
#include "nfd_common.h"
|
|
|
|
|
|
const char INIT_FAIL_MSG[] = "gtk_init_check failed to initilaize GTK+";
|
|
|
|
nfdresult_t NFD_OpenDialog( const nfdchar_t *filterList,
|
|
const nfdchar_t *defaultPath,
|
|
nfdchar_t **outPath )
|
|
{
|
|
return NFD_CANCEL;
|
|
}
|
|
|
|
|
|
nfdresult_t NFD_OpenDialogMultiple( const nfdchar_t *filterList,
|
|
const nfdchar_t *defaultPath,
|
|
nfdpathset_t *outPaths )
|
|
{
|
|
return NFD_CANCEL;
|
|
}
|
|
|
|
nfdresult_t NFD_SaveDialog( const nfdchar_t *filterList,
|
|
const nfdchar_t *defaultPath,
|
|
nfdchar_t **outPath )
|
|
{
|
|
return NFD_CANCEL;
|
|
}
|
|
|
|
nfdresult_t NFD_PickFolder(const nfdchar_t *defaultPath,
|
|
nfdchar_t **outPath)
|
|
{
|
|
return NFD_CANCEL;
|
|
}
|