]> git.lyx.org Git - lyx.git/blobdiff - src/graph.h
Fix encoding of converters path and arguments
[lyx.git] / src / graph.h
index d8cc03498b259d4d749a9fa8fc99bf1147cae281..718da2b694d05e7426cf81d084427e7ecf72f6b6 100644 (file)
@@ -1,8 +1,4 @@
 // -*- C++ -*-
-
-#ifndef GRAPH_H
-#define GRAPH_H
-
 /**
  * \file graph.h
  * This file is part of LyX, the document processor.
  *
  * \author Dekel Tsur
  *
- * Full author contact details are available in file CREDITS
+ * Full author contact details are available in file CREDITS.
  */
 
-#include "LString.h"
+#ifndef GRAPH_H
+#define GRAPH_H
 
 #include <queue>
 #include <vector>
 
+
+namespace lyx {
+
+
 class Graph {
 public:
        Graph() : numedges_(0) {};
@@ -44,7 +45,8 @@ private:
        int bfs_init(int, bool clear_visited = true);
 
        ///
-       struct Vertex {
+       class Vertex {
+       public:
                std::vector<int> in_vertices;
                std::vector<int> out_vertices;
                std::vector<int> out_edges;
@@ -62,4 +64,7 @@ private:
 };
 
 
+
+} // namespace lyx
+
 #endif //GRAPH_H