aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/newview/llfloaterreporter.h
diff options
context:
space:
mode:
authorJacek Antonelli2008-08-15 23:44:50 -0500
committerJacek Antonelli2008-08-15 23:44:50 -0500
commit89fe5dab825a62a0e3fd8d248cbc91c65eb2a426 (patch)
treebcff14b7888d04a2fec799c59369f6095224bd08 /linden/indra/newview/llfloaterreporter.h
parentSecond Life viewer sources 1.13.3.2 (diff)
downloadmeta-impy-89fe5dab825a62a0e3fd8d248cbc91c65eb2a426.zip
meta-impy-89fe5dab825a62a0e3fd8d248cbc91c65eb2a426.tar.gz
meta-impy-89fe5dab825a62a0e3fd8d248cbc91c65eb2a426.tar.bz2
meta-impy-89fe5dab825a62a0e3fd8d248cbc91c65eb2a426.tar.xz
Second Life viewer sources 1.14.0.0
Diffstat (limited to 'linden/indra/newview/llfloaterreporter.h')
-rw-r--r--linden/indra/newview/llfloaterreporter.h12
1 files changed, 9 insertions, 3 deletions
diff --git a/linden/indra/newview/llfloaterreporter.h b/linden/indra/newview/llfloaterreporter.h
index af01771..5e25d59 100644
--- a/linden/indra/newview/llfloaterreporter.h
+++ b/linden/indra/newview/llfloaterreporter.h
@@ -40,6 +40,7 @@ class LLViewerObject;
40class LLAgent; 40class LLAgent;
41class LLToolObjPicker; 41class LLToolObjPicker;
42class LLMeanCollisionData; 42class LLMeanCollisionData;
43struct LLResourceData;
43 44
44// these flags are used to label info requests to the server 45// these flags are used to label info requests to the server
45const U32 BUG_REPORT_REQUEST = 0x01 << 0; 46const U32 BUG_REPORT_REQUEST = 0x01 << 0;
@@ -70,7 +71,6 @@ enum EReportType
70 CS_REQUEST_REPORT = 4 71 CS_REQUEST_REPORT = 4
71}; 72};
72 73
73
74class LLFloaterReporter 74class LLFloaterReporter
75: public LLFloater 75: public LLFloater
76{ 76{
@@ -106,11 +106,16 @@ public:
106 static void processRegionInfo(LLMessageSystem* msg); 106 static void processRegionInfo(LLMessageSystem* msg);
107 107
108 void setPickedObjectProperties(const char *object_name, const char *owner_name); 108 void setPickedObjectProperties(const char *object_name, const char *owner_name);
109 void uploadScreenshot();
110 109
111private: 110private:
111 void takeScreenshot();
112 void sendReportViaCaps(std::string url);
113 void uploadImage();
114 bool validateReport();
112 void setReporterID(); 115 void setReporterID();
113 void sendReport(); 116 LLSD gatherReport();
117 void sendReportViaLegacy(const LLSD & report);
118 void sendReportViaCaps(std::string url, std::string sshot_url, const LLSD & report);
114 void setPosBox(const LLVector3d &pos); 119 void setPosBox(const LLVector3d &pos);
115 void enableControls(BOOL own_avatar); 120 void enableControls(BOOL own_avatar);
116 void getObjectInfo(const LLUUID& object_id); 121 void getObjectInfo(const LLUUID& object_id);
@@ -127,6 +132,7 @@ private:
127 BOOL mCopyrightWarningSeen; 132 BOOL mCopyrightWarningSeen;
128 std::list<LLMeanCollisionData*> mMCDList; 133 std::list<LLMeanCollisionData*> mMCDList;
129 LLString mDefaultSummary; 134 LLString mDefaultSummary;
135 LLResourceData* mResourceDatap;
130}; 136};
131 137
132#endif 138#endif