/*! \file import.cpp
** \brief Image Import Layer Implementation
**
+** $Id$
+**
** \legal
** Copyright (c) 2002-2005 Robert B. Quattlebaum Jr., Adrian Bentley
**
SYNFIG_LAYER_SET_LOCAL_NAME(Import,_("Import"));
SYNFIG_LAYER_SET_CATEGORY(Import,_("Other"));
SYNFIG_LAYER_SET_VERSION(Import,"0.1");
-SYNFIG_LAYER_SET_CVS_ID(Import,"$Id: import.cpp,v 1.2 2005/03/19 04:26:42 darco Exp $");
+SYNFIG_LAYER_SET_CVS_ID(Import,"$Id$");
/* === P R O C E D U R E S ================================================= */
{
try{
IMPORT(time_offset);
- if(param=="filename" && value.same_as(filename))
+ if(param=="filename" && value.same_type_as(filename))
{
if(!get_canvas())
{
// Get rid of any %20 crap
{
- unsigned int n;
+ String::size_type n;
while((n=newfilename.find("%20"))!=String::npos)
newfilename.replace(n,3," ");
}