Skip to content
Snippets Groups Projects
Commit a109bbe5 authored by BaM's avatar BaM
Browse files

GUI syntax cleaning

git-svn-id: svn+ssh://svn.in2p3.fr/class@693 0e7d625b-0364-4367-a6be-d5be4a48d228
parent a085b22a
No related branches found
No related tags found
No related merge requests found
......@@ -17,13 +17,13 @@ int main(int argc, char** argv)
}
vector<string> VFileName;
int NumberOfFile=argc-1
int NumberOfFile = argc-1
;
for(int i=0;i<NumberOfFile;i++)
for(int i = 0;i<NumberOfFile;i++)
VFileName.push_back(string(argv[i+1]));
CLASSRead* DataRead = new CLASSRead(VFileName[0]);
if(VFileName.size() == 0)
if(VFileName.size() == 0)
{
cerr << endl << "Usage: CLASGui FileName1 FileName2 ... " << endl;
exit(0);
......@@ -39,9 +39,9 @@ int main(int argc, char** argv)
cout << "Bienvenue dans le GUI" << endl;
argc=1; //avoid to change directory by root TApplication...
argc = 1; //avoid to change directory by root TApplication...
TApplication theApp("App", &argc, argv);
MainWin *win=new MainWin(DataRead,VFileName);
MainWin *win = new MainWin(DataRead,VFileName);
theApp.Run();
......
This diff is collapsed.
This diff is collapsed.
......@@ -54,7 +54,7 @@ using namespace std;
//Here is the widget code: it correspond to signal emitted when a widget is activated
enum CommandId{
M_BUTTON_PLOT=20,
M_BUTTON_PLOT = 20,
M_BUTTON_SAVE,
M_BUTTON_MACRO,
M_BUTTON_QUIT,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment