Skip to content

Commit

Permalink
Make Core class abstract sealed.
Browse files Browse the repository at this point in the history
  • Loading branch information
Pavel Kovalenko committed Oct 23, 2014
1 parent f6c7adb commit 45c337d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 7 deletions.
2 changes: 0 additions & 2 deletions src/editors/xrManagedApi/core/Core.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,6 @@ namespace ManagedApi
namespace Core
{

Core::Core() { }

static void LogCallbackWrapper(const char* msg)
{
if (!Core::ManagedLogCallback)
Expand Down
8 changes: 3 additions & 5 deletions src/editors/xrManagedApi/core/Core.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,12 @@ namespace ManagedApi
namespace Core
{

public ref class Core
public delegate void LogCallback(String^ str);

public ref class Core abstract sealed
{
public:
delegate void LogCallback(String^ str);
internal:
static LogCallback^ ManagedLogCallback;
private:
Core();
public:
static void Initialize(String^ appName, LogCallback^ logCallback, bool initFs, String^ fsFileName);
static void Initialize(String^ appName, LogCallback^ logCallback, bool initFs);
Expand Down

0 comments on commit 45c337d

Please sign in to comment.