#include <jni.h>
#include <map>
#include <string>
#include "base/android/jni_android.h"
#include "base/basictypes.h"
namespace base {
namespace android {
class CPPClass {
public:
CPPClass();
~CPPClass();
class InnerClass {
public:
jdouble MethodOtherP0(JNIEnv* env, jobject obj);
};
void Destroy(JNIEnv* env, jobject obj);
jint Method(JNIEnv* env, jobject obj);
void AddStructB(JNIEnv* env, jobject obj, jobject structb);
void IterateAndDoSomethingWithStructB(JNIEnv* env, jobject obj);
base::android::ScopedJavaLocalRef<jstring> ReturnAString(
JNIEnv* env, jobject obj);
private:
std::map<long, std::string> map_;
DISALLOW_COPY_AND_ASSIGN(CPPClass);
};
}
}