You've already forked android_translation_layer
mirror of
https://gitlab.com/android_translation_layer/android_translation_layer.git
synced 2025-10-27 11:48:10 -07:00
move AndroidLayout class to own file
This commit is contained in:
16
src/api-impl-jni/views/AndroidLayout.h
Normal file
16
src/api-impl-jni/views/AndroidLayout.h
Normal file
@@ -0,0 +1,16 @@
|
||||
#ifndef ANDROID_LAYOUT_H
|
||||
#define ANDROID_LAYOUT_H
|
||||
|
||||
#include <jni.h>
|
||||
#include <gtk/gtk.h>
|
||||
|
||||
G_DECLARE_FINAL_TYPE(AndroidLayout, android_layout, ATL, ANDROID_LAYOUT, GtkLayoutManager);
|
||||
|
||||
struct _AndroidLayout {
|
||||
GtkLayoutManager parent_instance;
|
||||
jobject view;
|
||||
};
|
||||
|
||||
GtkLayoutManager *android_layout_new(jobject view);
|
||||
|
||||
#endif // ANDROID_LAYOUT_H
|
||||
Reference in New Issue
Block a user