QGVGraphPrivate.h
Go to the documentation of this file.
1 /***************************************************************
2 QGVCore
3 Copyright (c) 2014, Bergont Nicolas, All rights reserved.
4 
5 This library is free software; you can redistribute it and/or
6 modify it under the terms of the GNU Lesser General Public
7 License as published by the Free Software Foundation; either
8 version 3.0 of the License, or (at your option) any later version.
9 
10 This library is distributed in the hope that it will be useful,
11 but WITHOUT ANY WARRANTY; without even the implied warranty of
12 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13 Lesser General Public License for more details.
14 
15 You should have received a copy of the GNU Lesser General Public
16 License along with this library.
17 ***************************************************************/
18 
19 #ifndef QGVGRAPHPRIVATE_H
20 #define QGVGRAPHPRIVATE_H
21 
22 #include <cgraph.h>
23 
25 {
26  public:
27  explicit QGVGraphPrivate(Agraph_t *graph = NULL);
28 
29  void setGraph(Agraph_t *graph);
30  Agraph_t* graph() const;
31 
32  private:
33  Agraph_t* _graph;
34 };
35 
36 #endif
void setGraph(Agraph_t *graph)
Definition: QGVGraphPrivate.h:24
QGVGraphPrivate(Agraph_t *graph=NULL)
#define NULL
Definition: CommonTypes.hh:30
Agraph_t * graph() const