lleventinfo.h

Go to the documentation of this file.
00001 
00032 #ifndef LL_LLEVENTINFO_H
00033 #define LL_LLEVENTINFO_H
00034 
00035 #include <map>
00036 
00037 #include "v3dmath.h"
00038 #include "lluuid.h"
00039 #include "lluserauth.h"
00040 
00041 class LLMessageSystem;
00042 
00043 class LLEventInfo
00044 {
00045 public:
00046         LLEventInfo() {}
00047         LLEventInfo(F32 global_x, F32 global_y, const char* name, U32 id, S32 unix_time, U32 event_flags);
00048 
00049         void unpack(LLMessageSystem *msg);
00050 
00051         static void loadCategories(LLUserAuth::options_t event_options);
00052 
00053 public:
00054         std::string mName;
00055         U32                     mID;
00056         std::string mDesc;
00057         std::string mCategoryStr;
00058         U32                     mDuration;
00059         std::string     mTimeStr;
00060         LLUUID          mRunByID;
00061         LLString        mSimName;
00062         LLVector3d      mPosGlobal;
00063         U32                     mUnixTime; // seconds from 1970
00064         BOOL            mHasCover;
00065         U32                     mCover;
00066         U32                     mEventFlags;
00067         BOOL            mSelected;
00068 
00069         typedef std::map<U32, std::string> cat_map;
00070         static  cat_map sCategories;
00071 };
00072 
00073 #endif // LL_LLEVENTINFO_H

Generated on Thu Jul 1 06:08:29 2010 for Second Life Viewer by  doxygen 1.4.7