Skip to content

Commit

Permalink
add Fl_open_uri and Fl_decode_uri
Browse files Browse the repository at this point in the history
  • Loading branch information
MoAlyousef committed Sep 23, 2024
1 parent 087fcc0 commit 6ec47ed
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
4 changes: 4 additions & 0 deletions include/cfl_utils.h
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,10 @@ int Fl_filename_expand(char *out, int len, const char *in);

const char *Fl_type_name(void *w);

int Fl_open_uri(const char *uri, char *msg, int msglen);

void Fl_decode_uri(char *uri);

#ifdef __cplusplus
}
#endif
Expand Down
8 changes: 8 additions & 0 deletions src/cfl_utils.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,12 @@ int Fl_filename_expand(char *out, int len, const char *in) {

const char *Fl_type_name(void *w) {
return typeid(*(Fl_Widget *)w).name();
}

int Fl_open_uri(const char *uri, char *msg, int msglen) {
return fl_open_uri(uri, msg, msglen);
}

void Fl_decode_uri(char *uri) {
fl_decode_uri(uri);
}

0 comments on commit 6ec47ed

Please sign in to comment.