Blame view

ios/Runner/Wowgame/Classes/game_animal/AniAlertUtils.h 746 Bytes
5daad4bc   xiaoyu   游戏源码添加编译(现存问题:游戏内...
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
  //
  //  AniAlertUtils.h
  //  SteveMaggieCpp
  //
  //  Created by Katarzyna Kalinowska-Górska on 02.06.2017.
  //
  //
  
  #ifndef AniStringUtils_h
  #define AniStringUtils_h
  
  #include <string>
  #include <vector>
  #include <functional>
  class AniAlertUtils
  {
  public:
      
      static void showTwoButtonDialog(int tag, std::string text, std::string okButtonText, std::string cancelButtonText, std::function<void()> onOKCallback, std::function<void()> onCancelCallback = [](){});
      static bool closeDialogIfNecessary(int tag);
      
68a4c50a   xiaoyu   Merge remote-trac...
22
  //#if (CC_TARGET_PLATFORM == CC_PLATFORM_ANDROID)
5daad4bc   xiaoyu   游戏源码添加编译(现存问题:游戏内...
23
24
      static void showAppCloseConfirmDialog(std::function<void()> onCancelCallback);
      static bool closeAppCloseConfirmDialogIfNecessary();
68a4c50a   xiaoyu   Merge remote-trac...
25
  //#endif
5daad4bc   xiaoyu   游戏源码添加编译(现存问题:游戏内...
26
27
28
  };
  
  #endif /* AniAlertUtils_h */