/* * This file is part of Lucas' Bot. * * Lucas' Bot is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License as published * by the Free Software Foundation, either version 3 of the License, * or (at your option) any later version. Lucas' Bot is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more details. You should have received a copy of the GNU Affero General Public License along with Lucas' Bot. If not, see . */ #ifndef PERSON_DEMO_PERSONCOLLECTION_H #define PERSON_DEMO_PERSONCOLLECTION_H #ifdef _MSC_VER #ifdef EXPORT_PERSON #define PERSON_LIB __declspec(dllexport) #else #define PERSON_LIB __declspec(dllimport) #endif #endif #include #include "Person.h" #include namespace PersonCollection { PERSON_LIB void loadPersonMap(); PERSON_LIB void savePersonMap(); PERSON_LIB void addPerson(MiraiCP::QQID id); PERSON_LIB Person& getPerson(MiraiCP::QQID id); PERSON_LIB void removePerson(MiraiCP::QQID id); PERSON_LIB void registerLocalFile(const std::string&); } #endif //PERSON_DEMO_PERSONCOLLECTION_H