summaryrefslogtreecommitdiffstats
path: root/lib/Plugins/Catcut.h
blob: 00f486c0ff5536835b18d55a9cd524d93b0090dd (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
#ifndef CATCUT_H_
#define CATCUT_H_

#include "Plugin.h"
#include "Reporter.h"

class CReporterCatcut : public CReporter
{
    private:
	std::string m_sCatcutURL;
	std::string m_sLogin;
	std::string m_sPassword;
	bool m_bNoSSLVerify;
	int m_nRetryCount;
	int m_nRetryDelay;

    public:
        CReporterCatcut();
        virtual ~CReporterCatcut();

        virtual void SetSettings(const map_plugin_settings_t& pSettings);

        virtual std::string Report(const map_crash_report_t& pCrashReport,
                                   const map_plugin_settings_t& pSettings,
                                   const char *Args);
};

#endif /* CATCUT_H_ */