00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022 #ifndef SNAC_LOC_H
00023 #define SNAC_LOC_H
00024
00025 #include <libicq2000/SNAC-base.h>
00026
00027 namespace ICQ2000 {
00028
00029
00030 const unsigned short SNAC_LOC_Error = 0x0001;
00031 const unsigned short SNAC_LOC_RightsReq = 0x0002;
00032 const unsigned short SNAC_LOC_Rights = 0x0003;
00033 const unsigned short SNAC_LOC_SetUserInfo = 0x0004;
00034
00035
00036
00037 class LOCFamilySNAC : virtual public SNAC {
00038 public:
00039 unsigned short Family() const { return SNAC_FAM_LOC; }
00040 };
00041
00042 class SetUserInfoSNAC : public LOCFamilySNAC, public OutSNAC {
00043 protected:
00044 void OutputBody(Buffer& b) const;
00045
00046 public:
00047 SetUserInfoSNAC() { }
00048 unsigned short Subtype() const { return SNAC_LOC_SetUserInfo; }
00049 };
00050
00051 }
00052
00053 #endif