浏览该文件的文档.
19 #include <initializer_list>
29 const unsigned char *
data;
63 std::unique_ptr<Private>
p;
bool copyResource(const QCString &name, const QCString &targetDir) const
Copies a registered resource to a given target directory
bool copyResourceAs(const QCString &name, const QCString &targetDir, const QCString &targetName, bool append=false) const
Copies a registered resource to a given target directory under a given target name
static ResourceMgr & instance()
Returns the one and only instance of this class
bool writeCategory(const QCString &categoryName, const QCString &targetDir) const
Writes all resource belonging to a given category to a given target directory
QCString getAsString(const QCString &name) const
Gets the resource data as a C string
void registerResources(std::initializer_list< Resource > resources)
Registers an array of resources
const Resource * get(const QCString &name) const
Returns a pointer to the resource object with the given name.
std::unique_ptr< Private > p
Singleton for managing resources compiled into an executable
const unsigned char * data
This is an alternative implementation of QCString.