Go to the source code of this file.
Classes | |
struct | Bookmark |
struct | BookmarkNode |
struct | BookmarkList |
struct | BookmarkFolder |
struct | Favorites |
Functions | |
String | DecodeURLString (const char *s) |
String DecodeURLString | ( | const char * | s ) |
Definition at line 34 of file favorites.cpp.
References BUFFER_LEN.
Referenced by Bookmark::read_url().
{ TCHAR buffer[BUFFER_LEN]; LPTSTR o = buffer; for(const char* p=s; *p; ++p) if (*p == '%') { if (!strncmp(p+1, "20", 2)) { *o++ = ' '; p += 2; } else *o++ = *p; } else *o++ = *p; return String(buffer, o-buffer); }
ROS Explorer Source Code Documentation
generated on 02.01.2013 by ![]() |