Qt Virtual Chart Table (QVCT)
QVCT.hpp
Go to the documentation of this file.
1 // INDENTING (emacs/vi): -*- mode:c++; tab-width:2; c-basic-offset:2; intent-tabs-mode:nil; -*- ex: set tabstop=2 expandtab:
2 
3 /*
4  * Qt Virtual Chart Table (QVCT)
5  * Copyright (C) 2012 Cedric Dufour <http://cedric.dufour.name>
6  * Author: Cedric Dufour <http://cedric.dufour.name>
7  *
8  * The Qt Virtual Chart Table (QVCT) is free software:
9  * you can redistribute it and/or modify it under the terms of the GNU General
10  * Public License as published by the Free Software Foundation, Version 3.
11  *
12  * The Qt Virtual Chart Table (QVCT) is distributed in the hope
13  * that it will be useful, but WITHOUT ANY WARRANTY; without even the implied
14  * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
15  *
16  * See the GNU General Public License for more details.
17  */
18 
26 #ifndef QVCT_QVCT_HPP
27 #define QVCT_QVCT_HPP
28 
29 // QVCT
30 #include "main.hpp"
31 
32 
33 class QVCT
34 {
35 
36  //------------------------------------------------------------------------------
37  // CONSTANTS / STATIC
38  //------------------------------------------------------------------------------
39 
40 public:
41  enum EStatus { OK = 0, WARNING = 1, ERROR = 2, CRITICAL = 3, UNDEFINED = 9 };
43 
44 public:
45  static constexpr double PI=3.1415926535897932384626433832795029;
46  static constexpr double DEG2RAD=0.0174532925199432957692369076848861271;
47  static constexpr double RAD2DEG=57.2957795130823208767981548141051703;
48 
49 };
50 
51 #endif // QVCT_QVCT_HPP
Global/base application container.
Definition: QVCT.hpp:34
EStatus
Definition: QVCT.hpp:41
@ UNDEFINED
Definition: QVCT.hpp:41
@ ERROR
Definition: QVCT.hpp:41
@ OK
Definition: QVCT.hpp:41
@ CRITICAL
Definition: QVCT.hpp:41
@ WARNING
Definition: QVCT.hpp:41
EFileOperation
Definition: QVCT.hpp:42
@ SAVE
Definition: QVCT.hpp:42
@ OPEN
Definition: QVCT.hpp:42
static constexpr double PI
Definition: QVCT.hpp:45
static constexpr double RAD2DEG
Definition: QVCT.hpp:47
static constexpr double DEG2RAD
Definition: QVCT.hpp:46