summaryrefslogtreecommitdiff
path: root/core/dictionary.h
diff options
context:
space:
mode:
Diffstat (limited to 'core/dictionary.h')
-rw-r--r--core/dictionary.h9
1 files changed, 6 insertions, 3 deletions
diff --git a/core/dictionary.h b/core/dictionary.h
index dbf2233819..b77cc55254 100644
--- a/core/dictionary.h
+++ b/core/dictionary.h
@@ -31,9 +31,10 @@
#ifndef DICTIONARY_H
#define DICTIONARY_H
-#include "array.h"
-#include "list.h"
-#include "ustring.h"
+#include "core/array.h"
+#include "core/list.h"
+#include "core/ustring.h"
+
class Variant;
struct DictionaryPrivate;
@@ -57,6 +58,7 @@ public:
Variant *getptr(const Variant &p_key);
Variant get_valid(const Variant &p_key) const;
+ Variant get(const Variant &p_key, const Variant &p_default) const;
int size() const;
bool empty() const;
@@ -68,6 +70,7 @@ public:
bool erase(const Variant &p_key);
bool operator==(const Dictionary &p_dictionary) const;
+ bool operator!=(const Dictionary &p_dictionary) const;
uint32_t hash() const;
void operator=(const Dictionary &p_dictionary);