diff --git a/src/CocoaUtils.h b/src/CocoaUtils.h index a720e885..c80863b8 100644 --- a/src/CocoaUtils.h +++ b/src/CocoaUtils.h @@ -5,6 +5,6 @@ class CocoaUtils { public: - static void endApplication(); - static void nslog(const std::string &str, void *userdata); + static void endApplication(); + static void nslog(const std::string &str, void *userdata); }; diff --git a/src/fileutils.h b/src/fileutils.h index 87911e6e..3509a720 100644 --- a/src/fileutils.h +++ b/src/fileutils.h @@ -3,4 +3,4 @@ #include std::string lookup_file(const std::string &filename, - const std::string &path, const std::string &fallbackpath); + const std::string &path, const std::string &fallbackpath); diff --git a/src/nodedumper.h b/src/nodedumper.h index 0063a2a5..0f5acc8f 100644 --- a/src/nodedumper.h +++ b/src/nodedumper.h @@ -9,25 +9,25 @@ class NodeDumper : public Visitor { public: - /*! If idPrefix is true, we will output "n:" in front of each node, - which is useful for debugging. */ - NodeDumper(NodeCache &cache, bool idPrefix = false) : - cache(cache), idprefix(idPrefix), root(NULL) { } - virtual ~NodeDumper() {} + /*! If idPrefix is true, we will output "n:" in front of each node, + which is useful for debugging. */ + NodeDumper(NodeCache &cache, bool idPrefix = false) : + cache(cache), idprefix(idPrefix), root(NULL) { } + virtual ~NodeDumper() {} - virtual Response visit(State &state, const AbstractNode &node); + virtual Response visit(State &state, const AbstractNode &node); private: - void handleVisitedChildren(const State &state, const AbstractNode &node); - bool isCached(const AbstractNode &node) const; - void handleIndent(const State &state); - std::string dumpChildren(const AbstractNode &node); + void handleVisitedChildren(const State &state, const AbstractNode &node); + bool isCached(const AbstractNode &node) const; + void handleIndent(const State &state); + std::string dumpChildren(const AbstractNode &node); - NodeCache &cache; - bool idprefix; + NodeCache &cache; + bool idprefix; - std::string currindent; - const AbstractNode *root; - typedef std::list ChildList; - std::map visitedchildren; + std::string currindent; + const AbstractNode *root; + typedef std::list ChildList; + std::map visitedchildren; };