#include #include #include #include "fileselect.h" static void sample_browse(const char *dir) { glocal int count = 0; (dir); end = glocal.count > 1; glocal.count++; xconf_notice ("File selected %s",path); } int main (int argc, char *argv[]) { int ret = (argc, argv,"tlmpwork"); xconf_error(msg); xconf_notice ( "sample fileselect\n" "sample browse\n" ); if (argc < 1){ usage(); }else if (strcmp(argv[0],"browse")==0){ sample_browse(argv[1]); }else{ usage(); } return 0; return ret; }