![]() |
|
|
00001 /*************************************************************************** 00002 * inspectorJ - java profiler * 00003 * Copyright (C) 2007 by James May 00004 * * 00005 * This program is free software; you can redistribute it and/or modify * 00006 * it under the terms of the GNU General Public License as published by * 00007 * the Free Software Foundation; either version 2 of the License, or * 00008 * (at your option) any later version. * 00009 * * 00010 * This program is distributed in the hope that it will be useful, * 00011 * but WITHOUT ANY WARRANTY; without even the implied warranty of * 00012 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * 00013 * GNU General Public License for more details. * 00014 * * 00015 * You should have received a copy of the GNU General Public License * 00016 * along with this program; if not, write to the * 00017 * Free Software Foundation, Inc., * 00018 * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. * 00019 ***************************************************************************/ 00020 00027 #ifndef INSPECTORJ_TOOLSET_PROFILE_TOOLSET_H 00028 #define INSPECTORJ_TOOLSET_PROFILE_TOOLSET_H 00029 00030 #include <string> 00031 #include <QDir> 00032 #include <QString> 00033 #include "tinyxml/tinyxml.h" 00034 #include "inspectorj/client/sessionprofile.h" 00035 00036 namespace inspectorj { 00037 00038 namespace toolset { 00039 00040 using inspectorj::client::SessionProfile; 00041 00049 class ProfileToolSet{ 00050 public: 00051 ProfileToolSet(); 00052 00053 ~ProfileToolSet(); 00054 00055 static bool loadProfile(SessionProfile&, char *fileName); 00056 static bool loadProfile(SessionProfile&, QString fileName); 00057 static bool saveProfile(SessionProfile&, QString fileDir); 00058 }; 00059 00060 } 00061 00062 } 00063 00064 #endif