11 #ifndef __MessageRecipientMode__ 12 #define __MessageRecipientMode__ 14 #include <boost/exception/exception.hpp> 15 #include <boost/exception/all.hpp> 16 #include <boost/shared_ptr.hpp> 18 #include "../Util/Common.h" 19 #include "../Entities/Room.h" 20 #include "../Entities/User.h" 23 #pragma warning(disable:4786) // STL library: disable warning 4786; this warning is generated due to a Microsoft bug 31 enum MessageRecipientType
33 MESSAGERECIPIENTTYPE_TO_USER = 0,
34 MESSAGERECIPIENTTYPE_TO_ROOM = 1,
35 MESSAGERECIPIENTTYPE_TO_GROUP = 2,
36 MESSAGERECIPIENTTYPE_TO_ZONE = 3
75 boost::shared_ptr<User> TargetUser();
76 boost::shared_ptr<Room> TargetRoom();
77 boost::shared_ptr<string> TargetString();
79 boost::shared_ptr<vector<boost::shared_ptr<User> > > TargetUsersCollection();
106 boost::shared_ptr<User> targetUser;
107 boost::shared_ptr<Room> targetRoom;
108 boost::shared_ptr<string> targetString;
109 boost::shared_ptr<long int> targetInt;
110 boost::shared_ptr<vector<boost::shared_ptr<User> > > targetUsersCollection;
This class is used to specify the recipient mode for Moderator Messages and Administrator Message...
Definition: MessageRecipientMode.h:53
Definition: SmartFox.cpp:24