-/* $Id$
-
-This file is part of libmspdatafile
-Copyright © 2006-2008, 2010 Mikko Rasa, Mikkosoft Productions
-Distributed under the LGPL
-*/
-
-#include <msp/strings/formatter.h>
+#include <msp/strings/format.h>
#include "loader.h"
#include "type.h"
Loader::Loader():
cur_st(0),
- allow_pointer_reload(true),
check_sub_loads(false)
{ }
void Loader::add(const string &kwd, LoaderAction *act)
{
- ActionKey key(kwd, act->get_signature());
+ ActionKey key(kwd, (act ? act->get_signature() : "*"));
ActionMap::iterator i = actions.find(key);
if(i!=actions.end())
{