llfloaternewim.h

Go to the documentation of this file.
00001 
00032 #ifndef LL_FLOATER_NEW_IM_H
00033 #define LL_FLOATER_NEW_IM_H
00034 
00035 #include "llfloater.h"
00036 
00037 class LLNameListCtrl;
00038 
00039 class LLFloaterNewIM : public LLFloater
00040 {
00041 public:
00042         LLFloaterNewIM();
00043         /*virtual*/ ~LLFloaterNewIM();
00044 
00045         /*virtual*/ BOOL postBuild();
00046 
00047         /*virtual*/ BOOL handleKeyHere(KEY key, MASK mask, BOOL called_from_parent);
00048         virtual BOOL canClose();
00049         virtual void close(bool app_quitting);
00050 
00051         static void     onStart(void* userdata);
00052         static void onClickClose(void* userdata);
00053 
00054         void clearAllTargets();
00055 
00056         // add a scroll list item which has everything specified - useful
00057         // for special IM targets like everyone.
00058         void addSpecial(const LLUUID& uuid, const std::string& name, 
00059                 void* data, BOOL bold, BOOL online);
00060 
00061         // add a scroll list item for an agent - the name will be autoupdated
00062         // as it appears
00063         void addAgent(const LLUUID& uuid, void* data, BOOL online);
00064         void addGroup(const LLUUID& uuid, void* data, BOOL bold, BOOL online);
00065 
00066         void addDefaultTargets();
00067         BOOL isUUIDAvailable(const LLUUID& uuid);
00068 
00069         S32             getScrollPos();
00070         void    setScrollPos( S32 pos );
00071 
00072 protected:
00073         LLNameListCtrl* mSelectionList;
00074 };
00075 
00076 #endif  // LL_NEWIMPANEL_H

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