added: ThreadManager all threads are connected to the ThreadManager they are started/stopped by the manager changed: FunctionParser now we are parsing directly what is in URI (we were using GetParser beforehand) we are able to recognize ordinary URI scheme (with '?' and '#' characters) sample: http://domain.com/dir1/dir2/item/function?par1=val2&par2=val2#htmlanchor is the same as: http://domain.com/dir1/dir2/item/function/par1:val2/par2:val2#htmlanchor 'htmlanchor' is put in Request::anchor field, and the default function can be used like this: http://domain.com/dir1/dir2/item?par1=val2&par2=val2#htmlanchor but there is not an equivalent in winix form e.g. http://domain.com/dir1/dir2/item/par1:val2/par2:val2#htmlanchor because 'par1:val2' would be treated as a function name removed: GetParser now we don't have Request::get_tab structure removed: CKEditorGetParser it is not needed now git-svn-id: svn://ttmath.org/publicrep/winix/trunk@752 e52654a7-88a9-db11-a3e9-0013d4bc506e
44 lines
647 B
C++
Executable File
44 lines
647 B
C++
Executable File
/*
|
|
* This file is a part of Winix
|
|
* and is not publicly distributed
|
|
*
|
|
* Copyright (c) 2011, Tomasz Sowa
|
|
* All rights reserved.
|
|
*
|
|
*/
|
|
|
|
#ifndef headerfile_winix_plugins_export_exportthread
|
|
#define headerfile_winix_plugins_export_exportthread
|
|
|
|
#include <list>
|
|
#include "core/basethread.h"
|
|
#include "message.h"
|
|
|
|
|
|
|
|
namespace Export
|
|
{
|
|
|
|
|
|
class ExportThread : public BaseThread
|
|
{
|
|
public:
|
|
|
|
|
|
void AddMessage(const Message & message);
|
|
void AddMessage(int type, const std::wstring & url, const std::wstring & path);
|
|
|
|
|
|
private:
|
|
|
|
typedef std::list<Message> MessageTab;
|
|
MessageTab message_tab;
|
|
Message message_add_temp;
|
|
|
|
|
|
};
|
|
|
|
} // namespace
|
|
|
|
#endif
|