50 #ifndef FILEPOLYLINEPLUGIN_HH 51 #define FILEPOLYLINEPLUGIN_HH 62 #include <OpenFlipper/BasePlugin/INIInterface.hh> 75 #if QT_VERSION >= 0x050000 76 Q_PLUGIN_METADATA(IID
"org.OpenFlipper.Plugins.Plugin-FilePolyLine")
80 void openedFile(
int _id );
81 void addEmptyObject(
DataType _type,
int& _id);
82 void load(QString _filename,
DataType _type,
int& _id);
83 void save(
int _id , QString _filename );
84 void log(
Logtype _type, QString _message);
85 void log(QString _message);
87 void emptyObjectAdded(
int _id );
90 void pluginExists(QString _pluginName,
bool &_exists);
91 void functionExists(QString _pluginName, QString _functionName,
bool &_exists);
95 void fileOpened(
int ){};
97 void loadIniFileLast(
INIFile& _ini ,
int _id );
107 QString
name() {
return (QString(
"FilePolyLine")); };
108 QString
description( ) {
return (QString(tr(
"Load/Save Poly Lines"))); };
120 int loadObject(QString _filename);
122 bool saveObject(
int _id, QString _filename);
124 QString version() {
return QString(
"1.01"); };
128 #endif //FILEPOLYLINEPLUGIN_HH
Logtype
Log types for Message Window.
void saveIniFile(INIFile &_ini, int _id)
Save per object settings.
Interface for all Plugins which provide scriptable Functions.
Interface class for Plugins which have to store information in ini files.
Interface class from which all plugins have to be created.
void initializePlugin()
Initialize Plugin.
Interface for all Plugins which do logging to the logging window of the framework.
QString name()
Return a name for the plugin.
Class for the handling of simple configuration files.
Interface class for file handling.
QWidget * saveOptionsWidget(QString)
Interface for all plugins which want to Load or Save files and create Objects.
DataType supportedType()
Return your supported object type( e.g. DATA_TRIANGLE_MESH )
QString description()
Return a description of what the plugin is doing.
QWidget * loadOptionsWidget(QString)