apicompatanamdw/compatanalysercmd/headeranalyser/src/ReportIssue.h
changeset 3 ebe3f8f03b59
parent 0 638b9c697799
--- a/apicompatanamdw/compatanalysercmd/headeranalyser/src/ReportIssue.h	Thu Apr 22 17:15:08 2010 +0530
+++ b/apicompatanamdw/compatanalysercmd/headeranalyser/src/ReportIssue.h	Mon Apr 26 16:28:13 2010 +0530
@@ -114,6 +114,8 @@
     EIssueTypeParamConst2,
 	EIssueTypeReturnConst,
     EIssueTypeReturnConst2,
+	EIssueTypeDefaultParam,
+	EIssueTypeOverload,
     EIssueTypeCount
 };
 
@@ -137,6 +139,7 @@
     * @param aSCSeverityId source compatibility severity of the issue found
     * @param aIgnoreInformation information needed for ignoring the issue
     * @param aLineNumber line where the issue is
+	* @param aIssueLoc filename where the issue is
     * @param aCompareFileName
 	* @param aCompilationError
     */
@@ -144,7 +147,8 @@
                 const string& aFQName, const TIssueIdentity& aIssueIdentityId, 
                 const TIssueType& aIssueTypeId, const TBCSeverity& aBCSeverityId, 
                 const TSCSeverity& aSCSeverityId, const string& aIgnoreInformation,
-                int aLineNumber, const string& aCompareFileName, const string& aCompilationError = "", bool alineNoNeeded = true);
+                int aLineNumber, const string& aIssueLoc, const string& aCompareFileName, 
+				const string& aCompilationError = "", bool alineNoNeeded = true);
 
 
     /**
@@ -289,6 +293,13 @@
     int LineNumber() const;
 
 	void SetLineNumber(const int lineNumber);
+
+	/**
+    * Get issue location file name
+    * @return file name string
+    */
+
+	const string& IssueLocation() const;
     
     /**
     * Get compare filename
@@ -300,8 +311,6 @@
     * Return reson behind the compilation error
     */ 
     const string& CompilationError() const;
-
-	const bool& LineInfoNeeded();
     
 
 private:
@@ -332,13 +341,15 @@
     //! Line number
     int            iLineNumber;
 
+	//! Compare filename
+    string         iIssueLoc;
+
     //! Compare filename
     string         iCompareFileName;
 
 	//! Cause of compilation error
     string         iCompilationError;
 
-	bool           iLineNoNeeded;
 
 };