#include <stdexcept>
#include <string>
+#include "mspcore_api.h"
#include "noncopyable.h"
namespace Msp {
/**
Base class for applications. See also RegisteredApplication.
*/
-class Application: private NonCopyable
+class MSPCORE_API Application: private NonCopyable
{
protected:
- class Starter
+ class MSPCORE_API Starter
{
protected:
Starter();
Application::run(). */
static void set_startup_info(const char *, void *);
- static void *get_data() { return _data; }
- static const char *get_argv0() { return _argv0; }
- static const std::string &get_name() { return _name; }
+ static void *get_data();
+ static const char *get_argv0();
+ static const std::string &get_name();
protected:
/** Default main loop. Calls tick() repeatedly until exit() is called. A