20
#include <QHostAddress>
21
#include <QNetworkInterface>
20
#include <QVariantMap>
24
22
namespace Defaults {
28
extern bool CompressFiles;
29
extern bool CalculateChecksum;
31
QString FindDesktopDirectory();
34
namespace Notifications {
38
extern bool FilesReceived;
51
extern int IncomingPolicy;
52
extern QString IncomingPattern;
63
extern quint16 BroadcastPort;
64
extern int BroadcastInterval;
65
extern int TimeoutInterval;
66
extern quint16 TransmissionPort;
68
bool FindIPv4Address(QNetworkInterface, AddressType = NoAddress, QHostAddress * = NULL);
69
bool FindIPv4Address(AddressType, QHostAddress &);
70
bool IsInterfaceUsable(QNetworkInterface);
71
QString FindUsableInterface();
31
// This map contains all of the default settings for the application
32
extern QVariantMap Map;
75
37
#endif // DEFAULTS_H