00001 #ifndef GAUDI_INCIDENT_H
00002 #define GAUDI_INCIDENT_H
00003
00004
00005 #include <string>
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016 class Incident {
00017 public:
00018
00019
00020 Incident(const std::string& source,
00021 const std::string& type
00022 ) : m_source(source), m_type(type) { }
00023 virtual ~Incident() { }
00024
00025
00026 const std::string& type() const { return m_type; }
00027 const std::string& source() const { return m_source; }
00028 private:
00029 std::string m_source;
00030 std::string m_type;
00031 };
00032
00033 #endif //GAUDI_INCIDENT_H
00034