@ -33,6 +33,7 @@
// NeL includes
// NeL includes
# include <vector>
# include <vector>
# include <nel/misc/tool_logger.h>
// Project includes
// Project includes
# include "workspace_storage.h"
# include "workspace_storage.h"
@ -76,11 +77,11 @@ public:
struct CFileError
struct CFileError
{
{
public :
public :
uint32 Time; // The time when this error occured.
uint32 Master Time; // The time when this error occured.
// TFileState Level; // Success, Warning, Error, Removal
TError Level ;
std : : string Project ;
std : : string Project ;
std : : string P rocess ;
std : : string P lugin ;
// std::string Plugin;
std : : string Time ;
std : : string Message ;
std : : string Message ;
void serial ( NLMISC : : IStream & stream ) throw ( NLMISC : : EStream ) ;
void serial ( NLMISC : : IStream & stream ) throw ( NLMISC : : EStream ) ;
@ -180,6 +181,9 @@ public:
// static void createRemove(const CFileRemove &remove, const std::string &path); // Remove cannot be modified after creation, only erased.
// static void createRemove(const CFileRemove &remove, const std::string &path); // Remove cannot be modified after creation, only erased.
// static void eraseRemove(const std::string &path);
// static void eraseRemove(const std::string &path);
static std : : string getErrorPath ( const std : : string & file ) { return " [TODO] " ; }
static void appendError ( const CFileError & error , const std : : string & metaPath ) { /* TODO */ }
static std : : string getDependPath ( const std : : string & file ) ;
static std : : string getDependPath ( const std : : string & file ) ;
static bool readDepend ( CFileDepend & depend , const std : : string & metaPath ) ;
static bool readDepend ( CFileDepend & depend , const std : : string & metaPath ) ;
static void writeDepend ( const CFileDepend & depend , const std : : string & metaPath ) ;
static void writeDepend ( const CFileDepend & depend , const std : : string & metaPath ) ;