Commit afd5ef2e authored by Martin Kampas's avatar Martin Kampas

Move SandboxFileEngineHandler from tests to libssu

parent 16fe343d
......@@ -7,6 +7,7 @@ public_headers = \
HEADERS = \
$${public_headers} \
sandboxfileenginehandler_p.h \
ssucoreconfig.h \
ssudeviceinfo.h \
ssulog.h \
......@@ -15,6 +16,7 @@ HEADERS = \
ssurepomanager.h \
SOURCES = \
sandboxfileenginehandler.cpp \
ssu.cpp \
ssucoreconfig.cpp \
ssudeviceinfo.cpp \
......
......@@ -5,7 +5,7 @@
* @date 2013
*/
#include "sandboxfileenginehandler.h"
#include "sandboxfileenginehandler_p.h"
#include <QtCore/QDir>
#include <QtCore/QFSFileEngine>
......
/**
* @file sandboxfileenginehandler.h
* @file sandboxfileenginehandler_p.h
* @copyright 2013 Jolla Ltd.
* @author Martin Kampas <martin.kampas@tieto.com>
* @date 2013
*/
#ifndef _SANDBOXINGFILEENGINEHANDLER_H
#define _SANDBOXINGFILEENGINEHANDLER_H
#ifndef _SANDBOXINGFILEENGINEHANDLER_P_H
#define _SANDBOXINGFILEENGINEHANDLER_P_H
#include <QtCore/QAbstractFileEngineHandler>
......
#include <dlfcn.h>
#include "sandboxfileenginehandler.h"
#include "libssu/sandboxfileenginehandler_p.h"
extern "C" void qt_startup_hook()
{
......
include(../testutils/testutils.pri)
include(../../libssu/libssu.pri)
......@@ -3,11 +3,9 @@ include(../testlibrary.pri)
HEADERS = \
process.h \
sandboxfileenginehandler.h \
SOURCES = \
process.cpp \
sandboxfileenginehandler.cpp \
exec_wrapper.path = $$TESTS_PATH
exec_wrapper.files = runtest.sh
......
......@@ -7,7 +7,7 @@
#include <QtTest/QtTest>
#include "testutils/sandboxfileenginehandler.h"
#include "libssu/sandboxfileenginehandler_p.h"
#include "urlresolvertest.cpp"
int main(int argc, char **argv){
......
include(../../libssu/libssu.pri)
include(../testutils/testutils.pri)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment