Ignore:
Timestamp:
Feb 26, 2013, 3:19:15 PM (11 years ago)
Author:
garnier
Message:

Ameliorations pour la sauvegarde des fichiers et autres

File:
1 edited

Legend:

Unmodified
Added
Removed
  • Interface_Web/trunk/pspaWT/sources/userInterface/src/GWt_serverFileSelector.cc

    r337 r347  
    1010#include <Wt/WTreeNode>
    1111#include <Wt/WIconPair>
     12#include <Wt/WApplication>
     13
    1214#include <boost/algorithm/string.hpp>
    1315#include <dirent.h>             /* readdir(), etc.                    */
     
    5759   
    5860    buildConfigurationFileTree(treeFileRoot, workingDir_.c_str(), ".save");
    59    
     61
     62    // Add user files
     63    Wt::WTreeNode* userTreeFileRoot = new Wt::WTreeNode("MySession", folderIcon);
     64    buildConfigurationFileTree(treeFileRoot, (workingDir_+WApplication::instance()->sessionId()).c_str(), ".save");
     65
    6066    treeFileRoot->expand();
    6167    WContainerWidget *treeContainer = new WContainerWidget();
Note: See TracChangeset for help on using the changeset viewer.