/* * Copyright (c) 2003, Robert Collins * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. * * A copy of the GNU General Public License can be found at * http://www.gnu.org/ * * Written by Robert Collins * */ #if 0 static const char *cvsid = "\n%%% $Id: UserSetting.cc,v 2.2 2004/10/25 17:06:07 maxb Exp $\n"; #endif #include "site.h" #include "win32.h" #include #include #include #include #include #include "LogSingleton.h" #include "io_stream.h" #include "Exception.h" #include "UserSetting.h" #include "UserSettings.h" using namespace std; UserSetting::UserSetting() { UserSettings::Instance().registerSetting(*this); } UserSetting::~UserSetting() { UserSettings::Instance().deRegisterSetting(*this); }