--- /dev/null
+/* $Id$
+
+This file is part of libmspgl
+Copyright © 2007 Mikko Rasa, Mikkosoft Productions
+Distributed under the LGPL
+*/
+
+#ifndef MSP_GL_EXTENSION_H_
+#define MSP_GL_EXTENSION_H_
+
+#include <msp/core/except.h>
+
+namespace Msp {
+namespace GL {
+
+typedef void ExtFunc();
+
+/**
+Indicates whether an extension is supported. If this returns true, the
+functions of that extension are safe to use.
+*/
+bool is_supported(const std::string &);
+
+/**
+Checks that an extension is supported and throws if it isn't.
+*/
+void require_extension(const std::string &);
+
+/**
+Returns the address of an extension function.
+*/
+ExtFunc *get_proc_address(const std::string &);
+
+} // namespace GL
+} // namespace Msp
+
+#endif