688 B
688 B
Creating a new frontend
- Copy
src/dummy/intosrc/yourfrontend/ - Rename the files from
_dummyto_yourfrontend - Edit
CMakeLists.txtandsrc/CMakeLists.txt - Edit the
FrontendTypeenum inKDDockWidgets.hand add a new enumerator for your frontend - Edit
Platform::frontendTypes()inPlatform.cppand honour your new enumerator, properly ifdefed - In
Platform.cppadd the needed#include "yourplatform/Platform_yourplatform.hinclude - Edit
Platform::tests_initPlatform()and add your enumerator - Edit
Platform_yourfrontend::name()to return an ID for your frontend - Run
./bin/tst_platform -tc="Platform::Platform,Platform::name", make sure it passes