QGVNodePrivate.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 QGVNODEPRIVATE_H
20 #define QGVNODEPRIVATE_H
21 
22 #include <cgraph.h>
23 
25 {
26  public:
27  explicit QGVNodePrivate(Agnode_t *node = NULL);
28 
29  void setNode(Agnode_t *node);
30  Agnode_t* node() const;
31 
32  private:
33  Agnode_t* _node;
34 };
35 
36 #endif
QGVNodePrivate(Agnode_t *node=NULL)
void setNode(Agnode_t *node)
#define NULL
Definition: CommonTypes.hh:31
Agnode_t * node() const
Definition: QGVNodePrivate.h:24