00001 /* -*- c++ -*- (for Emacs) 00002 * 00003 * digest.h 00004 * Digest 00005 * 00006 * Nodal file: 00007 * 00008 * digest.h 00009 * Nodal 00010 * 00011 * Created by Aidan Lane on Thu Mar 31 2005. 00012 * Copyright (c) 2005-2006 CEMA, Monash University. All rights reserved. 00013 * 00014 * This program is free software; you can redistribute it and/or modify 00015 * it under the terms of the GNU General Public License as published by 00016 * the Free Software Foundation; either version 2 of the License, or 00017 * (at your option) any later version. 00018 * 00019 * This program is distributed in the hope that it will be useful, 00020 * but WITHOUT ANY WARRANTY; without even the implied warranty of 00021 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00022 * GNU General Public License for more details. 00023 * 00024 * You should have received a copy of the GNU General Public License 00025 * along with this program; if not, write to the Free Software 00026 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 00027 */ 00028 00029 #ifndef DIGEST_H 00030 #define DIGEST_H 00031 00032 00033 #include <QString> 00034 00035 00036 namespace Digest { 00037 00038 /* 00039 * Note: Variables have been used instead of macros here, as it will reduce 00040 * the memory footprint and given that QString is implicitly shared, 00041 * there is very little CPU cost in copying them. 00042 */ 00043 00044 static const QString appName = "GestureLab"; 00045 00046 static const QString orgName = ( 00047 #ifdef Q_WS_MAC 00048 "monash.edu" // suit Mac OS X prefs 00049 #else 00050 "Monash" 00051 #endif 00052 ); 00053 }; 00054 00055 00056 00057 #endif // ! DIGEST_H
1.5.2