summaryrefslogtreecommitdiff
path: root/plugingui/testmain.cc
diff options
context:
space:
mode:
Diffstat (limited to 'plugingui/testmain.cc')
-rw-r--r--plugingui/testmain.cc7
1 files changed, 7 insertions, 0 deletions
diff --git a/plugingui/testmain.cc b/plugingui/testmain.cc
index 91effc4..1195ceb 100644
--- a/plugingui/testmain.cc
+++ b/plugingui/testmain.cc
@@ -29,12 +29,19 @@
#include <hugin.hpp>
#include <settings.h>
+#include <config.h>
#include "mainwindow.h"
#include "window.h"
+#include "resource.h"
+#include "uitranslation.h"
int main()
{
+#ifdef WITH_NLS
+ UITranslation translation;
+#endif // WITH_NLS
+
INFO(example, "We are up and running");
void* native_window_handle{nullptr};