• Main Page
  • Namespaces
  • Classes
  • Files
  • File List
  • File Members

yapet/consts.cc

Go to the documentation of this file.
00001 // $Id: consts.cc 3343 2010-09-17 18:36:31Z java $
00002 //
00003 // Copyright (C) 2009-2010  Rafael Ostertag
00004 //
00005 // This file is part of YAPET.
00006 //
00007 // YAPET is free software: you can redistribute it and/or modify it under the
00008 // terms of the GNU General Public License as published by the Free Software
00009 // Foundation, either version 3 of the License, or (at your option) any later
00010 // version.
00011 //
00012 // YAPET is distributed in the hope that it will be useful, but WITHOUT ANY
00013 // WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
00014 // FOR A PARTICULAR PURPOSE.  See the GNU General Public License for more
00015 // details.
00016 //
00017 // You should have received a copy of the GNU General Public License along with
00018 // YAPET.  If not, see <http://www.gnu.org/licenses/>.
00019 //
00020 
00021 #include "consts.h"
00022 
00023 using namespace YAPET::CONSTS;
00024 
00025 const std::string Consts::default_suffix (".pet");
00026 const std::string Consts::default_rcfilename (".yapet");
00027 const size_t Consts::max_pwlen(256);
00028 
00029 const std::string&
00030 Consts::getDefaultSuffix() {
00031     return default_suffix;
00032 }
00033 
00034 const std::string&
00035 Consts::getDefaultRCFilename() {
00036     return default_rcfilename;
00037 }
00038 
00039 size_t
00040 Consts::getMaxPWLength() {
00041     return max_pwlen;
00042 }

Generated on Sun Sep 19 2010 15:37:13 for YAPET by  doxygen 1.7.1