Files
PowerToys/src/modules/NewPlus/NewShellExtensionContextMenu/template_folder.h
Christian Gaarden Gaardmark 3f44ad186d New Utility: New+ (#33136)
Co-authored-by: Jaime Bernardo <jaime@janeasystems.com>
Co-authored-by: Stefan Markovic <stefan@janeasystems.com>
2024-09-19 17:12:24 +01:00

28 lines
586 B
C++

#pragma once
#include "pch.h"
#include <filesystem>
#include <iostream>
#include <string>
#include <list>
#include "template_item.h"
namespace newplus
{
class template_folder
{
public:
template_folder(const std::filesystem::path newplus_template_folder);
void rescan_template_folder();
std::filesystem::path template_folder_path;
std::list<std::pair<std::wstring, template_item*>> list_of_templates;
template_item* get_template_item(const int index) const;
protected:
template_folder();
void init();
};
}