Bo Peng wrote:
On Sat, Mar 29, 2008 at 10:37 AM, <[EMAIL PROTECTED]> wrote:
Author: rgheck
Date: Sat Mar 29 16:37:22 2008
New Revision: 24040
URL: http://www.lyx.org/trac/changeset/24040
Log:
Add calcInzipName.
+ /// calculate inzip_name_ from filename
+ static std::string
+ calcInzipName(std::string const & file, std::string const &
path);
+ /// calculate inzip_name_ from filename
I do not think this is necessary. If you plan to call calcInzipName
from another class, it is simple enough to create a temporary
EmbeddedFile and retrieve its inzipname.
But that's a waste of CPU, isn't it? Why create the temporary only so
you can call one of its methods?
rh