On Tue, Feb 27, 2001 at 12:42:57PM +0100, Lars Gullik Bjønnes wrote:
>
> Note the function name: "IsLyX_FILENAME_" this is not really a check
> that this is in fact a lyx file. So what we should check is that this
> regexp holds: "^.*\.lyx(\..+)$"
Will you do it?
If not I can do it.
> Lgb
On a related issue, I want to move the function that is in
src/insets/includeinset.C,
string unique_id() {
static unsigned int seed = 1000;
std::ostringstream ost;
ost << "file" << ++seed;
// Needed if we use lyxstring.
return ost.str().c_str();
}
since I need to use it in insetgraphics. Where should it go?
support/filetools.[Ch]?
--
José