Changeset - 84fd03411b62
[Not reviewed]
default
0 3 0
Hasan Yavuz Ă–ZDERYA - 10 years ago 2015-08-13 02:26:00
hy@ozderya.net
added misssing guard defines to header files
3 files changed with 15 insertions and 0 deletions:
0 comments (0 inline, 0 general)
plot.h
Show inline comments
 
@@ -14,12 +14,15 @@
 
  GNU General Public License for more details.
 

	
 
  You should have received a copy of the GNU General Public License
 
  along with serialplot.  If not, see <http://www.gnu.org/licenses/>.
 
*/
 

	
 
#ifndef PLOT_H
 
#define PLOT_H
 

	
 
#include <qwt_plot.h>
 
#include <qwt_plot_grid.h>
 
#include "zoomer.h"
 

	
 
class Plot : public QwtPlot
 
{
 
@@ -43,6 +46,8 @@ public slots:
 
    void unzoom();
 
    void darkBackground(bool enabled = true);
 

	
 
private slots:
 
    void unzoomed();
 
};
 

	
 
#endif // PLOT_H
utils.h
Show inline comments
 
@@ -14,13 +14,18 @@
 
  GNU General Public License for more details.
 

	
 
  You should have received a copy of the GNU General Public License
 
  along with serialplot.  If not, see <http://www.gnu.org/licenses/>.
 
*/
 

	
 
#ifndef UTILS_H
 
#define UTILS_H
 

	
 
// credits: peppe@stackoverflow [http://stackoverflow.com/a/16795664/432492]
 
template<typename... Args> struct SELECT {
 
    template<typename C, typename R>
 
    static constexpr auto OVERLOAD_OF( R (C::*pmf)(Args...) ) -> decltype(pmf) {
 
        return pmf;
 
    }
 
};
 

	
 
#endif // UTILS_H
version.h.in
Show inline comments
 
@@ -14,11 +14,16 @@
 
  GNU General Public License for more details.
 

	
 
  You should have received a copy of the GNU General Public License
 
  along with serialplot.  If not, see <http://www.gnu.org/licenses/>.
 
*/
 

	
 
#ifndef VERSION_H
 
#define VERSION_H
 

	
 
#define MAJOR_VERSION    @MAJOR_VERSION@
 
#define MINOR_VERSION    @MINOR_VERSION@
 
#define PATCH_VERSION    @PATCH_VERSION@
 
#define VERSION_STRING   "@VERSION_STRING@"
 
#define VERSION_REVISION "@VERSION_REVISION@"
 

	
 
#endif // VERSION_H
0 comments (0 inline, 0 general)