summaryrefslogtreecommitdiff
path: root/indra/newview/llmachineid.h
diff options
context:
space:
mode:
Diffstat (limited to 'indra/newview/llmachineid.h')
-rw-r--r--indra/newview/llmachineid.h17
1 files changed, 7 insertions, 10 deletions
diff --git a/indra/newview/llmachineid.h b/indra/newview/llmachineid.h
index 6ef8c36fdb..b485910eb8 100644
--- a/indra/newview/llmachineid.h
+++ b/indra/newview/llmachineid.h
@@ -28,23 +28,20 @@
#define LL_LLMACHINEID_H
-class LLMachineID
+class LLMachineID : public LLSingleton<LLMachineID>
{
+ LLSINGLETON(LLMachineID);
public:
- LLMachineID();
- virtual ~LLMachineID();
- static S32 getUniqueID(unsigned char *unique_id, size_t len);
- static S32 init();
-
-protected:
+ S32 getUniqueID(unsigned char *unique_id, size_t len);
private:
+ S32 requestUniqueID();
+private:
+ bool mHasStaticUniqueId;
+ unsigned char mStaticUniqueId[6];
};
-
-
-
#endif // LL_LLMACHINEID_H