21 #ifndef Tulip_PREFERENCEMANAGER_H
22 #define Tulip_PREFERENCEMANAGER_H
24 #include <tulip/tulipconf.h>
25 #include <tulip/Color.h>
32 class TLP_SCOPE PreferenceManager {
40 static void createInst();
44 static PreferenceManager &getInst() {
46 inst=
new PreferenceManager();
54 void setNetworkConnection(
bool connection) {
55 networkConnection=connection;
61 bool getNetworkConnection() {
62 return networkConnection;
68 void setSelectionColor(
const Color &color) {
75 const Color& getSelectionColor();
80 void setAutoLoadController(
bool autoLoad) {
81 autoLoadController=autoLoad;
87 bool getAutoLoadController() {
88 return autoLoadController;
96 PreferenceManager() {}
98 static PreferenceManager* inst;
100 bool networkConnection;
101 Color selectionColor;
102 bool autoLoadController;
108 #endif // Tulip_GLTEXTUREMANAGER_H