Commit 46f0088a authored by Mike Kremer's avatar Mike Kremer
Browse files

Added scripting function to directly load selections from files.

git-svn-id: 383ad7c9-94d9-4d36-a494-682f7c89f535
parent 8b65debe
......@@ -451,6 +451,17 @@ class SelectionInterface {
virtual void slotSaveSelection(INIFile& _file) {};
public slots:
/** \brief Scripting slot for loading selections
* Override this slot in order to directly load selections from files.
* @param _objId The target object's id
* @param _filename The file in which the data is stored
virtual void loadSelection(int _objId, const QString& _filename) {};
/** @} */
Supports Markdown
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