Gbp-Pq: Name 0002-Change-path-of-config-files-to-etc-openni2.patch
#include <XnLog.h>
#include <XnOSCpp.h>
-static const char* ONI_CONFIGURATION_FILE = "OpenNI.ini";
+static const char* ONI_CONFIGURATION_FILE = "/etc/openni2/OpenNI.ini";
static const char* ONI_DEFAULT_DRIVERS_REPOSITORY = "OpenNI2" XN_FILE_DIR_SEP "Drivers";
#define XN_MASK_ONI_CONTEXT "OniContext"
// --------------------------------
// Defines
// --------------------------------
-#define SAMPLE_XML_PATH "../../../../Data/SamplesConfig.xml"
+#define SAMPLE_XML_PATH "/etc/openni2/SamplesConfig.xml"
// --------------------------------
// Types