added: to templates: an interface for getting information from Space
miscspace.h, miscspace.cpp changed: plugin ticket now as a config we use a PT::Space struct (not finished yet, only 'integer', 'select' and 'progress' are done) git-svn-id: svn://ttmath.org/publicrep/winix/trunk@794 e52654a7-88a9-db11-a3e9-0013d4bc506e
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
* This file is a part of Winix
|
||||
* and is not publicly distributed
|
||||
*
|
||||
* Copyright (c) 2010, Tomasz Sowa
|
||||
* Copyright (c) 2010-2012, Tomasz Sowa
|
||||
* All rights reserved.
|
||||
*
|
||||
*/
|
||||
@@ -48,7 +48,7 @@ struct SessionData : public PluginDataBase
|
||||
// temporary files for 'editticket' function
|
||||
// these files should be deleted if a user will not click on the submit button
|
||||
// !! zmienic nazwe na edit_file_map albo podobnie
|
||||
FileMap new_file_map;
|
||||
FileMap edit_file_map;
|
||||
|
||||
|
||||
// inserting and returning a new ticket or just returning the ticket if it exists
|
||||
@@ -56,7 +56,10 @@ struct SessionData : public PluginDataBase
|
||||
|
||||
std::vector<long> & GetFileTab(long id, FileMap & file_map);
|
||||
|
||||
// for deleting new_file_map files
|
||||
// for deleting edit_file_map files
|
||||
// !! IMPROVE ME: when the program exits there can be a situation that
|
||||
// fun_rm was finished and then an object of this class exits and call fun_rm
|
||||
// so we should guarantee that all sessions object are removed first
|
||||
Fun::Rm * fun_rm;
|
||||
|
||||
void RemoveFileMap(FileMap & file_map);
|
||||
|
Reference in New Issue
Block a user