summaryrefslogtreecommitdiff
path: root/indra/llcommon/reflective.h
diff options
context:
space:
mode:
Diffstat (limited to 'indra/llcommon/reflective.h')
-rw-r--r--indra/llcommon/reflective.h24
1 files changed, 24 insertions, 0 deletions
diff --git a/indra/llcommon/reflective.h b/indra/llcommon/reflective.h
new file mode 100644
index 0000000000..1e3501390e
--- /dev/null
+++ b/indra/llcommon/reflective.h
@@ -0,0 +1,24 @@
+/**
+ * @file reflective.h
+ * @author Babbage
+ * @date 2006-05-15
+ * @brief Interface that must be implemented by all reflective classes.
+ *
+ * Copyright (c) 2006-$CurrentYear$, Linden Research, Inc.
+ * $License$
+ */
+
+#ifndef LL_REFLECTIVE_H
+#define LL_REFLECTIVE_H
+
+class LLMetaClass;
+class LLReflective
+{
+public:
+ LLReflective();
+ virtual ~LLReflective();
+
+ virtual const LLMetaClass& getMetaClass() const = 0;
+};
+
+#endif // LL_REFLECTIVE_H