From 7f705da5644092d48b48aaacbe3dc232ff5149fc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Konstantin=20K=C3=A4fer?= Date: Thu, 11 Jun 2015 11:07:28 -0400 Subject: Sprite store API --- include/mbgl/util/exception.hpp | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'include/mbgl/util/exception.hpp') diff --git a/include/mbgl/util/exception.hpp b/include/mbgl/util/exception.hpp index da61aa482a..31fa693f8d 100644 --- a/include/mbgl/util/exception.hpp +++ b/include/mbgl/util/exception.hpp @@ -11,6 +11,11 @@ struct Exception : std::runtime_error { inline Exception(const std::string &msg) : std::runtime_error(msg) {} }; +struct SpriteImageException : Exception { + inline SpriteImageException(const char *msg) : Exception(msg) {} + inline SpriteImageException(const std::string &msg) : Exception(msg) {} +}; + struct GlyphRangeLoadingException : Exception { inline GlyphRangeLoadingException(const char *msg) : Exception(msg) {} inline GlyphRangeLoadingException(const std::string &msg) : Exception(msg) {} -- cgit v1.2.1