From f98cbf35df91180431e34ba5e1253870003f1382 Mon Sep 17 00:00:00 2001 From: Kerry Liu Date: Mon, 10 Jul 2017 18:04:05 -0400 Subject: [PATCH] prepare for gconf integration~ --- .vscode/c_cpp_properties.json | 2 ++ src/Makefile | 2 +- src/window.h | 1 + 3 files changed, 4 insertions(+), 1 deletion(-) diff --git a/.vscode/c_cpp_properties.json b/.vscode/c_cpp_properties.json index 25b5487..ba46fee 100644 --- a/.vscode/c_cpp_properties.json +++ b/.vscode/c_cpp_properties.json @@ -47,6 +47,7 @@ "/usr/include/cairo", "/usr/include/freetype2", "/usr/include/atkmm-1.6", + "/usr/include/gconfmm-2.6", "/usr/include/glib-2.0", "/usr/lib/glib-2.0/include" ], @@ -79,6 +80,7 @@ "/usr/include/cairo", "/usr/include/freetype2", "/usr/include/atkmm-1.6", + "/usr/include/gconfmm-2.6", "/usr/include/glib-2.0", "/usr/lib/glib-2.0/include" ], diff --git a/src/Makefile b/src/Makefile index 44f0ddc..593110e 100644 --- a/src/Makefile +++ b/src/Makefile @@ -1,5 +1,5 @@ NAME=Visor -GTKFLAGS=`pkg-config gtkmm-3.0 cairo --cflags --libs` +GTKFLAGS=`pkg-config gtkmm-3.0 cairo --cflags --libs gconfmm-2.6` MAGIC=-lstdc++fs SRC=main.cpp window.cpp device.cpp tree.cpp graph.cpp legend.cpp CFLAGS=-std=c++14 -g -Wall -o $(NAME) diff --git a/src/window.h b/src/window.h index 3731446..7845354 100644 --- a/src/window.h +++ b/src/window.h @@ -4,6 +4,7 @@ #include "graph.h" #include "legend.h" #include "tree.h" +#include #include #include #include