Commit 0156bd68 authored by Mike Kremer's avatar Mike Kremer

Added scripting function to directly load selections from files.

git-svn-id: http://www.openflipper.org/svnrepo/OpenFlipper/branches/Free@11940 383ad7c9-94d9-4d36-a494-682f7c89f535
parent 2eba3eb0
......@@ -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) {};
/** @} */
//===========================================================================
......
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