Source: data-flow/include/flow_pref.h


Annotated List
Files
Globals
Hierarchy
Index
// Copyright (C) 2001 Jean-Marc Valin & Dominic Letourneau

#ifndef FLOW_PREF_H
#define FLOW_PREF_H

#include <map>
#include <string>

using namespace std;

class FlowPref {
   int modified;
   map<string, map<string,string> > params;

   static FlowPref pref;
  public:
   FlowPref();
   ~FlowPref();
   void load();
   void save();

   static bool getBool(const string &cat, const string &str);
   static void setBool(const string &cat, const string &str, bool val);

   static unsigned int getColor(const string &cat, const string &str);
   static void setColor(const string &cat, const string &str, unsigned int col);

   static void Save();
};


#endif

Generated by: jmvalin@usw-pr-shell2 on Mon Jun 24 00:06:36 2002, using kdoc 2.0a40.