summaryrefslogtreecommitdiff
path: root/StructEnumDefinition_UltracopierSpecific.h
diff options
context:
space:
mode:
Diffstat (limited to 'StructEnumDefinition_UltracopierSpecific.h')
-rw-r--r--StructEnumDefinition_UltracopierSpecific.h60
1 files changed, 30 insertions, 30 deletions
diff --git a/StructEnumDefinition_UltracopierSpecific.h b/StructEnumDefinition_UltracopierSpecific.h
index 4f4fd89..480b7cb 100644
--- a/StructEnumDefinition_UltracopierSpecific.h
+++ b/StructEnumDefinition_UltracopierSpecific.h
@@ -3,53 +3,53 @@
\author alpha_one_x86
\licence GPL3, see the file COPYING */
-#include <QString>
-#include <QList>
+#include <string>
+#include <vector>
#include <QDomElement>
#ifndef STRUCTDEF_ULTRACOPIERSPECIFIC_H
#define STRUCTDEF_ULTRACOPIERSPECIFIC_H
-enum PluginType
+enum PluginType : uint8_t
{
- PluginType_Unknow,
- PluginType_CopyEngine,
- PluginType_Languages,
- PluginType_Listener,
- PluginType_PluginLoader,
- PluginType_SessionLoader,
- PluginType_Themes
+ PluginType_Unknow=0,
+ PluginType_CopyEngine=1,
+ PluginType_Languages=2,
+ PluginType_Listener=3,
+ PluginType_PluginLoader=4,
+ PluginType_SessionLoader=5,
+ PluginType_Themes=6
};
/// \brief structure to store the general plugin related information
struct PluginsAvailable
{
- PluginType category;
- QString path;
- QString name;
- QString writablePath;
- QDomElement categorySpecific;
- QString version;
- QList<QStringList> informations;
- QString errorString;
- bool isWritable;
- bool isAuth;
+ PluginType category;
+ std::string path;
+ std::string name;
+ std::string writablePath;
+ QDomElement categorySpecific;
+ std::string version;
+ std::vector<std::vector<std::string> > informations;
+ std::string errorString;
+ bool isWritable;
+ bool isAuth;
};
-enum DebugLevel_custom
+enum DebugLevel_custom : uint8_t
{
- DebugLevel_custom_Information,
- DebugLevel_custom_Critical,
- DebugLevel_custom_Warning,
- DebugLevel_custom_Notice,
- DebugLevel_custom_UserNote
+ DebugLevel_custom_Information=0,
+ DebugLevel_custom_Critical=1,
+ DebugLevel_custom_Warning=2,
+ DebugLevel_custom_Notice=3,
+ DebugLevel_custom_UserNote=4
};
-enum ActionOnManualOpen
+enum ActionOnManualOpen : uint8_t
{
- ActionOnManualOpen_Nothing=0x00,
- ActionOnManualOpen_Folder=0x01,
- ActionOnManualOpen_Files=0x02
+ ActionOnManualOpen_Nothing=0x00,
+ ActionOnManualOpen_Folder=0x01,
+ ActionOnManualOpen_Files=0x02
};
#endif // STRUCTDEF_ULTRACOPIERSPECIFIC_H