00001 00032 #ifndef LL_LLCLIPBOARD_H 00033 #define LL_LLCLIPBOARD_H 00034 00035 00036 #include "llstring.h" 00037 #include "lluuid.h" 00038 00039 00040 class LLClipboard 00041 { 00042 public: 00043 LLClipboard(); 00044 ~LLClipboard(); 00045 00046 void copyFromSubstring(const LLWString ©_from, S32 pos, S32 len, const LLUUID& source_id = LLUUID::null ); 00047 BOOL canPasteString() const; 00048 const LLWString& getPasteWString(LLUUID* source_id = NULL); 00049 00050 private: 00051 LLUUID mSourceID; 00052 LLWString mString; 00053 }; 00054 00055 00056 // Global singleton 00057 extern LLClipboard gClipboard; 00058 00059 00060 #endif // LL_LLCLIPBOARD_H