diff win/dw-mingw.def @ 1381:3ba4853d5b78

Initial attempt at dw_app_dir() for OS/2, Windows and Mac... This function will return the best attempt at determining the application data directory for the current platform. The executable directory on OS/2 or Windows. The application bundle directory on Mac. The "share" folder at the same level as the binary (or /usr/local/share if that can't be determined) plus the binary name on Unix.
author bsmith@81767d24-ef19-dc11-ae90-00e081727c95
date Fri, 25 Nov 2011 17:36:59 +0000
parents 896347a9be19
children 0512fbb08abf
line wrap: on
line diff
--- a/win/dw-mingw.def	Thu Nov 24 06:07:40 2011 +0000
+++ b/win/dw-mingw.def	Fri Nov 25 17:36:59 2011 +0000
@@ -21,6 +21,7 @@
   dw_free                                @22
   dw_main_sleep                          @23
   dw_main_iteration                      @24
+  dw_app_dir                             @25
 
   dw_box_new                             @40
   dw_groupbox_new                        @41