Skip to content
This repository was archived by the owner on Apr 19, 2026. It is now read-only.
This repository was archived by the owner on Apr 19, 2026. It is now read-only.

Minimalist example uses deprecated functionality. #4

Description

@stolk

When building StateManager.cpp of the minimalistic exampe, I get:

[armeabi-v7a] Compile++ thumb: biplane <= StateManager.cpp
/home/bram/apps/Proto/Biplane/Android/jni/StateManager.cpp: In static member function 'static void StateManager::ShowAchievements()':
/home/bram/apps/Proto/Biplane/Android/jni/StateManager.cpp:99:46: warning: 'void gpg::AchievementManager::ShowAllUI()' is deprecated (declared at /home/bram/src/gpg-cpp-sdk/android/include/gpg/achievement_manager.h:297) [-Wdeprecated-declarations]
/home/bram/apps/Proto/Biplane/Android/jni/StateManager.cpp: In static member function 'static void StateManager::ShowLeaderboard(char const*)':
/home/bram/apps/Proto/Biplane/Android/jni/StateManager.cpp:106:57: warning: 'void gpg::LeaderboardManager::ShowUI(const string&)' is deprecated (declared at /home/bram/src/gpg-cpp-sdk/android/include/gpg/leaderboard_manager.h:685) [-Wdeprecated-declarations]
/home/bram/apps/Proto/Biplane/Android/jni/StateManager.cpp: In static member function 'static void StateManager::InitServices(const PlatformConfiguration&, gpg::GameServices::Builder::OnAuthActionStartedCallback, gpg::GameServices::Builder::OnAuthActionFinishedCallback)':
/home/bram/apps/Proto/Biplane/Android/jni/StateManager.cpp:120:64: warning: 'gpg::GameServices::Builder& gpg::GameServices::Builder::SetLogging(gpg::GameServices::Builder::OnLogCallback, gpg::LogLevel)' is deprecated (declared at /home/bram/src/gpg-cpp-sdk/android/include/gpg/builder.h:57) [-Wdeprecated-declarations]

This example needs to be rewritten to conform to the current API.

Activity

  1. samtstern commented on Dec 1, 2014

    @samtstern

    That's true. If you need a correct implementation right now, check out StateManager in the new cross platform sample. Feel free to submit a PR here if you'd like to make the change.

  2. stolk commented on Dec 1, 2014

    @stolk
    Author

    I will switch over to the cross platform repository.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions