forked from moai/moai-dev
/
MOAICrittercismAndroid.h
39 lines (29 loc) · 1.1 KB
/
MOAICrittercismAndroid.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
// Copyright (c) 2010-2011 Zipline Games, Inc. All Rights Reserved.
// http://getmoai.com
#ifndef MOAICRITTERCISMANDROID_H
#define MOAICRITTERCISMANDROID_H
#ifndef DISABLE_CRITTERCISM
#include <moaicore/moaicore.h>
//================================================================//
// MOAICrittercismAndroid
//================================================================//
/** @name MOAICrittercismAndroid
@text Wrapper for Crittercism integration on Android devices.
Crittercism provides real-time, actionable crash reports
for mobile apps. Exposed to lua via MOAICrittercism on
all mobile platforms.
*/
class MOAICrittercismAndroid :
public MOAIGlobalClass < MOAICrittercismAndroid, MOAILuaObject > {
private:
//----------------------------------------------------------------//
static int _init ( lua_State* L );
static int _leaveBreadcrumb ( lua_State* L );
public:
DECL_LUA_SINGLETON ( MOAICrittercismAndroid );
MOAICrittercismAndroid ();
~MOAICrittercismAndroid ();
void RegisterLuaClass ( MOAILuaState& state );
};
#endif //DISABLE_CRITTERCISM
#endif //MOAICRITTERCISM_H