16 lines
362 B
C++
16 lines
362 B
C++
#include<hgl/platform/Platform.h>
|
|
#include<android/native_activity.h>
|
|
|
|
namespace hgl
|
|
{
|
|
namespace logger
|
|
{
|
|
void SetLocalAppdataPath(const char *fn);
|
|
}//namespace logger
|
|
|
|
void InitAndroidSupport(struct ANativeActivity *native_activity)
|
|
{
|
|
logger::SetLocalAppdataPath(native_activity->internalDataPath);
|
|
}
|
|
}//namespace hgl
|