Commit a31de2c3 authored by Roberto Raggi's avatar Roberto Raggi

Fixed header protection.

parent 344e0b9c
......@@ -27,8 +27,8 @@
**
**************************************************************************/
#ifndef ASTPARENT_H
#define ASTPARENT_H
#ifndef CPLUSPLUS_ASTPARENT_H
#define CPLUSPLUS_ASTPARENT_H
#include <ASTVisitor.h>
#include <QtCore/QHash>
......@@ -60,4 +60,4 @@ private:
} // namespace CPlusPlus
#endif // ASTPARENT_H
#endif // CPLUSPLUS_ASTPARENT_H
......@@ -27,13 +27,13 @@
**
**************************************************************************/
#ifndef ASTPATH_H
#define ASTPATH_H
#ifndef CPLUSPLUS_ASTPATH_H
#define CPLUSPLUS_ASTPATH_H
#include <ASTfwd.h>
#include <ASTVisitor.h>
#include <cplusplus/CppDocument.h>
#include "CppDocument.h"
#include <QtCore/QList>
#include <QtGui/QTextCursor>
......@@ -72,4 +72,4 @@ private:
} // namespace CppTools
#endif // ASTPATH_H
#endif // CPLUSPLUS_ASTPATH_H
......@@ -26,8 +26,8 @@
** contact the sales department at http://qt.nokia.com/contact.
**
**************************************************************************/
#ifndef BACKWARDSSCANNER_H
#define BACKWARDSSCANNER_H
#ifndef CPLUSPLUS_BACKWARDSSCANNER_H
#define CPLUSPLUS_BACKWARDSSCANNER_H
#include "SimpleLexer.h"
......@@ -87,4 +87,4 @@ private:
} // end of namespace CPlusPlus
#endif // BACKWARDSSCANNER_H
#endif // CPLUSPLUS_BACKWARDSSCANNER_H
......@@ -27,8 +27,8 @@
**
**************************************************************************/
#ifndef CHECKUNDEFINEDSYMBOLS_H
#define CHECKUNDEFINEDSYMBOLS_H
#ifndef CPLUSPLUS_CHECKUNDEFINEDSYMBOLS_H
#define CPLUSPLUS_CHECKUNDEFINEDSYMBOLS_H
#include "CppDocument.h"
#include "LookupContext.h"
......@@ -88,4 +88,4 @@ private:
} // end of namespace CPlusPlus
#endif // CHECKUNDEFINEDSYMBOLS_H
#endif // CPLUSPLUS_CHECKUNDEFINEDSYMBOLS_H
......@@ -27,8 +27,8 @@
**
**************************************************************************/
#ifndef CPPDOCUMENT_H
#define CPPDOCUMENT_H
#ifndef CPLUSPLUS_CPPDOCUMENT_H
#define CPLUSPLUS_CPPDOCUMENT_H
#include <CPlusPlusForwardDeclarations.h>
#include "Macro.h"
......@@ -382,4 +382,4 @@ private:
} // end of namespace CPlusPlus
#endif // CPPDOCUMENT_H
#endif // CPLUSPLUS_CPPDOCUMENT_H
......@@ -27,8 +27,8 @@
**
**************************************************************************/
#ifndef DEPENDENCYTABLE_H
#define DEPENDENCYTABLE_H
#ifndef CPLUSPLUS_DEPENDENCYTABLE_H
#define CPLUSPLUS_DEPENDENCYTABLE_H
#include <CPlusPlusForwardDeclarations.h>
......@@ -62,4 +62,4 @@ private:
} // namespace CPlusPlus
#endif // DEPENDENCYTABLE_H
#endif // CPLUSPLUS_DEPENDENCYTABLE_H
......@@ -27,8 +27,8 @@
**
**************************************************************************/
#ifndef EXPRESSIONUNDERCURSOR_H
#define EXPRESSIONUNDERCURSOR_H
#ifndef CPLUSPLUS_EXPRESSIONUNDERCURSOR_H
#define CPLUSPLUS_EXPRESSIONUNDERCURSOR_H
#include "CPlusPlusForwardDeclarations.h"
#include <QList>
......@@ -64,4 +64,4 @@ private:
} // namespace CPlusPlus
#endif // EXPRESSIONUNDERCURSOR_H
#endif // CPLUSPLUS_EXPRESSIONUNDERCURSOR_H
......@@ -27,8 +27,8 @@
**
**************************************************************************/
#ifndef FASTPREPROCESSOR_H
#define FASTPREPROCESSOR_H
#ifndef CPLUSPLUS_FASTPREPROCESSOR_H
#define CPLUSPLUS_FASTPREPROCESSOR_H
#include "PreprocessorClient.h"
#include "CppDocument.h"
......@@ -77,4 +77,4 @@ public:
} // end of namespace CPlusPlus
#endif // FASTPREPROCESSOR_H
#endif // CPLUSPLUS_FASTPREPROCESSOR_H
......@@ -27,8 +27,8 @@
**
**************************************************************************/
#ifndef FINDUSAGES_H
#define FINDUSAGES_H
#ifndef CPLUSPLUS_FINDUSAGES_H
#define CPLUSPLUS_FINDUSAGES_H
#include "LookupContext.h"
#include "CppDocument.h"
......@@ -119,4 +119,4 @@ private:
} // end of namespace CPlusPlus
#endif // FINDUSAGES_H
#endif // CPLUSPLUS_FINDUSAGES_H
......@@ -46,8 +46,8 @@
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
*/
#ifndef PP_MACRO_H
#define PP_MACRO_H
#ifndef CPLUSPLUS_PP_MACRO_H
#define CPLUSPLUS_PP_MACRO_H
#include <CPlusPlusForwardDeclarations.h>
......@@ -153,4 +153,4 @@ private:
} // namespace CPlusPlus
#endif // PP_MACRO_H
#endif // CPLUSPLUS_PP_MACRO_H
......@@ -26,8 +26,8 @@
** contact the sales department at http://qt.nokia.com/contact.
**
**************************************************************************/
#ifndef MATCHINGTEXT_H
#define MATCHINGTEXT_H
#ifndef CPLUSPLUS_MATCHINGTEXT_H
#define CPLUSPLUS_MATCHINGTEXT_H
#include <CPlusPlusForwardDeclarations.h>
#include <QtGui/QTextCursor>
......
......@@ -27,8 +27,8 @@
**
**************************************************************************/
#ifndef OVERVIEW_H
#define OVERVIEW_H
#ifndef CPLUSPLUS_OVERVIEW_H
#define CPLUSPLUS_OVERVIEW_H
#include <CPlusPlusForwardDeclarations.h>
#include <QString>
......@@ -92,4 +92,4 @@ private:
} // end of namespace CPlusPlus
#endif // OVERVIEW_H
#endif // CPLUSPLUS_OVERVIEW_H
......@@ -26,8 +26,8 @@
** contact the sales department at http://qt.nokia.com/contact.
**
**************************************************************************/
#ifndef SIMPLELEXER_H
#define SIMPLELEXER_H
#ifndef CPLUSPLUS_SIMPLELEXER_H
#define CPLUSPLUS_SIMPLELEXER_H
#include <CPlusPlusForwardDeclarations.h>
......@@ -143,4 +143,4 @@ private:
} // end of namespace CPlusPlus
#endif // SIMPLELEXER_H
#endif // CPLUSPLUS_SIMPLELEXER_H
......@@ -26,8 +26,8 @@
** contact the sales department at http://qt.nokia.com/contact.
**
**************************************************************************/
#ifndef TOKENUNDERCURSOR_H
#define TOKENUNDERCURSOR_H
#ifndef CPLUSPLUS_TOKENUNDERCURSOR_H
#define CPLUSPLUS_TOKENUNDERCURSOR_H
#include "SimpleLexer.h"
#include <QList>
......@@ -58,4 +58,4 @@ private:
} // end of namespace CPlusPlus
#endif // TOKENUNDERCURSOR_H
#endif // CPLUSPLUS_TOKENUNDERCURSOR_H
......@@ -26,8 +26,8 @@
** contact the sales department at http://qt.nokia.com/contact.
**
**************************************************************************/
#ifndef TYPEPRETTYPRINTER_H
#define TYPEPRETTYPRINTER_H
#ifndef CPLUSPLUS_TYPEPRETTYPRINTER_H
#define CPLUSPLUS_TYPEPRETTYPRINTER_H
#include <TypeVisitor.h>
#include <FullySpecifiedType.h>
......@@ -86,4 +86,4 @@ private:
} // end of namespace CPlusPlus
#endif // TYPEPRETTYPRINTER_H
#endif // CPLUSPLUS_TYPEPRETTYPRINTER_H
......@@ -46,8 +46,8 @@
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
*/
#ifndef PP_MACRO_EXPANDER_H
#define PP_MACRO_EXPANDER_H
#ifndef CPLUSPLUS_PP_MACRO_EXPANDER_H
#define CPLUSPLUS_PP_MACRO_EXPANDER_H
#include "Macro.h"
#include "pp-scanner.h"
......@@ -102,5 +102,5 @@ public: // attributes
} // namespace CPlusPlus
#endif // PP_MACRO_EXPANDER_H
#endif // CPLUSPLUS_PP_MACRO_EXPANDER_H
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment