forked from allthingsida/GraphSlick
-
Notifications
You must be signed in to change notification settings - Fork 0
/
types.hpp
34 lines (26 loc) · 839 Bytes
/
types.hpp
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
#ifndef __TYPES_INC__
#define __TYPES_INC__
/*
GraphSlick (c) Elias Bachaalany
-------------------------------------
Plugin module
This header file contain some type definitions used by various modules
*/
//--------------------------------------------------------------------------
#include <pro.h>
//--------------------------------------------------------------------------
/**
* @brief Node data class. It will be served from the graph callback
*/
struct gnode_t
{
int id;
qstring text;
qstring hint;
};
//--------------------------------------------------------------------------
typedef qvector<intvec_t> int_2dvec_t;
//--------------------------------------------------------------------------
typedef qvector<int_2dvec_t> int_3dvec_t;
//--------------------------------------------------------------------------
#endif