#ifndef __RecordLanguage_h_ #define __RecordLanguage_h_ #include "../shared/SocketInfo.h" #include "../ax_alert_server/Types.h" // Record this user's language preference in the database. The result will // look a lot like a client use case. // // Ideally this might have been a client use case. We didn't think about it, // and this was the fastest easiest way to find and record the data. // // This function will send the request to another thread and return // immediately. The other thread will take care of it's own database needs. void recordLanguage(UserId userId, std::string language); #endif