#pragma once #include #include #include #include #include struct TasklistButton { std::wstring name; long x, y, width, height, keynum; }; class Tasklist { public: void update(); std::vector get_buttons(); bool update_buttons(std::vector& buttons); private: winrt::com_ptr automation; winrt::com_ptr element; winrt::com_ptr true_condition; };