mirror of
https://github.com/rust-mobile/android-activity.git
synced 2026-07-14 02:28:54 +00:00
86a4ba1662
This general Activity glue crate now supersedes the two separate native-activity and game-activity crates. The adds the functionality of both crates as modules within this new crate but provides a single crate + API that downstream can depend on as an Activity glue layer. The new crate exposes two (mutually-exclusive) features for choosing which Activity backend to build: * "native-activity" * "game-activity" This common crate makes it more practical to write code that's Activity agnostic.
3 lines
149 B
C
3 lines
149 B
C
#include <game-activity/GameActivity.h>
|
|
#include <game-activity/native_app_glue/android_native_app_glue.h>
|
|
#include <game-text-input/gametextinput.h> |