summaryrefslogtreecommitdiffstats
path: root/src/ui/test/stubs/restext_stub.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/ui/test/stubs/restext_stub.cpp')
-rw-r--r--src/ui/test/stubs/restext_stub.cpp11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/ui/test/stubs/restext_stub.cpp b/src/ui/test/stubs/restext_stub.cpp
new file mode 100644
index 0000000..c1986ca
--- /dev/null
+++ b/src/ui/test/stubs/restext_stub.cpp
@@ -0,0 +1,11 @@
+#include "../../common/restext.h"
+bool GetResource(ResType /* type */, int /* num */, char* /* text */)
+{
+ return true;
+}
+
+bool SearchKey(const char * /* cmd */, InputSlot & /* key */)
+{
+ return true;
+}
+