Re: PalmDoc document title


Subject: Re: PalmDoc document title
From: Dom Lachowicz (cinamod@hotmail.com)
Date: Thu Apr 05 2001 - 11:17:10 CDT


Hi Kenny,

You can put utility functions and definitions in src/af/util/*

See xp/ut_misc.[cpp|h] and the ut_XXXString.cpp files. This'd be a great
place to put a platform-specific function like that.

Dom

>From: K J MacDonald <kenny@holyrood.ed.ac.uk>
>To: <abiword-dev@abisource.com>
>Subject: PalmDoc document title
>Date: Thu, 5 Apr 2001 15:40:57 +0100 (BST)
>
>Bit of a feature request really after I ground to a halt implementing
>this...
>
>Ideally, I'd like the PalmDoc exporter to open a dialogue to prompt for
>the document's category (numeric) and title (string), but what I really
>wanted was for it to title the document with the basename of the filename,
>rather than the full pathname.
>
>However, the basename function would depend on the directory separator, so
>it's not cross platform.
>
>I noticed that the wv module has a cut down glib in it. glib has a nice
>little g_basename implementation.
>
>Is there somewhere else where such small helper functions can be placed,
>rather than in wv?
>
>Cheers,
>
>Kenny.
>--
>ADML Support, EUCS, The University of Edinburgh
>http://www.ed.ac.uk/~kenny
>
>

_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com



This archive was generated by hypermail 2b25 : Thu Apr 05 2001 - 11:17:13 CDT