flip_social_messages.h 994 B

123456789101112131415161718192021222324252627
  1. #ifndef FLIP_SOCIAL_MESSAGES_H
  2. #define FLIP_SOCIAL_MESSAGES_H
  3. #include "flip_social.h"
  4. #include <callback/flip_social_callback.h>
  5. #include <explore/flip_social_explore.h>
  6. FlipSocialModel2 *flip_social_messages_alloc();
  7. FlipSocialMessage *flip_social_user_messages_alloc();
  8. void flip_social_free_message_users();
  9. void flip_social_free_messages();
  10. bool flip_social_update_messages_submenu();
  11. bool flip_social_update_submenu_user_choices();
  12. // Get all the users that have sent messages to the logged in user
  13. bool flip_social_get_message_users();
  14. // Get all the messages between the logged in user and the selected user
  15. bool flip_social_get_messages_with_user();
  16. // Parse the users that have sent messages to the logged-in user
  17. bool flip_social_parse_json_message_users();
  18. // Parse the users that the logged in user can message
  19. bool flip_social_parse_json_message_user_choices();
  20. // parse messages between the logged in user and the selected user
  21. bool flip_social_parse_json_messages();
  22. #endif