summaryrefslogtreecommitdiff
path: root/indra/newview/llmachineid.h
diff options
context:
space:
mode:
authorandreykproductengine <andreykproductengine@lindenlab.com>2019-06-27 18:44:29 +0300
committerandreykproductengine <andreykproductengine@lindenlab.com>2019-06-27 18:44:29 +0300
commit03f81254055c487623211aeae330d02980781f67 (patch)
tree07521d45f3bf6af0cda33123628431993665e856 /indra/newview/llmachineid.h
parentfe7232fd2e0da54ebfe1381e8e615aa94a35a1df (diff)
Backed out changeset: 920a0dbf290a Machine id is needed after singletons die
Diffstat (limited to 'indra/newview/llmachineid.h')
-rw-r--r--indra/newview/llmachineid.h17
1 files changed, 10 insertions, 7 deletions
diff --git a/indra/newview/llmachineid.h b/indra/newview/llmachineid.h
index b485910eb8..6ef8c36fdb 100644
--- a/indra/newview/llmachineid.h
+++ b/indra/newview/llmachineid.h
@@ -28,20 +28,23 @@
#define LL_LLMACHINEID_H
-class LLMachineID : public LLSingleton<LLMachineID>
+class LLMachineID
{
- LLSINGLETON(LLMachineID);
public:
- S32 getUniqueID(unsigned char *unique_id, size_t len);
+ LLMachineID();
+ virtual ~LLMachineID();
+ static S32 getUniqueID(unsigned char *unique_id, size_t len);
+ static S32 init();
-private:
- S32 requestUniqueID();
+protected:
private:
- bool mHasStaticUniqueId;
- unsigned char mStaticUniqueId[6];
+
};
+
+
+
#endif // LL_LLMACHINEID_H