~thumper/nux/next-changes

« back to all changes in this revision

Viewing changes to NuxCore/GlobalInitializer.h

  • Committer: Tim Penhey
  • Date: 2011-08-17 01:04:43 UTC
  • Revision ID: tim.penhey@canonical.com-20110817010443-g2apn9sc0db8u4eq
Add a force shutdown method to the GlobalInitializer.

Show diffs side-by-side

added added

removed removed

Lines of Context:
23
23
#ifndef NGLOBALINITIALIZER_H
24
24
#define NGLOBALINITIALIZER_H
25
25
 
 
26
#include "Macros.h"
 
27
#include "System.h"
 
28
 
26
29
#ifdef _WIN32
27
30
#define NUX_GLOBAL_OBJECT_INIT_SEQUENCE()                       \
28
31
        NUX_GLOBAL_OBJECT_VARIABLE(NGlobalData);                \
100
103
  public:
101
104
    GlobalInitializer();
102
105
    ~GlobalInitializer();
 
106
 
 
107
    static void ForceShutdown();
103
108
  private:
104
109
    static int m_Count;
105
110
  };