| 58 | } |
| 59 | |
| 60 | ShorthandParserFunc StyleSheetSpecification::getShorthandParser( const std::string& name ) { |
| 61 | if ( mShorthandParsers.find( name ) == mShorthandParsers.end() ) { |
| 62 | Log::error( "Shorthand parser \"%s\" not found.", name.c_str() ); |
| 63 | return mShorthandParsers["empty"]; |
| 64 | } |
| 65 | return mShorthandParsers[name]; |
| 66 | } |
| 67 | |
| 68 | DrawableImageParser& StyleSheetSpecification::getDrawableImageParser() { |
| 69 | return mDrawableImageParser; |