44 #ifndef FILEPOLYLINEPLUGIN_HH 45 #define FILEPOLYLINEPLUGIN_HH 56 #include <OpenFlipper/BasePlugin/INIInterface.hh> 69 Q_PLUGIN_METADATA(IID
"org.OpenFlipper.Plugins.Plugin-FilePolyLine")
72 void openedFile(
int _id );
73 void addEmptyObject(
DataType _type,
int& _id);
74 void load(QString _filename,
DataType _type,
int& _id);
75 void save(
int _id , QString _filename );
76 void log(
Logtype _type, QString _message);
77 void log(QString _message);
79 void emptyObjectAdded(
int _id );
82 void pluginExists(QString _pluginName,
bool &_exists);
83 void functionExists(QString _pluginName, QString _functionName,
bool &_exists);
87 void fileOpened(
int ){};
89 void loadIniFileLast(
INIFile& _ini ,
int _id );
99 QString
name() {
return (QString(
"FilePolyLine")); };
100 QString
description( ) {
return (QString(tr(
"Load/Save Poly Lines"))); };
112 int loadObject(QString _filename);
114 bool saveObject(
int _id, QString _filename);
116 QString version() {
return QString(
"1.01"); };
120 #endif //FILEPOLYLINEPLUGIN_HH
void saveIniFile(INIFile &_ini, int _id)
Save per object settings.
Logtype
Log types for Message Window.
Interface for all Plugins which do logging to the logging window of the framework.
DataType supportedType()
Return your supported object type( e.g. DATA_TRIANGLE_MESH )
QString description()
Return a description of what the plugin is doing.
void initializePlugin()
Initialize Plugin.
Interface class for Plugins which have to store information in ini files.
QWidget * loadOptionsWidget(QString)
Class for the handling of simple configuration files.
Interface for all Plugins which provide scriptable Functions.
QString name()
Return a name for the plugin.
QWidget * saveOptionsWidget(QString)
Interface class from which all plugins have to be created.
Interface class for file handling.
Interface for all plugins which want to Load or Save files and create Objects.