diff options
author | Alan Coopersmith <alan.coopersmith@oracle.com> | 2011-10-14 21:22:26 -0700 |
---|---|---|
committer | Alan Coopersmith <alan.coopersmith@oracle.com> | 2011-10-14 21:22:26 -0700 |
commit | 64eacd3665306283d126d0df7cf63a071e576c38 (patch) | |
tree | ce66de2e26c9a32eb1baf7e6330439191b9804ca /Bitmap.h | |
parent | ca7bf97b6e83b25e7142b321e5f2325b1e47c2d0 (diff) |
Constify filename string handling
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Diffstat (limited to 'Bitmap.h')
-rw-r--r-- | Bitmap.h | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -224,12 +224,12 @@ extern void BWGrabSelection ( Widget w, Time btime ); extern void BWRequestSelection ( Widget w, Time btime, Boolean wait ); extern void BWSetChanged ( Widget w ); extern Boolean BWQueryChanged ( Widget w ); -extern int BWReadFile ( Widget w, String filename, String basename ); -extern int BWWriteFile ( Widget w, String filename, String basename ); +extern int BWReadFile ( Widget w, _Xconst _XtString filename, _Xconst _XtString basename ); +extern int BWWriteFile ( Widget w, _Xconst _XtString filename, _Xconst _XtString basename ); extern String BWUnparseStatus ( Widget w ); extern String BWGetFilename ( Widget w, String *str ); extern String BWGetBasename ( Widget w, String *str ); -extern void BWChangeBasename ( Widget w, String str ); +extern void BWChangeBasename ( Widget w, _Xconst _XtString str ); extern void BWRemoveAllRequests ( Widget w ); extern void BWClearHotSpot ( Widget w ); extern Boolean BWQueryMarked ( Widget w ); @@ -264,10 +264,10 @@ extern Boolean BWQueryDashed ( Widget w ); extern Boolean BWQueryProportional ( Widget w ); extern void BWSwitchProportional ( Widget w ); extern void BWDrawGrid ( Widget w, Position from_x, Position from_y, Position to_x, Position to_y ); -extern void BWChangeFilename ( Widget w, String str ); +extern void BWChangeFilename ( Widget w, _Xconst _XtString str ); extern Boolean BWParseSize ( String size, Dimension *width, Dimension *height ); extern Boolean BWQuerySelection ( Widget w, Time btime ); -extern int BWStoreFile ( Widget w, String filename, String *basename ); +extern int BWStoreFile ( Widget w, _Xconst _XtString filename, _Xconst _XtString *basename ); extern void BWNotify ( Widget w, XtActionProc proc ); extern void BWTMark ( Widget w, XEvent *event, String *params, Cardinal *num_params ); extern void BWTMarkAll ( Widget w, XEvent *event, String *params, Cardinal *num_params ); |