/* * This file is a part of Winix * and is not publicly distributed * * Copyright (c) 2010, Tomasz Sowa * All rights reserved. * */ #ifndef headerfile_winix_plugins_thread_funthread #define headerfile_winix_plugins_thread_funthread #include "functions/functionbase.h" #include "core/thread.h" namespace Thread { class FunThread : public FunctionBase { public: FunThread(); bool HasAccess(); void MakeGet(); // current thread (if exists) bool is_thread; Thread thread; std::vector thread_tab; private: static bool FunThreadSort(const Thread & t1, const Thread & t2); void CreateSortIndexByDate(); void Clear(); }; } // namespace #endif