-
Notifications
You must be signed in to change notification settings - Fork 6
Adding Custom Application Support
Michael Albert edited this page Jan 23, 2018
·
1 revision
Common applications found in the package manager of the containers are supported by default (with internet connection). This page describes how to add support for custom applications, or modify how applications from a package manager are handled.
Adding custom application support requires a basic knowledge of C++.
Create a class that overrides (is a child-class of) the ApplicationType class in src/applications/include/applicationType.h or any of it's sub-classes.
Make an entry mapping a string application name to an instance of the class in ApplicationTypeMap.cpp (in src/applications). If you want to create an entry called bob, and implemented the class "Bob", add an entry reading {"bob", new Bob()},
to the applicationTypeMap object.