summaryrefslogtreecommitdiff
path: root/StructEnumDefinition_UltracopierSpecific.h
blob: 4f4fd89b1887cec592cc99afe2025d0c71a08e21 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
/** \file StructEnumDefinition_UltracopierSpecific.h
\brief Define the structure and enumeration used in ultracopier only
\author alpha_one_x86
\licence GPL3, see the file COPYING */

#include <QString>
#include <QList>
#include <QDomElement>

#ifndef STRUCTDEF_ULTRACOPIERSPECIFIC_H
#define STRUCTDEF_ULTRACOPIERSPECIFIC_H

enum PluginType
{
	PluginType_Unknow,
	PluginType_CopyEngine,
	PluginType_Languages,
	PluginType_Listener,
	PluginType_PluginLoader,
	PluginType_SessionLoader,
	PluginType_Themes
};

/// \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;
};

enum DebugLevel_custom
{
	DebugLevel_custom_Information,
	DebugLevel_custom_Critical,
	DebugLevel_custom_Warning,
	DebugLevel_custom_Notice,
	DebugLevel_custom_UserNote
};

enum ActionOnManualOpen
{
	ActionOnManualOpen_Nothing=0x00,
	ActionOnManualOpen_Folder=0x01,
	ActionOnManualOpen_Files=0x02
};

#endif // STRUCTDEF_ULTRACOPIERSPECIFIC_H