Commit e56d617f authored by Jan Möbius's avatar Jan Möbius

Changed AddEmpty slot from FileInterface

git-svn-id: http://www.openflipper.org/svnrepo/OpenFlipper/branches/Free@7860 383ad7c9-94d9-4d36-a494-682f7c89f535
parent fd443e0f
......@@ -133,6 +133,15 @@ public:
public slots:
/** \brief Create an empty object
*
* When this slot is called you have to create an object of your supported type.
* @return Id of the new Object
* \todo Add an addEmpty function with a given type as an attribute. The plugin should then create only an
* empty object of the given type. It can be assumed that there is only one type given at a time.
*/
virtual int addEmpty() {};
/** \brief Load an object from the given file
*
* The Core will call this slot if you should load a file. The core will
......
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